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
borderSet m_border[bsMax];
- gRGB m_background_color;
+ gRGB m_color[colMax];
+
+ eSize m_title_offset;
+ ePtr<gFont> m_fnt;
void drawBorder(gPainter &painter, const eRect &size, struct borderSet &border, int where);
};