aboutsummaryrefslogtreecommitdiff
path: root/lib/gdi/fb.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2004-06-02 01:11:59 +0000
committerFelix Domke <tmbinc@elitedvb.net>2004-06-02 01:11:59 +0000
commit3bad22d5566624804a73b3791980bab2d84c8266 (patch)
treeeb99b584b542cdc2ab264d8439ba771a117f0cb2 /lib/gdi/fb.cpp
parentd6f6602d7cea3a7899990fe79216af7d98d05917 (diff)
downloadenigma2-3bad22d5566624804a73b3791980bab2d84c8266.tar.gz
enigma2-3bad22d5566624804a73b3791980bab2d84c8266.zip
- disabled gui for a moment
- beginning of GDI2 work (region/fill/line works) - fixed smartptr self assignment - finally replaced "int ref" by something with a constructor
Diffstat (limited to 'lib/gdi/fb.cpp')
-rw-r--r--lib/gdi/fb.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/gdi/fb.cpp b/lib/gdi/fb.cpp
index 52d950a6..4b8a56c9 100644
--- a/lib/gdi/fb.cpp
+++ b/lib/gdi/fb.cpp
@@ -29,9 +29,6 @@ fbClass::fbClass(const char *fb)
cmap.blue=blue;
cmap.transp=trans;
- int state=0;
- eConfig::getInstance()->getKey("/ezap/osd/showConsoleOnFB", state);
-
fd=open(fb, O_RDWR);
if (fd<0)
{
@@ -62,7 +59,7 @@ fbClass::fbClass(const char *fb)
goto nolfb;
}
- showConsole(state);
+ showConsole(1);
return;
nolfb:
lfb=0;
@@ -86,8 +83,8 @@ int fbClass::showConsole(int state)
int fbClass::SetMode(unsigned int nxRes, unsigned int nyRes, unsigned int nbpp)
{
- screeninfo.xres_virtual=screeninfo.xres=nxRes;
- screeninfo.yres_virtual=screeninfo.yres=nyRes;
+/* screeninfo.xres_virtual=screeninfo.xres=nxRes;
+ screeninfo.yres_virtual=screeninfo.yres=nyRes; */
screeninfo.height=0;
screeninfo.width=0;
screeninfo.xoffset=screeninfo.yoffset=0;