Mailing List archive

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

[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