X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/44433f650cd3e5f9f66253b74d194fcb01578595..494169d25068e3d3dd2dcc8b37b42d32df6935e7:/lib/gui/ewindowstyleskinned.h diff --git a/lib/gui/ewindowstyleskinned.h b/lib/gui/ewindowstyleskinned.h index 79557386..17988f65 100644 --- a/lib/gui/ewindowstyleskinned.h +++ b/lib/gui/ewindowstyleskinned.h @@ -52,7 +52,25 @@ public: void setPixmap(int bs, int bp, gPixmap &pixmap); - void setDefaultBackgroundColor(const gRGB &back); + enum { + colBackground, + colLabelForeground, + colListboxBackground, + colListboxForeground, + colListboxSelectedBackground, + colListboxSelectedForeground, + colListboxMarkedBackground, + colListboxMarkedForeground, + + colWindowTitleForeground, + colWindowTitleBackground, + colMax + }; + + void setColor(int what, const gRGB &back); + + void setTitleOffset(const eSize &offset); + void setTitleFont(gFont *fnt); private: struct borderSet @@ -63,7 +81,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); };