src/hbcore/image/hbframedrawer_p.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
--- a/src/hbcore/image/hbframedrawer_p.h	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbcore/image/hbframedrawer_p.h	Mon May 03 12:48:33 2010 +0300
@@ -32,6 +32,7 @@
 
 #include <QByteArray>
 #include <QBitmap>
+#include <QPainterPath>
 
 class HbMaskableIconImpl;
 
@@ -43,7 +44,7 @@
     HbFrameDrawerPrivate(const HbFrameDrawerPrivate &other);
 
     ~HbFrameDrawerPrivate();
-
+    HbIconFormatType iconFormatType() const;
     void checkFrameParts();
     QStringList fileNameSuffixList() const;
     QSize divideSpace(HbMultiPartSizeData &data);
@@ -57,6 +58,7 @@
     void paint(QPainter *painter);
 
     void reset( bool resetFrameCount = true );
+    void resetMaskableIcon();    
     bool fillWholeRect() const;
     QString multiPartIconId() const;
     HbIconLoader::IconLoaderOptions iconLoaderOptions();
@@ -72,7 +74,7 @@
     bool hasBorderWidths() const;
     // disabled
     HbFrameDrawerPrivate& operator=(const HbFrameDrawerPrivate &other);
-
+    HbIconFormatType iconType;   
 public:
     QString frameGraphicsName;
     HbFrameDrawer::FrameType type;
@@ -116,6 +118,7 @@
     QVector<HbMaskableIconImpl *> fallbackMaskableIconList;
     HbMultiPartSizeData multiPartSizeData;
     QRect prevRect;
+    QPainterPath clipPath;
 };
 
 #endif // HBFRAMEDRAWER_P_H