Api Editor Theme
class

Theme

public static abstract sealed class Theme

Methods

static Color GetTint(EditorTint tint)
static Void DrawFilename(Rect rect, String filename, TextFlag flags, Color color)
static Void DrawButton(Rect LocalRect, String text = null, String Icon = null, Boolean Enabled = True, Color? Tint = null)
static Void DrawDropdown(Rect rect, String text, String icon, Boolean open, Boolean disabled = False)

Draw a dropdown control with a text label and an icon. Has a up/down chevron icon to indicate the dropdown state.

Fields

Name Type Description
QtColors static Color32[]
Blue static Color
Green static Color
Red static Color
Yellow static Color
Pink static Color
Prefab static Color
Folder static Color
TabBackground static Color
TabBarBackground static Color
TabInactiveBackground static Color
SurfaceBackground static Color
SurfaceLightBackground static Color
SidebarBackground static Color
WindowBackground static Color
WidgetBackground static Color
ControlBackground static Color
ButtonBackground static Color
SelectedBackground static Color
StatusBarBackground static Color
Text static Color
TextControl static Color
TextLight static Color
TextWidget static Color
TextButton static Color
TextSelected static Color
TextLink static Color
TextHighlight static Color
TextDisabled static Color
Border static Color
BorderLight static Color
BorderButton static Color
Shadow static Color
Primary static Color
Overlay static Color
MultipleValues static Color
Highlight static Color
TextDark static Color
Base static Color
BaseAlt static Color
ToggleEnabled static Color
ToggleDisabled static Color
ControlRadius static Single
ControlHeight static Single
RowHeight static Single
HeadingFont static String
DefaultFont static String
MonospaceFont static String
Assembly: Sandbox.Tools Namespace: Editor Full Name: Editor.Theme