diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-01-29 05:22:00 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-01-29 05:22:00 +0000 |
| commit | 6b7b7977a92c9a092763bf699cba85347f9f2ec6 (patch) | |
| tree | 473fbea9df91c570db54ec8e65d968e72c18a492 /lib | |
| parent | 2590d97005eecab111a4bf8476da9eb1c700654c (diff) | |
| download | enigma2-6b7b7977a92c9a092763bf699cba85347f9f2ec6.tar.gz enigma2-6b7b7977a92c9a092763bf699cba85347f9f2ec6.zip | |
- add fake "main menu"
- enable grc threading
- disable some debug
- dialog stacks
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gdi/font.cpp | 10 | ||||
| -rw-r--r-- | lib/gdi/grc.cpp | 2 | ||||
| -rw-r--r-- | lib/gui/ewindow.cpp | 2 | ||||
| -rw-r--r-- | lib/gui/ewindowstyle.cpp | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/gdi/font.cpp b/lib/gdi/font.cpp index f7c62209..187512d5 100644 --- a/lib/gdi/font.cpp +++ b/lib/gdi/font.cpp @@ -60,12 +60,12 @@ static gLookup &getColor(const gPalette &pal, const gRGB &start, const gRGB &end if (i != colorcache.end()) return i->second; gLookup &n=colorcache.insert(std::pair<fntColorCacheKey,gLookup>(key,gLookup())).first->second; - eDebug("[FONT] creating new font color cache entry %02x%02x%02x%02x .. %02x%02x%02x%02x", start.a, start.r, start.g, start.b, - end.a, end.r, end.g, end.b); +// eDebug("[FONT] creating new font color cache entry %02x%02x%02x%02x .. %02x%02x%02x%02x", start.a, start.r, start.g, start.b, +// end.a, end.r, end.g, end.b); n.build(16, pal, start, end); - for (int i=0; i<16; i++) - eDebugNoNewLine("%02x|%02x%02x%02x%02x ", (int)n.lookup[i], pal.data[n.lookup[i]].a, pal.data[n.lookup[i]].r, pal.data[n.lookup[i]].g, pal.data[n.lookup[i]].b); - eDebug(""); +// for (int i=0; i<16; i++) +// eDebugNoNewLine("%02x|%02x%02x%02x%02x ", (int)n.lookup[i], pal.data[n.lookup[i]].a, pal.data[n.lookup[i]].r, pal.data[n.lookup[i]].g, pal.data[n.lookup[i]].b); +// eDebug(""); return n; } diff --git a/lib/gdi/grc.cpp b/lib/gdi/grc.cpp index 137e92dc..a63aef92 100644 --- a/lib/gdi/grc.cpp +++ b/lib/gdi/grc.cpp @@ -1,5 +1,5 @@ // for debugging use: - #define SYNC_PAINT +// #define SYNC_PAINT #include <unistd.h> #ifndef SYNC_PAINT #include <pthread.h> diff --git a/lib/gui/ewindow.cpp b/lib/gui/ewindow.cpp index 630a8aa3..1114d258 100644 --- a/lib/gui/ewindow.cpp +++ b/lib/gui/ewindow.cpp @@ -37,7 +37,7 @@ int eWindow::event(int event, void *data, void *data2) if (!getStyle(style)) { const eSize &new_size = *static_cast<eSize*>(data); - eDebug("eWindow::evtWillChangeSize to %d %d", new_size.width(), new_size.height()); +// eDebug("eWindow::evtWillChangeSize to %d %d", new_size.width(), new_size.height()); style->handleNewSize(this, new_size); } break; diff --git a/lib/gui/ewindowstyle.cpp b/lib/gui/ewindowstyle.cpp index 64adfb58..a5ace37a 100644 --- a/lib/gui/ewindowstyle.cpp +++ b/lib/gui/ewindowstyle.cpp @@ -24,7 +24,7 @@ eWindowStyleSimple::eWindowStyleSimple() void eWindowStyleSimple::handleNewSize(eWindow *wnd, const eSize &size) { - eDebug("handle new size: %d x %d", size.width(), size.height()); +// eDebug("handle new size: %d x %d", size.width(), size.height()); eWidget *child = wnd->child(); |
