X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/deddfcf89d1356ae1b3782f800ad6925caf92335..9829ed5d56e162f9aa8d76b5644c273350f548b8:/lib/gdi/grc.h diff --git a/lib/gdi/grc.h b/lib/gdi/grc.h index a5974972..fb9e2ea1 100644 --- a/lib/gdi/grc.h +++ b/lib/gdi/grc.h @@ -77,7 +77,7 @@ struct gOpcode struct prenderText { eRect area; - std::string text; + char *text; int flags; } *renderText; @@ -138,7 +138,7 @@ struct gOpcode } parm; }; -#define MAXSIZE 1024 +#define MAXSIZE 2048 /* gRC is the singleton which controls the fifo and dispatches commands */ class gRC: public iObject, public Object @@ -185,7 +185,7 @@ class gPainter public: gPainter(gDC *dc, eRect rect=eRect()); virtual ~gPainter(); - + void setBackgroundColor(const gColor &color); void setForegroundColor(const gColor &color); @@ -252,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;