PointClickEngine::UI::InputDialog
Inherits Reference < Object
A dialog with text input capability
Constructors
new(prompt : String, position : RL::Vector2 | Nil = nil, size : RL::Vector2 | Nil = nil)
SourceInstance methods
border_color
Sourceborder_color=(border_color : RL::Color)
Sourcecallback
Sourcecallback=(callback : Proc(String, Nil) | Nil)
Sourcecursor_color
Sourcecursor_color=(cursor_color : RL::Color)
Sourcecursor_visible
Sourcecursor_visible=(cursor_visible : Bool)
Sourcedraw
Sourcehide
Sourceinput_bg_color
Sourceinput_bg_color=(input_bg_color : RL::Color)
Sourceinput_text
Sourceinput_text=(input_text : String)
Sourcemax_length
Sourcemax_length=(max_length : Int32)
Sourceposition
Sourceposition=(position : RL::Vector2)
Sourceprompt
Sourceprompt=(prompt : String)
Sourceshow
Sourceshow_with_default(default_text : String, &callback : String -> )
Sourcesize
Sourcesize=(size : RL::Vector2)
Sourcetext_color
Sourcetext_color=(text_color : RL::Color)
Sourceupdate(dt : Float32)
Sourcevisible
Sourcevisible=(visible : Bool)
Source