PointClickEngine::UI::GUIManager::Button
Inherits Reference < Object
Constructors
new(text : String, position : Raylib::Vector2, size : Raylib::Vector2, &callback : -> Nil)
SourceInstance methods
bounds
Sourcecallback
Sourcecallback=(callback : Proc(Nil))
Sourcedraw
Sourcehovered
Sourcehovered=(hovered : Bool)
Sourceposition
Sourceposition=(position : Raylib::Vector2)
Sourcepressed
Sourcepressed=(pressed : Bool)
Sourcesize
Sourcesize=(size : Raylib::Vector2)
Sourcetext
Sourcetext=(text : String)
Sourceupdate(dt : Float32)
Sourcevisible
Sourcevisible=(visible : Bool)
Source