lmgl 1.0.0
A lightweight OpenGL graphics engine library written in C++
Loading...
Searching...
No Matches
lmgl::ui::Button Member List

This is the complete list of members for lmgl::ui::Button, including all inherited members.

add_child(const std::shared_ptr< UIElement > child)lmgl::ui::UIElement
Button(const std::string &label="Button", const std::string &name="Button")lmgl::ui::Button
contains_point(float x, float y, float canvas_width, float canvas_height) constlmgl::ui::Button
get_absolute_position(float canvas_width, float canvas_height) constlmgl::ui::UIElement
get_anchor() constlmgl::ui::UIElementinline
get_children() constlmgl::ui::UIElementinline
get_label() constlmgl::ui::Buttoninline
get_name() constlmgl::ui::UIElementinline
get_parent() constlmgl::ui::UIElementinline
get_position() constlmgl::ui::UIElementinline
get_render_order() constlmgl::ui::UIElementinline
get_size() constlmgl::ui::UIElementinline
get_text()lmgl::ui::Buttoninline
handle_mouse_button(float x, float y, bool pressed, float canvas_width, float canvas_height)lmgl::ui::Button
handle_mouse_move(float x, float y, float canvas_width, float canvas_height)lmgl::ui::Button
is_visible() constlmgl::ui::UIElementinline
m_anchorlmgl::ui::UIElementprotected
m_childrenlmgl::ui::UIElementprotected
m_namelmgl::ui::UIElementprotected
m_parentlmgl::ui::UIElementprotected
m_positionlmgl::ui::UIElementprotected
m_render_orderlmgl::ui::UIElementprotected
m_sizelmgl::ui::UIElementprotected
m_visiblelmgl::ui::UIElementprotected
remove_child(const std::shared_ptr< UIElement > child)lmgl::ui::UIElement
render(float canvas_width, float canvas_height, const glm::mat4 &projection) overridelmgl::ui::Buttonvirtual
set_anchor(Anchor anchor)lmgl::ui::UIElementinline
set_colors(const glm::vec4 &normal, const glm::vec4 &hovered, const glm::vec4 &pressed)lmgl::ui::Button
set_label(const std::string &label)lmgl::ui::Button
set_name(const std::string &name)lmgl::ui::UIElementinline
set_on_click(std::function< void()> callback)lmgl::ui::Buttoninline
set_position(const glm::vec2 &position)lmgl::ui::UIElementinline
set_render_order(int order)lmgl::ui::UIElementinline
set_size(const glm::vec2 &size)lmgl::ui::UIElementinline
set_text_color(const glm::vec4 &color)lmgl::ui::Button
set_visible(bool visible)lmgl::ui::UIElementinline
UIElement(const std::string &name="UIElement")lmgl::ui::UIElement
~Button() override=defaultlmgl::ui::Button
~UIElement()=defaultlmgl::ui::UIElementvirtual