SweetyVD (Visual Designer)
Re: SweetyVD (Visual Designer)
Very impressive.
Does that allow you to edit a container within another container say?
Does that allow you to edit a container within another container say?
I may look like a mule, but I'm not a complete ass.
Re: SweetyVD (Visual Designer)
Thank you, Thank you
I'm glad I found the way
Until the day before yesterday, I didn't really see a simple solution to containers.
But sometimes the night is a good time to give good advice.
But there's some work to be done to manage the hierarchy
With the necessary steps when I go up or down a level
And with a well-managed parent map to easily get the X-Offset and Y-Offset of the internal mouse position compared to WindowMouseX(Y).
I mean:
There are also the PanelGadgets to manage, not easy with the different tabs
The "Edit Container" mode allows to change Tab but right now, there's only one that can be drawn
For the time being, I'm gonna stay on one level...
I've got a lot of other things to do first. Other Corner Handles, Match Grid, Multi-Select and Group
And also, after, the communication with the properties interface
In short, a lot of work to do, I don't know yet if I'm going to stay open-source, Will see.
And at first, it is the family with the children's school holidays that begins
I'm glad I found the way
Until the day before yesterday, I didn't really see a simple solution to containers.
But sometimes the night is a good time to give good advice.
On the principle Yes, multi-level should be possiblesrod wrote:Very impressive.
Does that allow you to edit a container within another container say?
But there's some work to be done to manage the hierarchy
With the necessary steps when I go up or down a level
And with a well-managed parent map to easily get the X-Offset and Y-Offset of the internal mouse position compared to WindowMouseX(Y).
I mean:
Code: Select all
Case #PB_EventType_LeftButtonDown
CurrentItemXOffset = GadgetX(\ParentGadget) + GadgetX(EventGadget()) + GetGadgetAttribute(EventGadget(), #PB_Canvas_MouseX)
CurrentItemYOffset = GadgetY(\ParentGadget) + GadgetY(EventGadget()) + GetGadgetAttribute(EventGadget(), #PB_Canvas_MouseY)
Select GadgetType(\ParentGadget)
Case #PB_GadgetType_Panel
CurrentItemYOffset + GetGadgetAttribute(\ParentGadget,#PB_Panel_TabHeight)
Case #PB_GadgetType_ScrollArea
CurrentItemXOffset - GetGadgetAttribute(\ParentGadget, #PB_ScrollArea_X)
CurrentItemYOffset - GetGadgetAttribute(\ParentGadget, #PB_ScrollArea_Y)
EndSelect
The "Edit Container" mode allows to change Tab but right now, there's only one that can be drawn
For the time being, I'm gonna stay on one level...
I've got a lot of other things to do first. Other Corner Handles, Match Grid, Multi-Select and Group
And also, after, the communication with the properties interface
In short, a lot of work to do, I don't know yet if I'm going to stay open-source, Will see.
And at first, it is the family with the children's school holidays that begins
Re: SweetyVD (Visual Designer)
I've made good progress.srod wrote:Very impressive.
Does that allow you to edit a container within another container say?
It is now possible to edit a container included in another container
Not mandatory but I've limited it to 9 levels, it should be enough, I believe.
Here, 3 levels in the screenshot: Panel, ScrollArea and Panel again
Here is the first betaFlatEarth wrote:Wow bravo, that's great, I'm waiting to test it ...
IceDesign_beta1.exe
Thanks to those who test and for the feedbacks
Re: SweetyVD (Visual Designer)
Your work is amazing! If I were you, I would have started pb best designer project right now
Hope your project succeeds
Hope your project succeeds
Re: SweetyVD (Visual Designer)
I updated SweetyVD version 2.1.2 with
- DPI Aware compile option removed. It caused an Offset in Mouse position.
- Load User Colors. They are Saved now in SweetyVD.ini
- Slightly revised drawing of the Containers, ScrollArea, Panel, Frame.
I'm continuing on the new model, I've named it IceDesign. It will not be open source
Thanks FlatEarth for your encouragement, it's appreciated
- DPI Aware compile option removed. It caused an Offset in Mouse position.
- Load User Colors. They are Saved now in SweetyVD.ini
- Slightly revised drawing of the Containers, ScrollArea, Panel, Frame.
I'm continuing on the new model, I've named it IceDesign. It will not be open source
Thanks FlatEarth for your encouragement, it's appreciated
Re: SweetyVD (Visual Designer)
IceDesign has his own topic now here IceDesign
Here it is for SweetyVD which remains available and Open Source on GitHub
Here it is for SweetyVD which remains available and Open Source on GitHub
Re: SweetyVD (Visual Designer)
Congratulation ChrisR !!!!
I tested SweetyVD and also the new IceDesign and what you did is really promising
One thing is not clear for me when using SweetyVD.
I create a window with a few gadgets (Buttons, image ...).
Then I can play or create a new tab in PB.
But in case I close the application SweetyVD and I restart it, how to restart with the last window created with the buttons, image... ?
Is-it possible ?
I tested SweetyVD and also the new IceDesign and what you did is really promising
One thing is not clear for me when using SweetyVD.
I create a window with a few gadgets (Buttons, image ...).
Then I can play or create a new tab in PB.
But in case I close the application SweetyVD and I restart it, how to restart with the last window created with the buttons, image... ?
Is-it possible ?
Re: SweetyVD (Visual Designer)
Under the 'Preferences' (General Settings Area)...
I'd like a place to change the default font, rather than having to adjust each gadget's font.
(helpful with large monitor's, etc.)
Edit: Of course... Font Size different than the default would be nice as well.
I'd like a place to change the default font, rather than having to adjust each gadget's font.
(helpful with large monitor's, etc.)
Edit: Of course... Font Size different than the default would be nice as well.
- It was too lonely at the top.
System : PB 6.10 LTS (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
System : PB 6.10 LTS (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Re: SweetyVD (Visual Designer)
Hi, Late answer, I was on a WE
@filip
You can't, the loading part is not developed at all (It's open if anyone wants )
Currently, It is not possible to load or reload from an existing interface.
@blueb
You mean SetGadgetFont(#PB_Default, FontID(#Font))
Interesting to have indeed. I will have 1 to 2 busy weeks, I note to do it for a little later
@filip
You can't, the loading part is not developed at all (It's open if anyone wants )
Currently, It is not possible to load or reload from an existing interface.
@blueb
You mean SetGadgetFont(#PB_Default, FontID(#Font))
Interesting to have indeed. I will have 1 to 2 busy weeks, I note to do it for a little later
Re: SweetyVD (Visual Designer)
Perhaps this is a good idea to save and load the project :
Use of Xml library with [InsertXMLStructure] and [ExtractXMLStructure].
I've already tested for a similar project and it makes it very easy.
what is your opinion ?
Use of Xml library with [InsertXMLStructure] and [ExtractXMLStructure].
I've already tested for a similar project and it makes it very easy.
what is your opinion ?
Re: SweetyVD (Visual Designer)
Hi FlatEarth,
Yes, I think it's a good option, especially if it makes it very easy.
I haven't used XMLStructure so I don't know more yet.
Ideally, I think it would be nice to have a Lexer to be able to load the structure and create the controls from a PB source.
But importing from a pb source could be another option for later.
My concern at the moment is the time available, unfortunately it's not extendable
I'm busy the next 2 weeks and not enough time for development.
If you have a little more time and you want to do the Insert(Extract)XMLStructure, it's with pleasure
It's Open to everyone (I don't know how I'm going to do for IceDesign)
My dream would be for it to become a community project, not mine.
Yes, I think it's a good option, especially if it makes it very easy.
I haven't used XMLStructure so I don't know more yet.
Ideally, I think it would be nice to have a Lexer to be able to load the structure and create the controls from a PB source.
But importing from a pb source could be another option for later.
My concern at the moment is the time available, unfortunately it's not extendable
I'm busy the next 2 weeks and not enough time for development.
If you have a little more time and you want to do the Insert(Extract)XMLStructure, it's with pleasure
It's Open to everyone (I don't know how I'm going to do for IceDesign)
My dream would be for it to become a community project, not mine.
Re: SweetyVD (Visual Designer)
I'm sorry, I don't have enough time, like you. Because in addition to my job, I'm working on a new tool for PB IDE.ChrisR wrote: If you have a little more time and you want to do the Insert(Extract)XMLStructure, it's with pleasure
Re: SweetyVD (Visual Designer)
I'm getting this error launching on mint 20. see img :-
https://drive.google.com/file/d/1WLFEn- ... sp=sharing
https://drive.google.com/file/d/1WLFEn- ... sp=sharing