← API Reference Struct

asge::game::ui::ButtonDesc

#include <UI.hpp>

Collaboration

classDiagram
    class N2["asge::game::components::details::StateColors"]
    class N1["asge::game::ui::ButtonDesc"]
    class N4["asge::game::ui::TextDesc"]
    class N3["asge::graphics::RGBA_Color"]
    N2 --> N3 : m_Color
    N1 --> N2 : m_Colors
    N1 --> N4 : m_Text
    N4 --> N3 : m_Color
    click N2 href "structasge_1_1game_1_1components_1_1details_1_1StateColors.html"
    click N1 href "structasge_1_1game_1_1ui_1_1ButtonDesc.html"
    click N4 href "structasge_1_1game_1_1ui_1_1TextDesc.html"
    click N3 href "structasge_1_1graphics_1_1RGBA__Color.html"

Public Attributes

#bool m_Enabled { true }
#math::Float2 m_Position {}
#bool m_ScreenSpace { true }
#TextDesc m_Text
#std::function< void()> m_OnClick