2005-05-17, 03:40
(kraqh3d @ may 17 2005,02:08 Wrote:@spiff
somehow the carriage returns got all munged, as if it was double-spaced. the changelog got messed up too but that seemed as if it was in unix carriage returns. not sure what happened but i cleaned it up.
@deadken
i like how addbutton returns a button id. it's much cleaner. i'm compiling the fix now.
Quote:@deadken
i like how addbutton returns a button id. it's much cleaner. i'm compiling the fix now.
thanks.
the only problem is having all those btn_ and if then elses is a pain.
idealy, you could use a switch statement on the button id, but since these are used internally by the menu itself, i was stuck with this work around.
i was considering adding a simple "tag" member, but really, this should be added at the control base, and i wanted to touch as few files as possible.