Skip to content

Interlude.Tick.Extra.DebugUI.Textbox

interludesoftware.tick

Interlude.Tick.Extra.DebugUI

Textbox Class

public static class Textbox

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.

public static bool Do(Interlude.Tick.UI ui, string id, ref string value);

Parameters

ui UI

id System.String

value System.String

Returns

System.Boolean

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

id System.String

label System.String

value System.String

filter Interlude.Tick.TextboxKeyFilter

Returns

System.Boolean

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

id System.String

label System.String

value System.String

filter Interlude.Tick.TextboxKeyFilter

Returns

System.Boolean

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.

public static bool DoSubmit(Interlude.Tick.UI ui, string id, ref string value);

Parameters

ui UI

id System.String

value System.String

Returns

System.Boolean