geniusalz
Feb 17 2004, 04:43 AM
Very early preview (only makes buttons), check it out
dialog maker previewBTW, requires .NET framework (sorry!)
EDIT:
Dialog maker a2
Yuyu
Feb 17 2004, 04:55 AM
Umm, I put two buttons on the screen named caption after deleting the first one I made, and it outputted this as the code. Is this correct, seems like alot of code for two dialog buttons ? Awsome work though none the less...
| CODE |
<Control Type="Button" CtrlID="102"> <Rect T="117" L="108" B="149" R="199" /> <Text>Caption</Text> </Control> <Control Type="Button" CtrlID="103"> <Rect T="169" L="111" B="201" R="198" /> <Text>Caption</Text> </Control> <Control Type="Button" CtrlID="104"> <Rect T="201" L="225" B="201" R="225" /> <Text>Caption</Text> </Control> <Control Type="Button" CtrlID="105"> <Rect T="191" L="212" B="191" R="212" /> <Text>Caption</Text> </Control> <Control Type="Button" CtrlID="106"> <Rect T="172" L="312" B="172" R="312" /> <Text>Caption</Text> </Control> <Control Type="Button" CtrlID="107"> <Rect T="143" L="275" B="143" R="275" /> <Text>Caption</Text> </Control> <Control Type="Button" CtrlID="108"> <Rect T="50" L="45" B="50" R="45" /> <Text>Caption</Text> </Control>
OnEvent EventHandler LoadDialogFromFile MyDialog TestDialog.xml ExecuteUIOBject MyDialog Quit :EventHandler Switch %UITriggerID% Case 102 EndCase Case 103 EndCase Case 104 EndCase Case 105 EndCase Case 106 EndCase Case 107 EndCase Case 108 EndCase |
geniusalz
Feb 17 2004, 04:58 AM
Oh, it makes a button whenever you click on the gray box (it's very small so you can't see it)
I guess that's why you get duplicates.
So don't click on the gray box, but drag to make buttons instead.
And check out the right-click menu too.
Yuyu
Feb 17 2004, 04:59 AM
I now finally understand how this dialog stuff works completely, just because of right clicking and adding an event to the on click window, and reading the generated code... Awsome... Now then if I could get in the right frame of mind to write some actionscripts here... But I have a mid-term in 7 hours, so I should probably continue studying...
Yuyu
Feb 17 2004, 05:04 AM
Oh and yes I see what you mean now by just clickin in the area it makes a box, I thought you had to drag to make the box and clicking in the area would not effect it... Anyways I see you now know how to make a program resize the window it is in (minimize, maximize) and dude when you get this thing all put together I may actually be able to contribute some stuff....
G-Dub awsome work...
geniusalz
Feb 17 2004, 05:08 AM
Well, REAL resizing would be to resize the stuff inside it as well (the code box and stuff)
geniusalz
Feb 17 2004, 11:10 PM
*bump*
The lack of feedback is very ...
Maybe I should work on it instead of saying this, but what the hell.
BenJeremy
Feb 17 2004, 11:11 PM
I'll check it out in a minute...
BenJeremy
Feb 17 2004, 11:15 PM
OK, looks very cool so far. I like the event handler stuff.
BTW: Button text is usually centered.

