ReuniForm a free tool to create GUI.

Developed or developing a new product in PureBasic? Tell the world about it.
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

ReuniForm a free tool to create GUI.

Post by Joris »

Hi, PB people hereby I release my free tool ReuniForm.

I hoped I could put all files here on the forum. Not posibble so on my private webspace (for as long I decide...)
http://www.vdvb.be/PB%20Stuff/ReuniForm ... 20Data.zip
http://www.vdvb.be/PB%20Stuff/Reuniform.gif
Image
Inside the zip are just three files (+200kB):
ReuniForm.exe
ReuniForm Defaults.txt
ReuniForm Preset Data.txt

A program to setup a UI with all the gadgets in use by PB. There exist more of those programs, but this one, to me, is really a great pleasure to use.
It's still a work in progress, yet this version is qua functionality almost definite.
Lot of things are tested and work bug free, but the possibilities are enormous and so, your help is welcome. Also as tips or ideas.
Every comment, help or bug report should be done in this topic. I will follow this, as long as I like too and can,
but for now I need to pack my stuff for a little vacation (12 days).
I still need to complete the manual but there is already a small explaining on board for the most important things.
I will try hereby include a gif, which shows the most important part of those functionality (if not to big as it is +9MB).

I intend to make a OSX version and a Linux (Ubuntu) ... but that will all be new to me.
So patiance...

Thanks

[EDIT]Making the GIF also here visisble is better I think.[/EDIT]
Last edited by Joris on Wed Nov 11, 2020 9:31 am, edited 2 times in total.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: ReuniForm a free tool to create GUI.

Post by Saki »

Hi, i open it and see nothing, only a white plane.
I think it works not with high scalings.
地球上の平和
User avatar
HeX0R
Addict
Addict
Posts: 979
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: ReuniForm a free tool to create GUI.

Post by HeX0R »

Yes, the "Gadget Setup" Window opens up on my second screen, Saki might be right (my main screen is set to 125%)
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: ReuniForm a free tool to create GUI.

Post by Joris »

Saki wrote:Hi, i open it and see nothing, only a white plane.
I think it works not with high scalings.
Yeah, I did not include high scalings (why or when do you need that ?)
Yet the opening of the white plane is probably caused by this setup in ReuniForm :

Code: Select all

