X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/deddfcf89d1356ae1b3782f800ad6925caf92335..c16d405383c4be419e4a88db6d02894b7cfbf74d:/lib/gdi/grc.h diff --git a/lib/gdi/grc.h b/lib/gdi/grc.h index a5974972..685b960c 100644 --- a/lib/gdi/grc.h +++ b/lib/gdi/grc.h @@ -1,6 +1,7 @@ #ifndef __grc_h #define __grc_h +// #define SYNC_PAINT /* gPainter ist die high-level version. die highlevel daten werden zu low level opcodes ueber die gRC-queue geschickt und landen beim gDC der hardwarespezifisch ist, meist aber auf einen @@ -8,8 +9,8 @@ */ // for debugging use: -//#define SYNC_PAINT -#undef SYNC_PAINT +#define SYNC_PAINT +//#undef SYNC_PAINT #include #include @@ -77,7 +78,7 @@ struct gOpcode struct prenderText { eRect area; - std::string text; + char *text; int flags; } *renderText; @@ -185,7 +186,7 @@ class gPainter public: gPainter(gDC *dc, eRect rect=eRect()); virtual ~gPainter(); - + void setBackgroundColor(const gColor &color); void setForegroundColor(const gColor &color); @@ -252,6 +253,7 @@ protected: ePtr m_pixmap; gColor m_foreground_color, m_background_color; + gRGB m_foreground_color_rgb, m_background_color_rgb; ePtr m_current_font; ePoint m_current_offset;