class

PointClickEngine::UI::GUIManager

Inherits Reference < Object

Constructors

Instance methods

add_button(id : String, text : String, position : Raylib::Vector2, size : Raylib::Vector2, &callback : -> Nil)
Source
add_label(id : String, text : String, position : Raylib::Vector2, font_size : Int32 = 20, color : Raylib::Color = Raylib::WHITE)
Source
buttons
Source
buttons=(buttons : Hash(String, Button))
Source
clear
Source
clear_all
Source
draw
Source
hide
Source
labels
Source
labels=(labels : Hash(String, Label))
Source
remove_button(id : String)
Source
remove_label(id : String)
Source
show
Source
update(dt : Float32)
Source
update_label(id : String, new_text : String)
Source
visible
Source
visible=(visible : Bool)
Source

Nested types