Procedure OpenWindow_0(x = 0, y = 0, width = 800, height = 700)

  CompilerIf #PB_Editor_CreateExecutable
    ExamineDesktops()
    width=DesktopWidth(0)-60
    height=DesktopHeight(0)-90
  CompilerEndIf
  
  Window_0 = OpenWindow(#PB_Any, #PB_Ignore, #PB_Ignore, width, height, "ReuniForm   ", #PB_Window_SystemMenu |#PB_Window_ScreenCentered |#PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget)
  Canvas_0 = CanvasGadget(#PB_Any,0, 0, width, height, #PB_Canvas_Keyboard | #PB_Canvas_Container) 
  
EndProcedure
What do you propose to be changed or shall I just leave the CompilerIf part here ?
That "Gadget Setup" window can be moved left or rigth, with the keys Delete and Page Dwn, hide it with Spacebar.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: ReuniForm a free tool to create GUI.

Post by Saki »

Hi, it's late, little girls like me have to go to bed quickly.
Look here in this thread, there are little sample codes that primarily show how to handle such things and what the problem is.
Try to understand these codes and you will understand the problem.

viewtopic.php?f=16&t=76032

HeXOR can be very, very helpful with your tool for many things.

Many people don't see well, so the scaling of the most common monitors used today is often set to about 125% or more.
With 4K monitors you MUST usually set 200% or more, otherwise everything is much too small.
You can't get around DPI aware with such a tool, try get familiar with it.

Best Regards Saki
地球上の平和
BarryG
Addict
Addict
Posts: 3294
Joined: Thu Apr 18, 2019 8:17 am

Re: ReuniForm a free tool to create GUI.

Post by BarryG »

Joris wrote:I did not include high scalings (why or when do you need that ?)
It's the way PCs are these days. You need to support it. The good old days of simple Windows coding are long gone (unless you don't mind looking like an amateur). Any professional app will support DPI scaling.
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: ReuniForm a free tool to create GUI.

Post by Joris »

BarryG wrote:... Any professional app will support DPI scaling.
A professional app wont be for free...
I still don't see the need for a 'form editor' to have scaling options, you just use such program to set all gadgets to the scale you wont. You can resize them too in ReuniForm, so please show me a better reason and/or example-code why you need DPI scaling in a 'form editor'.
(Remind tomorrow I'll be gone for a little time. As written above.)
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
BarryG
Addict
Addict
Posts: 3294
Joined: Thu Apr 18, 2019 8:17 am

Re: ReuniForm a free tool to create GUI.

Post by BarryG »

Joris wrote:please show me a better reason and/or example-code why you need DPI scaling in a 'form editor'.
Saki already explained why:
Saki wrote:i open it and see nothing, only a white plane.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: ReuniForm a free tool to create GUI.

Post by Saki »

Hi Joris.
You gotta change that.
Barry's absolutely right.
If you leave it like this, you can put it in the trash can, sorry.
As a precompiled exe without source it would have to be really excellent and irreplaceable to be want used at all.

Look, we made the GFX_Wizzard_BF, there's many thousands of hours of work in there.
It has also thundered and flashed when opinions were different.
Nevertheless, this software package is provided free of charge for everyone here.
Simply to support the excellent product of Fred and his Team.
And to give the users "gasoline" for their "car", which they can use for free.

Many other authors here do a great job, for free, for you and all other PB users !
Last edited by Saki on Sun Nov 01, 2020 2:18 pm, edited 1 time in total.
地球上の平和
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: ReuniForm a free tool to create GUI.

Post by Joris »

That GFX_Wizzard_BF... yeah, wooowww.

Yet... I see pictures, pictures sprites and pictures, yeah pictures, nice.
Yet, my little tool is only intended to have an easy use of the default PB gadgets.
You don't need to go studying for hours and hours to get the simplest thing created.
Not all software, people create, is intended to have many pictures, sprites or custom made gadgets.
ReuniForm is certainly not intended to be a replacement for your GFX_Wizzard_BF.
So, use it or leave it.

I will remove that DesktopWidth() scaling and probably do a #PB_Event_MaximizeWindow instead.

Thanks for stimulating (... your own GFX_Wizzard_BF).
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: ReuniForm a free tool to create GUI.

Post by Saki »

Joris wrote: Lot of things are tested and work bug free, but the possibilities are enormous and so, your help is welcome. Also as tips or ideas.
Every comment, help or bug report should be done in this topic. I will follow this, as long as I like too and can,
Thanks
You wanted a review Joris.
Now you got it and you are heavily offended.
Almost everyone who wants to explain something refers to his codes or to those of others.
You can learn a lot from the codes of others.
Maybe you should have better started with the basics of GUI creation and its requirements ?
地球上の平和
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: ReuniForm a free tool to create GUI.

Post by Joris »

Saki wrote:...Maybe you should have better started with the basics of GUI creation and its requirements ?
ReuniForm is nothing more then that. So, you didn't even test it but only just commented that white plane.

And my "but the possibilities are enormous" was ment on the combinations that can be made just with the default gadgets.
Saki wrote:...Almost everyone who wants to explain something refers to his codes or to those of others.
You can learn a lot from the codes of others.
And what do you think I was doing here for the rest of those eleven years ?
Last edited by Joris on Sat Oct 31, 2020 3:21 pm, edited 1 time in total.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: ReuniForm a free tool to create GUI.

Post by Saki »

You seriously think I can't test your code :shock:

I didn't want to comment on anything else before you change it and now guess why not.
地球上の平和
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: ReuniForm a free tool to create GUI.

Post by #NULL »

Joris wrote:Thanks for stimulating (... your own GFX_Wizzard_BF).
walbus didn't learn anything after he got banned. I wonder how long it takes for the bucket to be full again (in proper Denglish).
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: ReuniForm a free tool to create GUI.

Post by Joris »

Saki wrote:Hi, it's late, little girls like me have to go to bed quickly.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
Post Reply