Page 1 of 2

ReuniForm a free tool to create GUI.

Posted: Fri Oct 30, 2020 5:31 pm
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]

Re: ReuniForm a free tool to create GUI.

Posted: Fri Oct 30, 2020 5:54 pm
by Saki
Hi, i open it and see nothing, only a white plane.
I think it works not with high scalings.

Re: ReuniForm a free tool to create GUI.

Posted: Fri Oct 30, 2020 9:19 pm
by HeX0R
Yes, the "Gadget Setup" Window opens up on my second screen, Saki might be right (my main screen is set to 125%)

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 12:23 am
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.

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 1:04 am
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

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 2:18 am
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.

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 10:37 am
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.)

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 11:07 am
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.

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 12:06 pm
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 !

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 2:11 pm
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).

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 3:03 pm
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 ?

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 3:13 pm
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 ?

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 3:18 pm
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.

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 3:24 pm
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).

Re: ReuniForm a free tool to create GUI.

Posted: Sat Oct 31, 2020 3:26 pm
by Joris
Saki wrote:Hi, it's late, little girls like me have to go to bed quickly.