Skip to content

Interlude.Tick.Extra.DebugUI.TabStrip

interludesoftware.tick

Interlude.Tick.Extra.DebugUI

TabStrip Class

public static class TabStrip

Inheritance System.Object → TabStrip

Methods

TabStrip.Begin(UI, string, int, string[]) Method

Draws a row of tab buttons and pushes the body area. Returns true on the frame a different tab is selected.

public static bool Begin(Interlude.Tick.UI ui, string id, ref int selectedIndex, string[] tabs);

Parameters

ui UI

id System.String

selectedIndex System.Int32

tabs System.String[]

Returns

System.Boolean

TabStrip.End(UI) Method

Pops the body rect pushed by Begin(UI, string, int, string[]) and restores the ID.

public static void End(Interlude.Tick.UI ui);

Parameters

ui UI