diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-24 21:44:47 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-24 21:44:47 +0200 |
commit | c47fb40c9e8b8dbbe5125119feb4db324edb6778 (patch) | |
tree | f05e917e4f668dd1d26aa238e7294c30e8dd8d73 /displaychannel.c | |
parent | 899abcd98cd91fa073a43dfd1d30c7cdd1cf22a8 (diff) | |
download | skin-flatplus-c47fb40c9e8b8dbbe5125119feb4db324edb6778.tar.gz skin-flatplus-c47fb40c9e8b8dbbe5125119feb4db324edb6778.tar.bz2 |
scroller for topbar and messages
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 ) |