mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
fb_generic: add fb_name member to identify fb implementation
This commit is contained in:
committed by
M. Liebmann
parent
648c00f26a
commit
a58193dd56
@@ -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