gui.zh#

Variables#

const int

GUI_DRAW_LAYER

const int

GUI_CURSOR_TILE

const int

GUI_CURSOR_CSET

const int

WIDGET_TYPE

const int

WIDGET_X

const int

WIDGET_Y

const int

WIDGET_WIDTH

const int

WIDGET_HEIGHT

const int

WIDGET_PARENT

const int

WIDGET_FIRST_CHILD

const int

WIDGET_NEXT_CHILD

const int

WIDGET_PREV_CHILD

const int

WIDGET_FLAGS

const int

SIZEOF_WIDGET

const int

MAX_WIDGETS

const int

GUI_DATA_SIZE

untyped[]

GUI_Data

const int

WINDOW_DEFAULT_BG_COLOR

const int

WINDOW_DEFAULT_BORDER_COLOR

const int

LABEL_DEFAULT_COLOR

const int

SPINNER_DEFAULT_BG_COLOR

const int

SPINNER_DEFAULT_TEXT_COLOR

Variable descriptions#

const int GUI_DRAW_LAYER = 6 πŸ”— Source

Various GUI stuff.


const int GUI_CURSOR_TILE = 20500 πŸ”— Source


const int GUI_CURSOR_CSET = 7 πŸ”— Source


const int WIDGET_TYPE = 8 πŸ”— Source

0-7 are for widget use - increase everything down to GUI_Data[] to add more


const int WIDGET_X = 9 πŸ”— Source

X and Y are relative to parent if possible…


const int WIDGET_Y = 10 πŸ”— Source


const int WIDGET_WIDTH = 11 πŸ”— Source


const int WIDGET_HEIGHT = 12 πŸ”— Source


const int WIDGET_PARENT = 13 πŸ”— Source

ID of the parent of this widget


const int WIDGET_FIRST_CHILD = 14 πŸ”— Source

ID of the first child of this widget


const int WIDGET_NEXT_CHILD = 15 πŸ”— Source

ID of the next child of this widget’s parent


const int WIDGET_PREV_CHILD = 16 πŸ”— Source

ID of the previous child of this widget’s parent


const int WIDGET_FLAGS = 17 πŸ”— Source


const int SIZEOF_WIDGET = 18 πŸ”— Source


const int MAX_WIDGETS = 1000 πŸ”— Source


const int GUI_DATA_SIZE = 18000 πŸ”— Source

SIZEOF_WIDGET * MAX_WIDGETS


untyped[] GUI_Data πŸ”— Source

GUI_DATA_SIZE


const int WINDOW_DEFAULT_BG_COLOR = 3 πŸ”— Source


const int WINDOW_DEFAULT_BORDER_COLOR = 1 πŸ”— Source


const int LABEL_DEFAULT_COLOR = 1 πŸ”— Source


const int SPINNER_DEFAULT_BG_COLOR = 1 πŸ”— Source


const int SPINNER_DEFAULT_TEXT_COLOR = 15 πŸ”— Source