It is currently Tue Sep 29, 2020 11:13 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 165 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11
Author Message
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Feb 08, 2020 2:47 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 171
Location: France
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Feb 08, 2020 3:50 am 
Offline
User
User
User avatar

Joined: Tue Jan 28, 2020 10:17 am
Posts: 64
Wow bravo, that's great, I'm waiting to test it ... :D :)

_________________
FlatEarth addresses in PB :
Engine3D --> SkyDome
Mesh --> CreatePlane


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Feb 08, 2020 11:25 am 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10589
Location: Beyond the pale...
Very impressive.

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.


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Feb 08, 2020 2:34 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 171
Location: France
Thank you, Thank you :)
I'm glad I found the way 8)

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.

srod wrote:
Very impressive.

Does that allow you to edit a container within another container say?

On the principle Yes, multi-level should be possible
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:
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

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 :wink:


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Wed Feb 19, 2020 5:00 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 171
Location: France
srod wrote:
Very impressive.

Does that allow you to edit a container within another container say?
I've made good progress.
It is now possible to edit a container included in another container 8)
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

Image


FlatEarth wrote:
Wow bravo, that's great, I'm waiting to test it ... :D :)
Here is the first beta

IceDesign_beta1.exe

Thanks to those who test and for the feedbacks :)


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Wed Feb 19, 2020 6:13 pm 
Offline
User
User
User avatar

Joined: Tue Jan 28, 2020 10:17 am
Posts: 64
Your work is amazing! :shock: :shock: If I were you, I would have started pb best designer project right now :D
Hope your project succeeds :wink:

_________________
FlatEarth addresses in PB :
Engine3D --> SkyDome
Mesh --> CreatePlane


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Tue Feb 25, 2020 4:02 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 171
Location: France
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


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Thu Feb 27, 2020 10:20 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 171
Location: France
IceDesign has his own topic now here IceDesign

Here it is for SweetyVD which remains available and Open Source on GitHub :)


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Feb 29, 2020 1:56 pm 
Offline
New User
New User

Joined: Sat Aug 11, 2018 7:31 pm
Posts: 3
Congratulation ChrisR !!!!

I tested SweetyVD and also the new IceDesign and what you did is really promising :shock: :D

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 ?


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sun Mar 01, 2020 4:54 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 895
Location: Cuernavaca, Mexico
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. :)

_________________
- It was too lonely at the top.

Current Machine: Win 10 Pro 64-bit, Dual Xeon E5-2670, 64 gigs ram, Geforce GTX 1660 Ti w/6 gigs ram


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Mon Mar 02, 2020 4:54 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 171
Location: France
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 :wink:)
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


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Wed Mar 04, 2020 8:10 am 
Offline
User
User
User avatar

Joined: Tue Jan 28, 2020 10:17 am
Posts: 64
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 ?

_________________
FlatEarth addresses in PB :
Engine3D --> SkyDome
Mesh --> CreatePlane


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Wed Mar 04, 2020 12:47 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jan 08, 2017 10:27 pm
Posts: 171
Location: France
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Wed Mar 04, 2020 3:55 pm 
Offline
User
User
User avatar

Joined: Tue Jan 28, 2020 10:17 am
Posts: 64
ChrisR wrote:
If you have a little more time and you want to do the Insert(Extract)XMLStructure, it's with pleasure :)


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. :D

_________________
FlatEarth addresses in PB :
Engine3D --> SkyDome
Mesh --> CreatePlane


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Mon Aug 10, 2020 12:33 am 
Offline
User
User
User avatar

Joined: Thu May 30, 2019 10:02 am
Posts: 15
Location: Seattle
I'm getting this error launching on mint 20. see img :-

https://drive.google.com/file/d/1WLFEn- ... sp=sharing


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 165 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11

All times are UTC + 1 hour


Who is online

Users browsing this forum: XCoder and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye