SweetyVD (Visual Designer)

Share your advanced PureBasic knowledge/code with the community.
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: SweetyVD (Visual Designer)

Post by blueb »

Hi Chris,

Tried both RGB values and Hex values.

I prefer Hex notation, so offering both was a pleasant surprise.

Thanks :)
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: SweetyVD (Visual Designer)

Post by ChrisR »

Updated v1.9.25
FullColorRequester integrated to saves User colors between calls. Thanks blueb :)
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: SweetyVD (Visual Designer)

Post by blueb »

Thanks Chris,

Checked out the new version with the new ColorRequester()... works great.

Now I can create a 'Palette' of Custom Colors, and apply them to a new project easily. :)
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: SweetyVD (Visual Designer)

Post by ChrisR »

Some news
The next step would be to manage the containers.
It is a really important for a Designer but it is not so simple to do.
With among others Group movements, the scrollarea and #PB_ScrollArea_X(Y), the PanelGadget with only the gadget of the active tab,..
It takes quite some time and concentration.
I do not have for now and I have other priorities too. Except other minor things, I will not do it currently.

I knew it would be difficult for me, that's why I shared in OpenSource. I thought it could be a shared project.
So be free to use the current base at your name, if someone wants to go further.
Also, to know, if I continue later, I do not know when, it will be probably closed.
To prevent it from being recovered by someone not in the same spirit or ill-intentioned.
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 794
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: SweetyVD (Visual Designer)

Post by Zebuddi123 »

Hi ChrisR Just to let you know I`m currently working on Import and export of projects, so we are not working on the same topic`s. Still not got my head around Git lol so going to endeavour to get my head around git and post forks there. As Jack posted in the forked post I think Only SweetVD should be GPL3 licence? and not the generated code. Again licensing is something I`m not to familiar with. So anyone whom is familiar with licence`s please chip in and advise !!! :)

Zebuddi. ;)
malleo, caput, bang. Ego, comprehendunt in tempore
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: SweetyVD (Visual Designer)

Post by ChrisR »

Hi Zebuddi,
Great, good initiative, have fun in the import, export of projects :)
I don't know much on github too, it's probably up to me to do somethings to open the door to others.
For the license, I guess it is not a real concern for now and as long as there is no containers management or multiple selection.
But it's probably something to think about for later, if developed and to avoid unpleasant surprises.
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: SweetyVD (Visual Designer)

Post by ChrisR »

Updated v1.9.3
. Add options: Menu, PopupMenu, ToolBar and StatusBar in the drawing area and with samples in the created code.
. Add options in the create code window: RGB or Hex color, Prefix and Suffix for variables (thanks zebuddi), Number of space or Tab for indentation.

Image
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: SweetyVD (Visual Designer)

Post by blueb »

Excellent update Chris.

The 'New Tab' feature works now on my machine.

You've added some great new features.. menus and toolbars, etc.

Keep up the great work! :D

Thanks,
blueb
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 794
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: SweetyVD (Visual Designer)

Post by Zebuddi123 »

Hi ChrisR Excellent :) gets better and better
Image

Zebuddi.
malleo, caput, bang. Ego, comprehendunt in tempore
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: SweetyVD (Visual Designer)

Post by ChrisR »

Thank you guys for your support. It's appreciated :)
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: SweetyVD (Visual Designer)

Post by ChrisR »

Without going further on containers, lack of free time, I put online some additions:
- Use a map now instead of the list and the table
- Added button to rename the active Gadget.
- Change the font of a gadget
- Option to Hide, Disable and Lock Gadgets
- Remove a gadget with the shortcut key Shift + Del and keep Del key active for text...
- Text of the buttons added in comments + Message, in the events loop of the generated code.
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: SweetyVD (Visual Designer)

Post by blueb »

:D

Thanks Chris,
I love being able to rename the defaults e.g. #Window_0 to.... #MainWindow
You've made it easy to do.. thanks.

I also like the way you added comments to the buttons. e.g. Case #Button_1 ;Quit
If you have 10 buttons, this will make it easy to see what each button was indented to do,
although my first choice is likely option #1 - rename the control.

I haven't had time to play with the other changes yet.

Keep up the great job... it's appreciated. :mrgreen:

blueb
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: SweetyVD (Visual Designer)

Post by ChrisR »

Thanks Blueb, in the changes, I forgot to write the automatic backup function, every 60 seconds, of the generated code in the CurrentDirectory()\SweetyVD_InProgress.pb file, on your idea :)
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: SweetyVD (Visual Designer)

Post by blueb »

Great Chris... now I won't lose any code if SweetyVD accidentally closes, or I get sidetracked.
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: SweetyVD (Visual Designer)

Post by blueb »

Hi Chris,

Regarding SweetyVD-1.9.5... the latest improvements have been fantastic, and have made SweetyVD much nicer to use.

Most Visual Designers (Even PB has *.pbf), allow you to open the form information where you left off. There may come a day where you wish to improve your design and it would be nice to have this information available, so you can pick up where you left off.

Do you have any ideas on how to do this on exit of SweetyVD? I think that would be a great addition.

Blueb
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Post Reply