diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-15 11:33:58 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-15 11:33:58 +0100 |
commit | 66c65beea7ac5c6dbc416b89b3a5800d31a0ecd7 (patch) | |
tree | fb0cc3da4effd5b327e51019e0122fe2940a5ef6 /menu.c | |
parent | be9a6de0ef0bb282842f57a86d00075539f4156c (diff) | |
download | vdr-66c65beea7ac5c6dbc416b89b3a5800d31a0ecd7.tar.gz vdr-66c65beea7ac5c6dbc416b89b3a5800d31a0ecd7.tar.bz2 |
Added cOsdProvider::OsdSizeChanged()
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 3.27 2015/01/15 10:31:41 kls Exp $ + * $Id: menu.c 3.28 2015/01/15 11:14:21 kls Exp $ */ #include "menu.h" @@ -4033,6 +4033,7 @@ cDisplayChannel::cDisplayChannel(int Number, bool Switched) displayChannel = Skins.Current()->DisplayChannel(withInfo); number = 0; timeout = Switched || Setup.TimeoutRequChInfo; + cOsdProvider::OsdSizeChanged(osdState); // just to get the current state positioner = NULL; channel = Channels.GetByNumber(Number); lastPresent = lastFollowing = NULL; @@ -4118,6 +4119,10 @@ cChannel *cDisplayChannel::NextAvailableChannel(cChannel *Channel, int Direction eOSState cDisplayChannel::ProcessKey(eKeys Key) { + if (cOsdProvider::OsdSizeChanged(osdState)) { + delete displayChannel; + displayChannel = Skins.Current()->DisplayChannel(withInfo); + } cChannel *NewChannel = NULL; if (Key != kNone) lastTime.Set(); |