Mailing List archive

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

[vdr] Re: vdr 1.3.10 Plugin cMenuEdit items



It is that, thanks again!

-----Message d'origine-----
De : vdr-bounce@linuxtv.org [mailto:vdr-bounce@linuxtv.org]De la part de
Maynard Cedric
Envoye : lundi 7 juin 2004 17:09
A : vdr@linuxtv.org
Objet : [vdr] Re: vdr 1.3.10 Plugin cMenuEdit items


Thanks very much Klauss,
Yes, I talk about that menu, and I miss the second option of the cOsdMenu
call!
I tri this rigth now, thanks again

Ced

-----Message d'origine-----
De : vdr-bounce@linuxtv.org [mailto:vdr-bounce@linuxtv.org]De la part de
Klaus Schmidinger
Envoye : lundi 7 juin 2004 16:51
A : vdr@linuxtv.org
Objet : [vdr] Re: vdr 1.3.10 Plugin cMenuEdit items


Maynard Cedric wrote:
>
> Hello all,
>
> I start writing a plugin for vdr, and try to use some of the cMenuEdit
items
> But while in vdr 1.3.6 the
> Add(new cMenuEditStrItem(tr("Test"),test,sizeof(test),*allowed));
> works perfectly, in vdr 1.3.{8,9,10} this only work in the Setup page on
the
> plugin
> In the Main menu entry, this only shows "Test : " but not the value of the
> string (while i still can change that value, because when I press right
key,
> the Red key becomes "ABC/abc", green "Insert" etc etc)
>
> Do I need to set a color or something else, or is this just a bug (due to
> the skin implementation I guess)

How do you get a cMenuEditStrItem into the main menu?

Maybe you are talking about a menu that opens when the user
selects your plugin from the main menu? In that case you need to make sure
that your menu's contructor calls cOsdMenu("Title", 20), for instance, where
the second parameter is the position where the second column (which holds
the
editable value) shall begin.

Klaus








Home | Main Index | Thread Index