Page 4 of 6
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Sat Jul 22, 2017 1:29 am
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 ^^
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Sat Jul 22, 2017 1:45 am
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.
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Sat Jul 22, 2017 1:52 am
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.
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Wed Jul 26, 2017 5:46 pm
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
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Sat Jul 29, 2017 9:53 am
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
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Sat Jul 29, 2017 4:21 pm
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.
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Tue Aug 01, 2017 3:28 am
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
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Wed Aug 02, 2017 7:18 am
by loulou2522
Hi lunasole,
Thanks for this new version. Didi-you plan to resize gadget and/or winow by using mouse ?
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Wed Aug 02, 2017 3:05 pm
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
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Wed Aug 09, 2017 10:02 am
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...

Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Wed Aug 09, 2017 1:19 pm
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
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Thu Aug 10, 2017 5:09 pm
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
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Fri Aug 11, 2017 9:08 pm
by linkerstorm
Thanks for that

Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Sat Aug 12, 2017 9:49 pm
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?
Re: DialogDesigner2 — a tool to compose XML dialogs
Posted: Sat Aug 12, 2017 11:08 pm
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