[vdr] Updating menu items from separate thread
Tobias Grimm
listaccount at e-tobi.net
Fri Oct 7 01:53:25 CEST 2005
Hi!
I have a simple menu derived from cOsdMenu which displays selectable
cOsdItem's.
Now I want to update the text of the cOsdItem's from a separate thread,
which I do basically this way:
cOsdItem* item = Get(index);
if (item)
{
item->SetText(text);
Display();
}
But this doesn't seem to work very well. Sometimes only some of the
cOsdItems are correctly shown with the new text, sometimes parts of the
menu are completly invisible until I move the selection cursor over this
area.
Any suggestions? Maybe this isn't possible at all?
Regards,
Tobias
More information about the vdr
mailing list