- default fonts handled in windowstyle
[enigma2.git] / lib / gui / ewindowstyle.h
index 0014bfa46f201c284b6d8637340dc0f7a7126fb8..f11d99de8449b7649fefc69c2d8ebd453b5cf714 100644 (file)
@@ -27,8 +27,15 @@ public:
                frameButton,
                frameListboxEntry
        };
+       
+       enum {
+               fontStatic,
+               fontButton,
+               fontTitlebar
+       };
+       
+       virtual RESULT getFont(int what, ePtr<gFont> &font) = 0;
        virtual ~eWindowStyle() = 0;
-
 };
 
 class eWindowStyleSimple: public eWindowStyle
@@ -46,8 +53,10 @@ public:
        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);
@@ -86,5 +95,6 @@ private:
        
        void drawBorder(gPainter &painter, const eSize &size, const struct borderSet &border, int where);
 };
+#endif
 
 #endif