Hello All!
How would I go about writing an EditBox class?
I'd like to be able to make it simply a class that has "events" (keypresses)
passed to a handling function, so that I can have more than one thing on the
screen at once, with one of them having focus.
I've tried a lot of things, from doubly-linked lists of String classes to
Vectors of char... :/
I've looked through snippets, but to no avail..
Can anyone give my any hints/code?
I'm using DJGPP, and would also like to be able to use it on other versions
of GCC (ie Linux, etc), so I'd prefer not to have many OS-specific things :)
Christopher
E-Mail: chris@sandy.force9.co.uk
--- FMailX32 1.22
---------------
* Origin: Death Butler BBS, +44-1582-620141, 24 Hours (2:257/135)
|