Timeline for patches?
#16
(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.
Reply
#17
the if-then-else's arent that bad. the main advantage is its now easy to insert a new menu item inbetween existing ones. its more difficult on the windows using the switch statement since the id's are all internal.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
Timeline for patches?0