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