QUOTE (geniusalz @ Feb 7 2004, 02:47 AM) |
A few things about the multiline text control: Will it behave pretty much like notepad? I guess it will need horizontal and vertical scrollbars (unless text wrapping is implemented). An easy way to navigate the text is required (shift+up/down/left/right). When switching lines, the cursor should maintain it's horizontal position (you can probably figure out how to do this; I couldn't) Copy paste can also come in handy, introducing the issue of selecting text (other shift button, possibly)
I'm saying this all because the multiline control can serve as the basis for a very useful text editor.
|
Well, some of the logic is in place for the multi-line control - the key part is the "carat" - the cursor seen in the Sinle line edit control (and what you see currently when using StringEdit in AS.
I get locational information of where the Carat is from the text drawing routines and can draw the carat as well (since the font drawing routines know exactly where to put it).
The big question is how much work it will be to add scroll bars, position the text, etc...
QUOTE |
As for the tree control, I assume the internal workings will be similar to XML structures. Could serve for an XML editor (of course it won't be needed anymore, but that's another story )
|
Yes... I might be able to create a derivitive control that looks at an XML node and provides click-access to the specific node or element.
QUOTE |
I guess listboxes can also work as menus within scripts (possible option to hide the scrollbar)
|
Well, that's what the menu will be for. The main thing for pick lists will be things like a skin picker (I plan on supporting the ability to pick which skins will be displayed, and if more than one, you will be able to see them randomly appear on each startup (only the ones you chose, though).
QUOTE |
'Visible' is one of the more useful attributes of controls IMO, and should be accessible from scripts.
|
Yes, there are, of course, generic attributes that I left off the document.
QUOTE |
Other enhancements (like captions for checkboxes) can probably wait.
|
Hmmmm... actually, it's probably a good idea to include that now. It shouldn't be that hard to throw in there.
QUOTE |
I don't really know how menus would work, but I'm assuming they will be similar to the system menu. Nothing much to say about that.
|
You can see how the menus will be set up by looking in the internal.xml - I hope to switch over to that soon.
QUOTE |
I was thinking of a download manager too, that can do preview videos, savegames (haven't looked into too much detail for that), skins, etc
And the installer is useful as well (can check on startup for archives present in the installs folder, or have the user select 'install' from the actions menu)
|
Good ideas.
QUOTE |
I guess we need dialogs for selecting files/folders, as well as some predefined messageboxes (yes/no, ok/cancel, etc)
That's about it for now
*long post, but relatively non-rambling
|
MsgeBox will have support for buttons and icons... there will also be some other 'common' dialogs like OpenFile, SelectPath, etc...