#include <mw/coetextdrawer.h>
class CCoePlainTextDrawer : public CCoeTextDrawerBase |
Public Member Enumerations | |
---|---|
enum | anonymous { ETypeId } |
Public Member Functions | |
---|---|
IMPORT_C CCoePlainTextDrawer * | New(TRgb) |
virtual IMPORT_C void | SetTextColor(TRgb) |
virtual IMPORT_C TRgb | TextColor() |
Protected Member Functions | |
---|---|
virtual IMPORT_C TTypeUid::Ptr | MopSupplyObject(TTypeUid) |
This is a basic text drawer without any text effects. The default text drawer that can be used if no other (device specific) text drawers has been added to the system.
Enumerator | Value | Description |
---|---|---|
ETypeId | 0x1020831A |
IMPORT_C TTypeUid::Ptr | MopSupplyObject | ( | TTypeUid | aId | ) | [protected, virtual] |
Reimplemented from MObjectProvider::MopSupplyObject(TTypeUid)
This function is defined by the MObjectProvider class. It allows the actual type of text drawer to be identified.
See also: MObjectProvider
Parameters | |
---|---|
aId | The type of the desired object. |
IMPORT_C CCoePlainTextDrawer * | New | ( | TRgb | aTextColor | ) | [static] |
Created a new plain text drawer on the heap. This shall typically be done in the CCoeControl::GetTextDrawer() method, or better, in the constructor of the owner of the text drawer.
Do not call this method from within a CCoeControl::Draw() method. If all you want is access to a text drawer, call CCoeControl::TextDrawer().
Parameters | |
---|---|
aTextColor | The color that will be used to draw text. |
IMPORT_C void | SetTextColor | ( | TRgb | aTextColor | ) | [virtual] |
Reimplemented from CCoeTextDrawerBase::SetTextColor(TRgb)
IMPORT_C TRgb | TextColor | ( | ) | const [virtual] |
Reimplemented from CCoeTextDrawerBase::TextColor()const