Interlude.Tick.Extra.DebugUI.Textbox
interludesoftware.tick¶
Interlude.Tick.Extra.DebugUI¶
Textbox Class¶
Inheritance System.Object → Textbox
Methods¶
Textbox.Do(UI, string, string) Method¶
Draws a themed textbox with live editing. Returns true each frame the value changes.
Parameters¶
ui UI
value System.String
Returns¶
Textbox.DoLabelled(UI, string, string, string, TextboxKeyFilter) Method¶
Draws a label column followed by a live-edit textbox. Returns true each frame the value changes.
public static bool DoLabelled(Interlude.Tick.UI ui, string id, string label, ref string value, Interlude.Tick.TextboxKeyFilter filter=null);
Parameters¶
ui UI
label System.String
value System.String
filter Interlude.Tick.TextboxKeyFilter
Returns¶
Textbox.DoLabelledSubmit(UI, string, string, string, TextboxKeyFilter) Method¶
Draws a label column followed by a commit-on-Enter textbox. Returns true on the frame Enter is pressed.
public static bool DoLabelledSubmit(Interlude.Tick.UI ui, string id, string label, ref string value, Interlude.Tick.TextboxKeyFilter filter=null);
Parameters¶
ui UI
label System.String
value System.String
filter Interlude.Tick.TextboxKeyFilter
Returns¶
Textbox.DoSubmit(UI, string, string) Method¶
Draws a themed textbox that commits on Enter. Returns true on the frame Enter is pressed;
value only updates at that point. Keystrokes are visible live because the
presenter renders from layout.RenderText, not from the unsubmitted value.
Parameters¶
ui UI
value System.String