Mailing List archive

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

[vdr] Re: OSD redesign in VDR 1.3.x



Clemens Kirchgatterer wrote:
> 
> Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de> wrote:
> 
> > While doing so, I was wondering if anybody (i.e. any plugin)
> > actually uses the functions
> >
> >    cOsdBase::Relocate()
> 
> i use this in the vdr-games plugin. to be able to resize the current osd
> i have a wrapper for opening a window that does something like this:
> 
>    if (screen) {
>       screen->Relocate(window, x, y, w, h);
>    } else {
>       if (!(screen = cOsd::OpenRaw(x, y))) return (-1);
>       window = screen->Create(0, 0, w, h, DEPTH);
>       screen->Show(window);
>    }
> 
> i have the hole OSD code seperated from the games implementation so all
> i need is an alternativ way to implement the window resizing.

What exactly do you need the resizing for?
Couldn't you just as well close and reopen the OSD?

Klaus


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



Home | Main Index | Thread Index