#include <AGUI2TextBox.h>
Public Member Functions | |
| AGUI2TextBox () | |
| ~AGUI2TextBox () | |
| void | Create (AGUI2Font *a_pFont, TFLOAT a_fWidth) |
| void | SetText (const TWCHAR *a_wszText) |
| void | SetScale (TFLOAT a_fScale) |
| void | SetShadow (TBOOL a_bEnabled, TUINT32 a_uiColour) |
| void | SetShadowEnabled (TBOOL a_bEnabled) |
| void | SetShadowColour (const Toshi::TColor &a_rColour) |
| void | SetShadowColour (TUINT32 a_uiColour) |
| void | SetShadowOffset (TFLOAT a_fOffsetX, TFLOAT a_fOffsetY) |
| void | SetTextAlign (AGUI2Font::TextAlign a_eTextAlign) |
| const TWCHAR * | GetText () const |
| TFLOAT | GetShadowOffsetX () const |
| TFLOAT | GetShadowOffsetY () const |
| virtual void | Render () OVERRIDE |
| virtual void | GetDimensions (TFLOAT &a_rWidth, TFLOAT &a_rHeight) OVERRIDE |
| virtual TFLOAT | GetWidth () OVERRIDE |
| virtual TFLOAT | GetHeight () OVERRIDE |
| virtual void | SetWidth (TFLOAT a_fWidth) OVERRIDE |
| virtual void | SetShadowAlpha (TFLOAT a_fAlpha) OVERRIDE |
Public Member Functions inherited from AGUI2Element | |
| AGUI2Element () | |
| virtual | ~AGUI2Element ()=default |
| virtual void | Tick (TFLOAT a_fDeltaTime) |
| virtual void | PreRender () |
| virtual void | PostRender () |
| virtual void | SetHeight (TFLOAT a_fHeight) |
| virtual void | SetDimensions (TFLOAT a_fWidth, TFLOAT a_fHeight) |
| virtual void | GetMins (TFLOAT &a_fX, TFLOAT &a_fY) |
| virtual void | GetMaxs (TFLOAT &a_fX, TFLOAT &a_fY) |
| virtual void | SetColour (TUINT32 a_uiColour) |
| virtual void | SetAlpha (TFLOAT a_fAlpha) |
| virtual void | SetFocus (TBOOL a_bFocused) |
| virtual TBOOL | IsPointInside (TFLOAT a_fX, TFLOAT a_fY) |
| void | AnchorPos (TFLOAT &a_rX, TFLOAT &a_rY, TFLOAT a_fWidth, TFLOAT a_fHeight) |
| void | PivotPos (TFLOAT &a_rX, TFLOAT &a_rY, TFLOAT a_fWidth, TFLOAT a_fHeight) |
| void | GetScreenTransform (AGUI2Transform &a_rOutTransform) |
| void | GetInvScreenTransform (AGUI2Transform &a_rOutTransform) |
| void | Show () |
| void | Hide () |
| void | SetInFront () |
| void | SetRenderBeforeChildren () |
| TBOOL | HasFlags (TUINT32 a_uiFlags) const |
| TBOOL | IsVisible () const |
| TBOOL | IsFocused () const |
| TBOOL | ShouldRenderBeforeChildren () |
| TBOOL | IsInFront () const |
| TFLOAT | GetAlpha () const |
| void | AddChildTail (AGUI2Element &a_rElement) |
| void | AddChildHead (AGUI2Element &a_rElement) |
| void | SetTranslation (TFLOAT a_fX, TFLOAT a_fY) |
| void | SetTranslation (const Toshi::TVector2 &a_rTranslation) |
| void | SetTransform (TFLOAT a_fX, TFLOAT a_fY, float a_fRotAngle=0.0f) |
| void | SetAnchor (AGUI2ATTACHMENT a_eAnchor) |
| void | SetPivot (AGUI2ATTACHMENT a_ePivot) |
| void | SetAttachment (AGUI2ATTACHMENT a_eAnchor, AGUI2ATTACHMENT a_ePivot) |
| t_PostRender | SetPostRenderCallback (t_PostRender a_cbNewCallback) |
| AGUI2Transform & | GetTransform () |
| AGUI2Element * | ChildBegin () const |
| AGUI2Element * | ChildRBegin () const |
| AGUI2Element * | GetNextChild (AGUI2Element *a_pCurrentChild) |
| AGUI2Element * | GetPrevChild (AGUI2Element *a_pCurrentChild) |
| void | RemoveSelf () |
| void | LinkChildBefore (AGUI2Element &a_rNewChildren, AGUI2Element &a_rInsertAfter) |
Public Member Functions inherited from AGUI2ElementNode | |
| AGUI2ElementNode () | |
| virtual | ~AGUI2ElementNode () |
| void | Unlink () |
| void | LinkAfter (AGUI2ElementNode &a_rNode) |
| void | LinkBefore (AGUI2ElementNode &a_rNode) |
| TBOOL | IsLinked () const |
| AGUI2ElementNode * | GetNext () const |
| AGUI2ElementNode * | GetPrev () const |
Additional Inherited Members | |
Public Types inherited from AGUI2Element | |
| using | t_PostRender = void ( * )() |
Public Attributes inherited from AGUI2ElementNode | |
| friend | AGUI2Element |
Static Public Attributes inherited from AGUI2Element | |
| static TUINT32 | s_uiVisibilityMask = 0xFFFFFFFF |
Protected Attributes inherited from AGUI2Element | |
| AGUI2Element * | m_pParent |
| AGUI2Transform | m_oTransform |
| AGUI2ElementNode | m_Children |
| AGUI2ATTACHMENT | m_eAnchor |
| AGUI2ATTACHMENT | m_ePivot |
| TFLOAT | m_fWidth |
| TFLOAT | m_fHeight |
| TUINT32 | m_uiColour |
| TUINT32 | m_eFlags |
| t_PostRender | m_cbPostRender |
| TUINT32 | m_uiVisibilityMask |
Protected Attributes inherited from AGUI2ElementNode | |
| AGUI2ElementNode * | m_pNext |
| AGUI2ElementNode * | m_pPrev |
Definition at line 7 of file AGUI2TextBox.h.
| AGUI2TextBox::AGUI2TextBox | ( | ) |
Definition at line 10 of file AGUI2TextBox.cpp.
| AGUI2TextBox::~AGUI2TextBox | ( | ) |
Definition at line 23 of file AGUI2TextBox.cpp.
Definition at line 27 of file AGUI2TextBox.cpp.
Reimplemented from AGUI2Element.
Definition at line 138 of file AGUI2TextBox.cpp.
|
virtual |
Reimplemented from AGUI2Element.
Definition at line 167 of file AGUI2TextBox.cpp.
|
inline |
Definition at line 26 of file AGUI2TextBox.h.
|
inline |
Definition at line 27 of file AGUI2TextBox.h.
|
inline |
Definition at line 25 of file AGUI2TextBox.h.
|
virtual |
Reimplemented from AGUI2Element.
Definition at line 158 of file AGUI2TextBox.cpp.
|
virtual |
Reimplemented from AGUI2Element.
Definition at line 119 of file AGUI2TextBox.cpp.
| void AGUI2TextBox::SetScale | ( | TFLOAT | a_fScale | ) |
Definition at line 81 of file AGUI2TextBox.cpp.
Definition at line 87 of file AGUI2TextBox.cpp.
|
virtual |
Reimplemented from AGUI2Element.
Definition at line 182 of file AGUI2TextBox.cpp.
| void AGUI2TextBox::SetShadowColour | ( | const Toshi::TColor & | a_rColour | ) |
Definition at line 103 of file AGUI2TextBox.cpp.
| void AGUI2TextBox::SetShadowColour | ( | TUINT32 | a_uiColour | ) |
Definition at line 98 of file AGUI2TextBox.cpp.
| void AGUI2TextBox::SetShadowEnabled | ( | TBOOL | a_bEnabled | ) |
Definition at line 93 of file AGUI2TextBox.cpp.
Definition at line 108 of file AGUI2TextBox.cpp.
| void AGUI2TextBox::SetText | ( | const TWCHAR * | a_wszText | ) |
Definition at line 35 of file AGUI2TextBox.cpp.
| void AGUI2TextBox::SetTextAlign | ( | AGUI2Font::TextAlign | a_eTextAlign | ) |
Definition at line 114 of file AGUI2TextBox.cpp.
|
virtual |
Reimplemented from AGUI2Element.
Definition at line 176 of file AGUI2TextBox.cpp.