CComponents: inherit COSDFader class

Allows a simplified implementation without prior declaration and
initialisation


Origin commit data
------------------
Branch: ni/coolstream
Commit: 53cf57876c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-30 (Fri, 30 May 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-05-30 21:53:29 +02:00
committed by vanhofen
parent 11ad899d7d
commit 800cb803c8
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@
using namespace std;
//abstract basic class CComponents
CComponents::CComponents()
CComponents::CComponents() : COSDFader(g_settings.menu_Content_alpha)
{
x = saved_screen.x = 0;
y = saved_screen.y = 0;

View File

@@ -32,13 +32,13 @@
#include <string>
#include <driver/pictureviewer/pictureviewer.h>
#include <gui/widget/icons.h>
#include <driver/fade.h>
/// Basic component class.
/*!
Basic attributes and member functions for component sub classes
*/
class CComponents
class CComponents : public COSDFader
{
private:
///pixel buffer handling, returns pixel buffer depends of given parameters