- default fonts handled in windowstyle
[enigma2.git] / lib / gui / ewindowstyle.h
index 6431c2428003f4984f005f4c61eb19796ec9a78f..f11d99de8449b7649fefc69c2d8ebd453b5cf714 100644 (file)
@@ -17,7 +17,8 @@ public:
        enum {
                styleLabel,
                styleListboxSelected,
-               styleListboxNormal
+               styleListboxNormal,
+               styleListboxMarked
        };
        
        virtual void drawFrame(gPainter &painter, const eRect &frame, int type) = 0;
@@ -26,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
@@ -45,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);
@@ -85,5 +95,6 @@ private:
        
        void drawBorder(gPainter &painter, const eSize &size, const struct borderSet &border, int where);
 };
+#endif
 
 #endif