mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
fb_generic: add fb_name member to identify fb implementation
Origin commit data
------------------
Commit: a58193dd56
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
This commit is contained in:
committed by
Michael Liebmann
parent
4fc79052ea
commit
96e1de6a36
@@ -4,7 +4,6 @@
|
|||||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||||
2003 thegoodguy
|
2003 thegoodguy
|
||||||
|
|
||||||
mute icon handling from tuxbox project
|
|
||||||
Copyright (C) 2009-2012,2017 Stefan Seyfried <seife@tuxboxcvs.slipkontur.de>
|
Copyright (C) 2009-2012,2017 Stefan Seyfried <seife@tuxboxcvs.slipkontur.de>
|
||||||
mute icon & info clock handling
|
mute icon & info clock handling
|
||||||
Copyright (C) 2013 M. Liebmann (micha-bbg)
|
Copyright (C) 2013 M. Liebmann (micha-bbg)
|
||||||
@@ -79,6 +78,7 @@ inline unsigned int make16color(uint16_t r, uint16_t g, uint16_t b, uint16_t t,
|
|||||||
CFrameBuffer::CFrameBuffer()
|
CFrameBuffer::CFrameBuffer()
|
||||||
: active ( true )
|
: active ( true )
|
||||||
{
|
{
|
||||||
|
fb_name = "generic framebuffer";
|
||||||
iconBasePath = "";
|
iconBasePath = "";
|
||||||
available = 0;
|
available = 0;
|
||||||
cmap.start = 0;
|
cmap.start = 0;
|
||||||
@@ -120,7 +120,7 @@ CFrameBuffer* CFrameBuffer::getInstance()
|
|||||||
|
|
||||||
if(!frameBuffer) {
|
if(!frameBuffer) {
|
||||||
frameBuffer = new CFrameBuffer();
|
frameBuffer = new CFrameBuffer();
|
||||||
printf("[neutrino] frameBuffer Instance created\n");
|
printf("[neutrino] %s Instance created\n", frameBuffer->fb_name);
|
||||||
} else {
|
} else {
|
||||||
//printf("[neutrino] frameBuffer Instace requested\n");
|
//printf("[neutrino] frameBuffer Instace requested\n");
|
||||||
}
|
}
|
||||||
|
@@ -317,6 +317,7 @@ class CFrameBuffer : public sigc::trackable
|
|||||||
void doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; }
|
void doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; }
|
||||||
void blit(void) {}
|
void blit(void) {}
|
||||||
sigc::signal<void> OnAfterSetPallette;
|
sigc::signal<void> OnAfterSetPallette;
|
||||||
|
const char *fb_name;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user