mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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;
|
using namespace std;
|
||||||
|
|
||||||
//abstract basic class CComponents
|
//abstract basic class CComponents
|
||||||
CComponents::CComponents()
|
CComponents::CComponents() : COSDFader(g_settings.menu_Content_alpha)
|
||||||
{
|
{
|
||||||
x = saved_screen.x = 0;
|
x = saved_screen.x = 0;
|
||||||
y = saved_screen.y = 0;
|
y = saved_screen.y = 0;
|
||||||
|
@@ -32,13 +32,13 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <driver/pictureviewer/pictureviewer.h>
|
#include <driver/pictureviewer/pictureviewer.h>
|
||||||
#include <gui/widget/icons.h>
|
#include <gui/widget/icons.h>
|
||||||
|
#include <driver/fade.h>
|
||||||
/// Basic component class.
|
/// Basic component class.
|
||||||
/*!
|
/*!
|
||||||
Basic attributes and member functions for component sub classes
|
Basic attributes and member functions for component sub classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class CComponents
|
class CComponents : public COSDFader
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
///pixel buffer handling, returns pixel buffer depends of given parameters
|
///pixel buffer handling, returns pixel buffer depends of given parameters
|
||||||
|
Reference in New Issue
Block a user