(I know it's a pre-alpha preview, but you wanted feedback!!)
I'm considering adding "specials" ($var$) for events. That might make things a little easier.
geniusalz
Feb 17 2004, 11:21 PM
| QUOTE (BenJeremy @ Feb 17 2004, 08:15 PM) |
| I'm considering adding "specials" ($var$) for events. That might make things a little easier. |
What's that for?
BenJeremy
Feb 17 2004, 11:59 PM
| QUOTE (geniusalz @ Feb 17 2004, 08:21 PM) |
| QUOTE (BenJeremy @ Feb 17 2004, 08:15 PM) | | I'm considering adding "specials" ($var$) for events. That might make things a little easier. |
What's that for?
|
Like $UIEVT_CLICK$ to return constants for the events
geniusalz
Feb 22 2004, 03:16 AM
Dialog maker a2Another version, more stuff done. Textbox (aka editsingle or something), Checkbox, radiobutton, script editor (maybe that was in the previous version too

), grid for dialog layout, etc.
Oh, and REAL resizing now

. It's so easy to do in C# .NET
So check it out everyone, and this time don't skimp on feedback
flattspott
Feb 22 2004, 02:28 PM
Cool yo, checking out now.
flattspott
Feb 22 2004, 02:34 PM
Looks great. But I see the main dialog form part is still absent. Are you just using the entire screen as the default dialog size?
And the script editior thing is pretty slick.
geniusalz
Feb 22 2004, 06:14 PM
Well, this time I'm working from the ground up, so the main dialog editor comes in last. The dialog (box with gray bg) is resizable (using the corners), but you can't create new dialogs, and if you 'lose' a corner outside of the frame, you can't get it back.
Yuyu
Feb 22 2004, 06:21 PM
SO what is the last button of the dialog toolbar that pops up for (the one that looks like a little logo) Oh and why does the dialog toolbar "pop up" why don't you build it into the border of the inteface on a side bar such as Fireworks, Paint, etc...
flattspott
Feb 22 2004, 06:29 PM
My guess is that's gonna the image control
geniusalz
Feb 22 2004, 06:33 PM
Yeah, it's the image control. As for the popup, I wanted everything to be self-contained (its just simpler that way. I've had enough trouble with skinner otherwise) I didn't want the toolbar to always stay up either, hence the popup.
geniusalz
Feb 22 2004, 09:09 PM
Whoops, forgot to add 'generate code' for the controls other than 'button'
The code is in there (right-click 'Show tag' works), it just won't show up in the box.
Yuyu
Feb 22 2004, 09:21 PM
Hmm well in my now hour of use of it, I have found the popup toolbar unobtrusive, but annoying. I guess its just on a visual perception basis for me, but I like always having the"tools" I need in sight. But, a minor annoyance it is, and to others probably not one at all. In all though, I like the progress and where this is going simply because as I said before, I actually understand how the controls are going to be controlled by an actionscript when looking at the generated code, alongside the testdialog. THanks for the sweet alpha tool G-Dub, hope you get this thing fianlized sometime so I can maybe, as I said before, actually contribute something program/actionscript wise to MXM.
flattspott
Feb 24 2004, 07:31 PM
One thing that bugs me is the how nothing is centered on the screen (the app)
Maybe you could make it so all the forms are centered.
geniusalz
Feb 24 2004, 07:44 PM
OK, I'll do that when I polish the interface up.
flattspott
Feb 29 2004, 01:08 AM
Another idea for you geniusalz. On the Show Tag stuff. Maybe you could change it from a messagebox to a form with the tag inside a Text Box so you can copy (Right Click)the tag from right there if need be.
geniusalz
Feb 29 2004, 02:16 AM
That was just for testing anyway
But I'll consider keeping it as a textbox
boomboom
Mar 4 2004, 03:52 AM
| QUOTE (geniusalz @ Feb 22 2004, 12:16 AM) |
Oh, and REAL resizing now . It's so easy to do in C# .NET |
Very nice. I'm getting an error if I right-click on an edit box and select Events -> OnClick.
You wrote this in C#? That's what I'm writing the ConvertToMXM app in. It's nice to know our code's compatible for code reuse.
How'd you handle the resize stuff? Do you use the framework, or did you roll your own?
geniusalz
Mar 4 2004, 04:01 AM
Yeah, I fixed the error
I did the resize stuff myself for the custom controls. Four picboxes (one at each corner) in the control that change color on mouseenter, and when dragged they resize the control.
If you want to have a look at it, pm me
As for the resizing of controls while resizing windows (such as the script editor window), that's from the .net framework (that's what I was talking about there), using the 'Anchor' property.
I'm a little busy nowadays, so can't work on it much (next week I think I'll be free most of the days)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.