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);
55 void setDefaultBackgroundColor(const gRGB &back);
60 ePtr<gPixmap> m_pixmap[9];
61 int m_border_top, m_border_left, m_border_right, m_border_bottom;
64 borderSet m_border[bsMax];
66 gRGB m_background_color;
68 void drawBorder(gPainter &painter, const eRect &size, struct borderSet &border, int where);