Use new class to fade. Old code commented for reference until confirmed no changes in behavior

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1951 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: eed6f509a7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-12-06 (Tue, 06 Dec 2011)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2011-12-06 15:13:04 +00:00
parent 56e65f1137
commit 491bfd6c9b
2 changed files with 59 additions and 18 deletions

View File

@@ -38,6 +38,7 @@
#include <driver/rcinput.h>
#include <driver/framebuffer.h>
#include <driver/fontrenderer.h>
#include <driver/fade.h>
#include <system/settings.h>
#include "widget/menue.h"
#include <gui/widget/progressbar.h>
@@ -96,7 +97,8 @@ class CInfoViewer
char aspectRatio;
uint32_t sec_timer_id;
uint32_t fadeTimer;
//uint32_t fadeTimer;
COSDFader fader;
int time_left_width;
int time_dot_width;
@@ -151,7 +153,8 @@ class CInfoViewer
void showRadiotext();
void killRadiotext();
void showInfoFile();
void loop(int fadeValue, bool show_dot ,bool fadeIn);
//void loop(int fadeValue, bool show_dot ,bool fadeIn);
void loop(bool show_dot);
std::string eventname;
void paintshowButtonBar();
void show_current_next(bool new_chan, int epgpos);