Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: ProcessKey in submenues



> Klaus wrote:
> This means that cOsdMenuReadDVD::ProcessKey() already does something
> when kRed is pressed.

Yes, but why? I don't understand this.
In this situation vdr displays the submenu and the action should be
placed in the submenu, not in the main-menue. cOsdMenuReadDVD is the
cOsdMenueNew from above, I forgot to rename this after copy.
 
> > When having the same method in the main-menue, it comes as osUnknown.
> > I think this is because of cOsdMenuReadDVD::ProcessKey(Key), but why
> > is there an difference between menu and submenu?
> > 
> > b) When I remove the "deactivation" of kYellow...k0, this keys are
> > send to the main-menu.
> > Example:
> > Pressing kOk starts an script in the main menu, pressing k0 opens the
> > submenu. Pressing kOk in the submenue starts the script, although in
> > the submenu there isn't any reference to the script or th mainmenu.
> > Is there a way to deactivate this keypressdelivering?
> 
> First, please provide an example that really uses actual code.
> I'm not sure if cMenuNew is really cMenuReadDVD.
> And what does cOsdMenuReadDVD::ProcessKey() look like?

The problem is while my development of dvdselect 0.7, maybe you find
some minutes to look at the code? There everything is in one package.

Torsten
-- 
   o                                    
 _\\/\ _              "Nichts ist unmöglich. I-ron-heart."
(_)---(_)                               
                                        


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index