Common interface for Labels. More...
#include <CCProtocols.h>
Public Member Functions | |
virtual void | setString (const char *label)=0 |
Sets a new label using a string. More... | |
virtual const char * | getString () const =0 |
Returns the string that is currently being used in this label. More... | |
Common interface for Labels.
|
pure virtual |
Returns the string that is currently being used in this label.
Implemented in LabelBMFont, TextFieldTTF, LabelTTF, Label, and LabelAtlas.
|
pure virtual |
Sets a new label using a string.
label | A null terminated string |
Implemented in LabelBMFont, TextFieldTTF, LabelTTF, LabelAtlas, and Label.