diff -r 0fd27995241b -r 9ac0a0a7da70 javauis/lcdui_akn/lcdui/inc/CMIDCanvasGraphicsItem.h --- a/javauis/lcdui_akn/lcdui/inc/CMIDCanvasGraphicsItem.h Tue May 11 16:07:20 2010 +0300 +++ b/javauis/lcdui_akn/lcdui/inc/CMIDCanvasGraphicsItem.h Tue May 25 12:34:19 2010 +0300 @@ -21,8 +21,11 @@ // EXTERNAL INCLUDES #include + +// INTERNAL INCLUDES #include #include +#include // FORWARD DECLARATIONS class CMIDCanvasGraphicsItemPainter; @@ -37,7 +40,8 @@ NONSHARABLE_CLASS(CMIDCanvasGraphicsItem) : public CBase, public MMIDCanvasGraphicsItem, - public MMIDCustomComponent + public MMIDCustomComponent, + public MMIDScalable { public: // Type definitions @@ -50,8 +54,8 @@ CMIDUtils* iUtils; TCtorParams::TCtorParams() : - iPainterHandle(NULL), - iUtils(NULL) {} + iPainterHandle(NULL), + iUtils(NULL) {} }; public: // Constructors and destructor @@ -143,6 +147,12 @@ return EFalse; } +public: // From MMIDScalable + + TBool IsScalingOn() const; + +public: //Own methods + /** * Handles fullscreen state of parent Canvas. * @@ -284,6 +294,12 @@ // The shared CMIDUtils instance. Not owned. CMIDUtils* iUtils; + + // A non-scaled size of item. Needed by scaling. + TSize iNonScaledSize; + + // A non-scaled position of item. Needed by scaling. + TPoint iNonScaledPosition; }; #endif // CMIDCANVASGRAPHICSITEM_H