PointClickEngine::UI::GUIManager
Inherits Reference < Object
Constructors
new
SourceInstance methods
add_button(id : String, text : String, position : Raylib::Vector2, size : Raylib::Vector2, &callback : -> Nil)
Sourceadd_label(id : String, text : String, position : Raylib::Vector2, font_size : Int32 = 20, color : Raylib::Color = Raylib::WHITE)
Sourcebuttons
Sourcebuttons=(buttons : Hash(String, Button))
Sourceclear
Sourceclear_all
Sourcedraw
Sourcehide
Sourcelabels
Sourcelabels=(labels : Hash(String, Label))
Sourceremove_button(id : String)
Sourceremove_label(id : String)
Sourceshow
Sourceupdate(dt : Float32)
Sourceupdate_label(id : String, new_text : String)
Sourcevisible
Sourcevisible=(visible : Bool)
Source