|
| | Counter (tbCore::uint16 total) |
| |
| virtual | ~Counter (void) |
| |
| const tbCore::uint16 & | GetTotal (void) const |
| |
| void | SetTotal (const tbCore::uint16 total) |
| |
| const tbCore::uint16 & | GetCount (void) const |
| |
| void | SetCount (const tbCore::uint16 count) |
| |
| void | JumpDisplay (void) |
| |
| | Text (const String &text=tb_string(""), const FontSize pointSize=DefaultFontSize(), const String &fontFilepath=DefaultFontFile()) |
| |
| virtual | ~Text (void) |
| |
| String | GetText (void) const |
| |
| String | GetFont (void) const |
| |
| FontSize | GetPointSize (void) const |
| |
| float | Unstable_GetBaseline (const BaselineFrom from=BaselineFrom::Top) const |
| |
|
float | Unstable_GetScaledBaseline (const BaselineFrom from=BaselineFrom::Top) const |
| |
| void | SetText (const String &text, const tbGraphics::AnchorLocation &alignment, const FontSize pointSize, const String &fontFilepath) |
| |
| void | SetText (const String &text, const FontSize pointSize, const String &fontFilepath) |
| |
| void | SetText (const String &text, const FontSize pointSize) |
| |
| void | SetText (const String &text) |
| |
|
void | SetAlignment (const AnchorLocation &alignment) |
| |
| virtual void | SetColor (const Color &newColor) override |
| |
|
void | SetColor (const Color &topColor, const Color &bottomColor) |
| |
| const Color & | GetOutlineColor (void) const |
| |
|
void | SetOutlineColor (const Color &outlineColor) |
| |
|
float | GetOutlineThickness (void) const |
| |
|
void | SetOutlineThickness (const float thickness) |
| |
|
const Color & | GetShadowColor (void) const |
| |
|
void | SetShadowColor (const Color &shadowColor) |
| |
|
Math::Vector2 | GetShadowOffset (void) const |
| |
|
void | SetShadowOffset (const Math::Vector2 &shadowOffset) |
| |
|
void | SetShadowOffset (const float offsetX, const float offsetY) |
| |
| virtual PixelSpace | GetPixelWidth (void) const override |
| |
| virtual PixelSpace | GetPixelHeight (void) const override |
| |
| | Graphic (void) |
| |
| | Graphic (const Graphic &other)=default |
| |
| virtual | ~Graphic (void)=default |
| |
| Graphic & | operator= (const Graphic &other)=default |
| |
| bool | IsActive (void) const |
| |
| void | SetActive (const bool isActive) |
| |
| void | Update (const float deltaTime) |
| |
| bool | IsVisible (void) const |
| |
| void | SetVisible (const bool isVisible) |
| |
| void | Render (void) const |
| |
| const tbMath::Vector2 & | GetPosition (void) const |
| |
| void | SetPosition (const float x, const float y) |
| |
| void | SetPosition (const tbMath::Vector2 &position) |
| |
| const tbMath::Vector2 & | GetOrigin (void) const |
| |
| void | SetOrigin (const AnchorLocation &anchor, const float offsetX, const float offsetY) |
| |
| void | SetOrigin (const AnchorLocation &anchor, const tbMath::Vector2 &offset=tbMath::Vector2::Zero()) |
| |
| void | SetOrigin (const float originX, const float originY) |
| |
| void | SetOrigin (const tbMath::Vector2 &origin) |
| |
| float | GetDepth (void) const |
| |
| void | SetDepth (const float newDepth) |
| |
| const tbMath::Vector2 & | GetScale (void) const |
| |
| void | SetScale (const float scale) |
| |
| void | SetScale (const tbMath::Vector2 &scale) |
| |
| void | SetScale (const float scaleX, const float scaleY) |
| |
| tbMath::Angle | GetRotation (void) const |
| |
| void | SetRotation (const tbMath::Angle &angle) |
| |
| void | SetScroll (const float scroll) |
| |
| void | SetScroll (const float scrollX, const float scrollY) |
| |
| bool | IsRelative (void) const |
| |
| const Color & | GetColor (void) const |
| |
| float | GetWidth (void) const |
| |
| float | GetHeight (void) const |
| |
| float | GetScaledWidth (void) const |
| |
| float | GetScaledHeight (void) const |
| |
| tbMath::Vector2 | GetAnchorPosition (const tbGraphics::AnchorLocation &anchor, const float offsetX, const float offsetY) const |
| |
| tbMath::Vector2 | GetAnchorPosition (const tbGraphics::AnchorLocation &anchor, const tbMath::Vector2 &offset=tbMath::Vector2::Zero()) const |
| |
| bool | UnstableIsPointContained (const tbMath::Vector2 &point) const |
| |
Counter object to display a text counter that ticks up/down.