X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/490bc59fbd4777f1a5041a71c1de7c5e76ff1eae..3a917e07d0fd60f656398dba24871195274b7ddd:/lib/gdi/grc.h diff --git a/lib/gdi/grc.h b/lib/gdi/grc.h index 3231aab3..f931046a 100644 --- a/lib/gdi/grc.h +++ b/lib/gdi/grc.h @@ -7,6 +7,10 @@ gPixmap aufsetzt (und damit unbeschleunigt ist). */ +// for debugging use: +//#define SYNC_PAINT +#undef SYNC_PAINT + #include #include #include @@ -73,7 +77,7 @@ struct gOpcode struct prenderText { eRect area; - std::string text; + char *text; int flags; } *renderText; @@ -181,7 +185,7 @@ class gPainter public: gPainter(gDC *dc, eRect rect=eRect()); virtual ~gPainter(); - + void setBackgroundColor(const gColor &color); void setForegroundColor(const gColor &color); @@ -248,6 +252,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; @@ -263,6 +268,7 @@ public: int getPixmap(ePtr &pm) { pm = m_pixmap; return 0; } gRGB getRGB(gColor col); virtual eSize size() { return m_pixmap->size(); } + virtual int islocked() { return 0; } }; #endif