|
StarEngine
|
#include <TextComponent.h>


Public Member Functions | |
| TextComponent (const tstring &fileName, const tstring &tag, int fontSize, bool bInFront=true) | |
| virtual | ~TextComponent () |
| void | Draw () |
| virtual void | Update (const Context &context) |
| void | SetText (const tstring &text) |
| const tstring & | GetText () const |
| void | SetColor (const Color &color) |
| const Color & | GetColor () const |
| void | SetWrapWidth (float width) |
| float | GetWrapWidth () const |
Public Member Functions inherited from star::BaseComponent | |
| BaseComponent (void) | |
| BaseComponent (Object *parent) | |
| virtual | ~BaseComponent (void) |
| void | Initialize () |
| bool | IsInitialized () const |
| Object * | GetParent () const |
| void | SetParent (Object *parent) |
| BaseScene * | GetGameScene () const |
| TransformComponent * | GetTransform () const |
Protected Member Functions | |
| virtual void | InitializeComponent () |
Additional Inherited Members | |
Protected Attributes inherited from star::BaseComponent | |
| Object * | m_pParentObject |
| bool | m_bInitialized |
| star::TextComponent::TextComponent | ( | const tstring & | fileName, |
| const tstring & | tag, | ||
| int | fontSize, | ||
| bool | bInFront = true |
||
| ) |
|
virtual |
|
virtual |
Implements star::BaseComponent.
| const Color & star::TextComponent::GetColor | ( | ) | const |
| const tstring & star::TextComponent::GetText | ( | ) | const |
| float star::TextComponent::GetWrapWidth | ( | ) | const |
|
protectedvirtual |
Implements star::BaseComponent.
| void star::TextComponent::SetColor | ( | const Color & | color | ) |
| void star::TextComponent::SetText | ( | const tstring & | text | ) |
| void star::TextComponent::SetWrapWidth | ( | float | width | ) |
|
virtual |
Implements star::BaseComponent.
1.8.5