Mailing List archive

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

[vdr] Re: OSD plugin



Andreas Schultz wrote:

>Hi Maxime,
>
>On Thursday 29 August 2002 22:17, Maxime GUILBOT wrote:
>
>>Source available at http://m.guilbot.online.fr/osdemo ( osdemo is the
>>name of the plugin for the moment)
>>
>
>I had a quick look at your code and it would appear as if you are using the 
>wrong approach.
>In MainMenuAction() you return a object derived from cOsdMenu. Such an object 
>can (and has to) use the normal menu osd functions and should not try to open 
>it's own osd. Also it should IMHO not be derived from cThread.
>
>Andreas
>
>
>
First, thank you to have a look.
I agree with you, but I return a object derived from cOsdMenu because I 
want to react with Process keys...
First, I decided to derive the cPlayer class, I could access to the OSD, 
Process key, but the screen is black..
Then, I try to return a cOsdMenu to MainMenuAction, I can process key, 
but I don't have access to the OSD, as there is the menu...
How I can solve my problem ?
Another question, I would like my menu to be started by a color button, 
or back button in normal viewing mode, how to do that without modifying 
vdr source ?
Thanks.
Maxime





Home | Main Index | Thread Index