DialogDesigner2 — a tool to compose XML dialogs

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

vwidmer wrote:Can you please compile for linux?
Thanks
Unfortunately.. no:
Some key parts of DD2 are made using WinAPI customizations and I'm pretty sure linux can't even provide comparable analogues for that, so generally it looks impossible to port it and I'd suggest only to use something like Wine on linux (hope it works fine and can help)
Maybe sometime in another time

// btw, did someone tried it with Wine? just curious how that looks ^^
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
vwidmer
Enthusiast
Enthusiast
Posts: 282
Joined: Mon Jan 20, 2014 6:32 pm

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by vwidmer »

Yes I am running it with wine it looks ok though sometimes if u del something or move something the text gets a bit messed up.
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

vwidmer wrote:Yes I am running it with wine it looks ok though sometimes if u del something or move something the text gets a bit messed up.
Thanks, I'll check that post-del UI code. Also would be nice to have screenshot of those glitches

//updated: Hmm, I didn't see any obviously strange things, probably that's rather Wine problem.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

After recently using this tool I found some... "unsuitableness" ^^ So here is update to 1.0.0.7 with quite noticeable changes.
- Global: added notification about unsaved changes (optional)
- Property Editor: added tooltip attribute (using custom dd2tooltip attribute in XMl + GadgetToolTip() in code)
- Output: added/improved events for Panel, Container, ScrollArea
- Interface Tree: added menu option to refresh/redraw stuff manually (not sure how much point of it, but let it be :3)
- Interface Tree: fixed item selection bug (experienced sometime on copy-paste and other actions)
- Preview: fixed rare secondary minor and small bug with positioning
- Options: 'this' variable now is optional (as it should be from the moment it was added^^)
- Options: empty control text by default
Check if you need that@write if any new bugs/problems or just ideas
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
loulou2522
Enthusiast
Enthusiast
Posts: 495
Joined: Tue Oct 14, 2014 12:09 pm

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by loulou2522 »

Lunasole wrote:After recently using this tool I found some... "unsuitableness" ^^ So here is update to 1.0.0.7 with quite noticeable changes.
Hi lunasole,
Where is the new version, it's allways version 1.6 wich is downloadable ?
Thanks
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

loulou2522 wrote: Hi lunasole,
Where is the new version, it's allways version 1.6 wich is downloadable ?
Thanks
Hm, strange. Looks like I've forgot to upload, only updated site locally :)
Should be OK now.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

"My meditation is over". Well it doesn't concerns DD2 of course, but here also some new bytes arrived ^^
1.0.0.8 - unforseen
- Global: slowed down DD2 and raised CPU/memory usage, because of following changes and lack of optimization within them :3
- Property Editor: added missing 'text' attribute for Editor/RTF control
- Output: added XML patching for DPI-awareness (hah, nothing especial..)
- Output: greatly changed code generation, added variables for windows/controls.. now it all should be more usable out-of-box :3
- Output: greatly extended filtering to reduce amount of trash in XML/code XML
- Output: added events for TreeList control
- Output: other minor changes
- Options: ability to run code file after generation
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
loulou2522
Enthusiast
Enthusiast
Posts: 495
Joined: Tue Oct 14, 2014 12:09 pm

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by loulou2522 »

Hi lunasole,
Thanks for this new version. Didi-you plan to resize gadget and/or winow by using mouse ?
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

loulou2522 wrote:Didi-you plan to resize gadget and/or winow by using mouse ?
Hi.
No man, that look useless with dialog library as for me (as it defines UI slighty different way than regular, often here Width/Height are not even defined for gadget). Not saying that implementing that is a bit complicated ^_^

Currently I'm not planning to add anything new at all, most valuable things already added (even that DPI stuff I planned far before DD2 was created). Just going to extend existing things, also would be nice to make sure it all made fine + optimize.
Anyway tell if you have any more ideas
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by linkerstorm »

Hi.

Great and fast tool, congratulations.

Would it be possible to add an (optional?) confirmation dialog when deleting a gadget : sometimes, I mistakely choose the wrong menu option (my bad) and have no chance to go back... :?
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

linkerstorm wrote: Would it be possible to add an (optional?) confirmation dialog when deleting a gadget : sometimes, I mistakely choose the wrong menu option (my bad) and have no chance to go back... :?
Well that's simpler than adding "undo"/history ^^ Will be in next version
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

Here it is. Probably I spent too much attention on this stuff recently :3

Code: Select all

1.0.0.9
  - Global: optimizations, speeded it up and decreased program size
  - Property Editor: added fore/back color properties for items supporting them (but was too lazy to add fonts also)
  - Preview: now DPI patch changes are applied to preview window
  - Interface Tree: fixed bug with renaming (rename 'window' to 'Window' was not working)
  - Options: confirmation on item delete
  - Output: minor fixes/changes
Anyway write if some bugs or something missing
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by linkerstorm »

Thanks for that :D
highend
Enthusiast
Enthusiast
Posts: 123
Joined: Tue Jun 17, 2014 4:49 pm

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by highend »

Any chance that the "Import XML..." menu entry will
be implemented in the near future so that we will be able
to reimport saved work?
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

highend wrote:Any chance that the "Import XML..." menu entry will
be implemented in the near future so that we will be able
to reimport saved work?
Well it would be unpleasant surprise, but I already have that "Import" implemented long time ago for myself ^^
Just don't see reasons to make it public, as it will be used mostly by commercial programmers. I'm not greedy but think it is stupid to make work like this for free to someone who then probably makes money with it.
Generally I just have no ideas about that
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Post Reply