mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
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:
@@ -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;
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user