javauis/lcdui_akn/lcdui/inc/CMIDCanvasGraphicsItem.h
branchRCL_3
changeset 60 6c158198356e
parent 59 e5618cc85d74
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
    72     /**
    72     /**
    73      * Destructor.
    73      * Destructor.
    74      */
    74      */
    75     virtual ~CMIDCanvasGraphicsItem();
    75     virtual ~CMIDCanvasGraphicsItem();
    76 
    76 
    77 
       
    78 public: // From MMIDCustomComponent
    77 public: // From MMIDCustomComponent
    79 
    78 
    80     /**
    79     /**
    81      * Returns the count of controls in this custom component.
    80      * Returns the count of controls in this custom component.
    82      *
    81      *
   161      *
   160      *
   162      * @since S60 5.0
   161      * @since S60 5.0
   163      */
   162      */
   164     void HandleResourceChange(TInt aType);
   163     void HandleResourceChange(TInt aType);
   165 
   164 
       
   165     /**
       
   166      * Handles switching from foreground to background and vice versa.
       
   167      *
       
   168      * @param aForeground Flag if it switches to foreground or to backgound.
       
   169      *
       
   170      * @since S60 5.0
       
   171      */
       
   172     void HandleForeground(TBool aForeground);
       
   173 
   166 public: // From MMIDScalable
   174 public: // From MMIDScalable
   167 
   175 
   168     TBool IsScalingOn() const;
   176     TBool IsScalingOn() const;
   169 
   177 
   170 public: // From MMIDCanvasGraphicsItem
   178 public: // From MMIDCanvasGraphicsItem
   267      * not restricted to
   275      * not restricted to
   268      *
   276      *
   269      * @since S60 5.0
   277      * @since S60 5.0
   270      */
   278      */
   271     void Dispose();
   279     void Dispose();
       
   280 public: // Own methods
       
   281 
       
   282     /**
       
   283      * Removes this component from component container 
       
   284      * when its painter being disposed first (during finalization)
       
   285      */
       
   286     void CMIDCanvasGraphicsItem::DeregisterCanvasGraphicsItem();
       
   287 
   272 
   288 
   273 private: // own methods
   289 private: // own methods
   274     /**
   290     /**
   275      * This method is called when some change which can affect scaling
   291      * This method is called when some change which can affect scaling
   276      * of CanvasGraphicsItem.
   292      * of CanvasGraphicsItem.