javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtcaptionedcontrol.h
branchRCL_3
changeset 60 6c158198356e
parent 24 0fd27995241b
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
   112      * @param aSize
   112      * @param aSize
   113      */
   113      */
   114     void DoSetSize(const TSize& aSize);
   114     void DoSetSize(const TSize& aSize);
   115 
   115 
   116     /**
   116     /**
   117      * Default foreground setter.
       
   118      */
       
   119     void SetDefaultForegroundL();
       
   120 
       
   121     /**
       
   122      * Get the children of the current contained control.
   117      * Get the children of the current contained control.
   123      * @param aAllChildren returned array of children.
   118      * @param aAllChildren returned array of children.
   124      * @param aParent parent for which the children will be returned.
   119      * @param aParent parent for which the children will be returned.
   125      */
   120      */
   126     void GetRecursiveChildrenL(RSwtControlArray& aAllChildren,
   121     void GetRecursiveChildrenL(RSwtControlArray& aAllChildren,
   145 
   140 
   146     /**
   141     /**
   147      * Resource change leaving helper
   142      * Resource change leaving helper
   148      */
   143      */
   149     void SwtHandleResourceChangeL(TInt aType);
   144     void SwtHandleResourceChangeL(TInt aType);
       
   145 
       
   146     void UpdateTextColor();
   150 
   147 
   151 // From CCoeControl
   148 // From CCoeControl
   152 public:
   149 public:
   153     TInt CountComponentControls() const;
   150     TInt CountComponentControls() const;
   154     CCoeControl* ComponentControl(TInt aIndex) const;
   151     CCoeControl* ComponentControl(TInt aIndex) const;
   184     MSwtComposite* CompositeInterface() const;
   181     MSwtComposite* CompositeInterface() const;
   185     void ComputeTabListL(RSwtControlArray& aList);
   182     void ComputeTabListL(RSwtControlArray& aList);
   186     MSwtCaptionedControl* CaptionedControlInterface() const;
   183     MSwtCaptionedControl* CaptionedControlInterface() const;
   187     void UpdateDoNotDrawFlag();
   184     void UpdateDoNotDrawFlag();
   188     void SetForegroundL(const MSwtColor* aColor);
   185     void SetForegroundL(const MSwtColor* aColor);
       
   186     void HandleHighlightChange();
   189 
   187 
   190 // From ASwtControlBase
   188 // From ASwtControlBase
   191 protected:
   189 protected:
   192     const MSwtFont& DefaultFont() const;
   190     const MSwtFont& DefaultFont() const;
   193 
   191 
   259      */
   257      */
   260     TRect iInnerRect;
   258     TRect iInnerRect;
   261 
   259 
   262     /**
   260     /**
   263      * Current custom foreground.
   261      * Current custom foreground.
   264      * Not Own.
   262      * Not own.
   265      */
   263      */
   266     const MSwtColor* iForegroundColor;
   264     const MSwtColor* iCustomFg;
   267 
   265 
   268     /**
   266     /**
   269      * Can be the child or null.
   267      * Can be the child or null.
   270      */
   268      */
   271     MSwtControl* iPointerGrabbingControl;
   269     MSwtControl* iPointerGrabbingControl;