diff options
Diffstat (limited to 'displaychannel.c')
-rw-r--r-- | displaychannel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/displaychannel.c b/displaychannel.c index af8c34b7..3060b9f8 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -83,6 +83,9 @@ cFlatDisplayChannel::cFlatDisplayChannel(bool WithInfo) { chanInfoTopPixmap->Fill( clrTransparent ); scrollers.SetOsd(osd); + scrollers.SetScrollStep( Config.ScrollerStep ); + scrollers.SetScrollDelay( Config.ScrollerDelay ); + scrollers.SetScrollType( Config.ScrollerType ); DecorBorderDraw(Config.decorBorderChannelSize, Config.decorBorderChannelSize+channelHeight - height, channelWidth, heightTop + heightBottom + Config.decorProgressChannelSize+marginItem*2, @@ -93,6 +96,8 @@ cFlatDisplayChannel::~cFlatDisplayChannel() { if( !doOutput ) return; if (osd) { + scrollers.Clear(); + if( chanInfoTopPixmap ) osd->DestroyPixmap(chanInfoTopPixmap); if( chanInfoBottomPixmap ) |