X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/44433f650cd3e5f9f66253b74d194fcb01578595..3a0c7bdb992181e4cbdbf09d9f7d14c13c911659:/lib/gui/ewindowstyleskinned.h diff --git a/lib/gui/ewindowstyleskinned.h b/lib/gui/ewindowstyleskinned.h index 79557386..1c16a7b5 100644 --- a/lib/gui/ewindowstyleskinned.h +++ b/lib/gui/ewindowstyleskinned.h @@ -52,7 +52,27 @@ public: void setPixmap(int bs, int bp, gPixmap &pixmap); - void setDefaultBackgroundColor(const gRGB &back); + enum { + colBackground, + colLabelForeground, + colListboxBackground, + colListboxForeground, + colListboxSelectedBackground, + colListboxSelectedForeground, + colListboxMarkedBackground, + colListboxMarkedForeground, + colListboxMarkedAndSelectedBackground, + colListboxMarkedAndSelectedForeground, + + colWindowTitleForeground, + colWindowTitleBackground, + colMax + }; + + void setColor(int what, const gRGB &back); + + void setTitleOffset(const eSize &offset); + void setTitleFont(gFont *fnt); private: struct borderSet @@ -63,7 +83,10 @@ private: borderSet m_border[bsMax]; - gRGB m_background_color; + gRGB m_color[colMax]; + + eSize m_title_offset; + ePtr m_fnt; void drawBorder(gPainter &painter, const eRect &size, struct borderSet &border, int where); };