|
|
|
class MCoeControlBackground;
Interface to be used if a control elects to be a background drawer.
Parent controls can elect to take responsibility for drawing the background for their child controls. To achieve this, they
should aggregate an object that implements this interface. CCoeControl::SetBackground(const MCoeControlBackground *) accepts the object and sets it as the background drawer
Defined in MCoeControlBackground:
Draw(CWindowGc &,const CCoeControl &,const TRect &)constDraw the background for a given control. The text drawer that shall be used to d...GetTextDrawer(CCoeTextDrawerBase *&,const CCoeControl *)constThis function retrieves the text drawer associated with the background. MCoeControlBackground()MCoeControlBackground_Reserved1()MCoeControlBackground_Reserved2()MCoeControlBackground_Reserved3()MCoeControlBackground_Reserved4()MCoeControlBackground_Reserved5()virtual void Draw(CWindowGc &aGc, const CCoeControl &aControl, const TRect &aRect) const=0;
Draw the background for a given control. The text drawer that shall be used to draw text on the specific background can be
fetched through the MCoeControlBackground::GetTextDrawer(CCoeTextDrawerBase *&,const CCoeControl *)const method.
|
IMPORT_C virtual void GetTextDrawer(CCoeTextDrawerBase *&aTextDrawer, const CCoeControl *aDrawingControl) const;
This function retrieves the text drawer associated with the background.
|
private: IMPORT_C virtual void MCoeControlBackground_Reserved5();