1 #ifndef __lib_gui_ewindowstyleskinned_h
2 #define __lib_gui_ewindowstyleskinned_h
4 #include <lib/gui/ewindowstyle.h>
6 class eWindowStyleSkinned: public eWindowStyle
8 DECLARE_REF(eWindowStyleSkinned);
10 eWindowStyleSkinned();
11 void handleNewSize(eWindow *wnd, eSize &size, eSize &offset);
12 void paintWindowDecoration(eWindow *wnd, gPainter &painter, const std::string &title);
13 void paintBackground(gPainter &painter, const ePoint &offset, const eSize &size);
14 void setStyle(gPainter &painter, int what);
15 void drawFrame(gPainter &painter, const eRect &frame, int what);
16 RESULT getFont(int what, ePtr<gFont> &font);
36 bpBottomRight = 0x100,
53 void setPixmap(int bs, int bp, gPixmap &pixmap);
60 colListboxSelectedBackground,
61 colListboxSelectedForeground,
62 colListboxMarkedBackground,
63 colListboxMarkedForeground,
67 void setColor(int what, const gRGB &back);
72 ePtr<gPixmap> m_pixmap[9];
73 int m_border_top, m_border_left, m_border_right, m_border_bottom;
76 borderSet m_border[bsMax];
80 void drawBorder(gPainter &painter, const eRect &size, struct borderSet &border, int where);