[vdr] cMenuText
Tobias Grimm
listaccount at e-tobi.net
Mon Jan 16 19:17:06 CET 2006
Hi!
I was wondering, why cMenuText::ProcessKey returns osContinue for every
key (except kOk) that was not processed by the parent:
if (state == osUnknown) {
switch (Key) {
case kOk: return osBack;
default: state = osContinue;
}
}
return state;
Shouldn't it return osUnknown there, like the other cMenu* classes?
See e.g. cMenuEvent:
if (state == osUnknown) {
switch (Key) {
case kGreen:
case kYellow: return osContinue;
case kOk: return osBack;
default: break;
}
}
return state;
Or am I missing something?
Regards,
Tobias
More information about the vdr
mailing list