frameButton,
frameListboxEntry
};
+
+ enum {
+ fontStatic,
+ fontButton,
+ fontTitlebar
+ };
+
+ virtual RESULT getFont(int what, ePtr<gFont> &font) = 0;
virtual ~eWindowStyle() = 0;
-
};
class eWindowStyleSimple: public eWindowStyle
void paintBackground(gPainter &painter, const ePoint &offset, const eSize &size);
void setStyle(gPainter &painter, int what);
void drawFrame(gPainter &painter, const eRect &frame, int what);
+ RESULT getFont(int what, ePtr<gFont> &font);
};
+#if 0
class eWindowStyleSkinned: public eWindowStyle
{
DECLARE_REF(eWindowStyleSkinned);
void drawBorder(gPainter &painter, const eSize &size, const struct borderSet &border, int where);
};
+#endif
#endif