RaylibGui class
- Inheritance
-
- Mixed-in types
-
Properties
-
$
→ RaylibTemp<RaylibBase>
-
See RaylibTemp.
no setterinherited
-
GuiButton
↔ WF2<int>
-
Button control, returns true when clicked
latefinal
-
GuiCheckBox
↔ WF3<int>
-
Check Box control, returns true when active
latefinal
-
GuiColorBarAlpha
↔ WF3<int>
-
Color Bar Alpha control
latefinal
-
GuiColorBarHue
↔ WF3<int>
-
Color Bar Hue control
latefinal
-
GuiColorPanel
↔ WF3<int>
-
Color Panel control
latefinal
-
GuiColorPanelHSV
↔ WF3<int>
-
Color Panel control, using Hue-Saturation-Value color data
latefinal
-
GuiColorPicker
↔ WF3<int>
-
Color Picker control, includes Color bar controls
latefinal
-
GuiColorPickerHSV
↔ WF3<int>
-
Color Picker control, using Hue-Saturation-Value color data, includes Color bar controls
latefinal
-
GuiComboBox
↔ WF3<int>
-
Combo Box control
latefinal
-
GuiDisable
↔ WF0<void>
-
Disable gui controls (global state)
latefinal
-
GuiDisableTooltip
↔ WF0<void>
-
Disable gui tooltips (global state)
latefinal
-
GuiDrawIcon
↔ WF5<void>
-
Draw icon using pixel size at specified position
latefinal
-
GuiDropdownBox
↔ WF4<int>
-
Dropdown Box control
latefinal
-
GuiDummyRec
↔ WF2<int>
-
Dummy control for placeholders
latefinal
-
GuiEnable
↔ WF0<void>
-
Enable gui controls (global state)
latefinal
-
GuiEnableTooltip
↔ WF0<void>
-
Enable gui tooltips (global state)
latefinal
-
GuiGetFont
↔ WF1<void>
-
Get gui custom font (global state)
latefinal
-
GuiGetIcons
↔ WF0<WasmMemoryPointer<RUnsignedInt>>
-
Get raygui icons data
latefinal
-
GuiGetState
↔ WF0<int>
-
Get gui state (global state)
latefinal
-
GuiGetStyle
↔ WF2<int>
-
Get one style property
latefinal
-
GuiGetTextWidth
↔ WF1<int>
-
Get text width considering gui style and icon size (if required)
latefinal
-
GuiGrid
↔ WF5<int>
-
Grid control
latefinal
-
GuiGroupBox
↔ WF2<int>
-
Group Box control with text name
latefinal
-
GuiIconText
↔ WF2<WasmMemoryPointer<RChar>>
-
Get text with icon id prepended (if supported)
latefinal
-
GuiIsLocked
↔ WF0<bool>
-
Check if gui is locked (global state)
latefinal
-
GuiLabel
↔ WF2<int>
-
Label control
latefinal
-
GuiLabelButton
↔ WF2<int>
-
Label button control, returns true when clicked
latefinal
-
GuiLine
↔ WF2<int>
-
Line separator control, could contain text
latefinal
-
GuiListView
↔ WF4<int>
-
List View control
latefinal
-
GuiListViewEx
↔ WF6<int>
-
List View control, using text entries list and returning focus entry
latefinal
-
GuiLoadIcons
↔ WF2<WasmMemoryPointer<RPointer<RChar>>>
-
Load raygui icons file (.rgi) into internal icons data
latefinal
-
GuiLoadIconsFromMemory
↔ WF3<WasmMemoryPointer<RPointer<RChar>>>
-
Load raygui icons file (.rgi) from memory into internal icons data
latefinal
-
GuiLoadStyle
↔ WF1<void>
-
Load style file over global style variable (.rgs)
latefinal
-
GuiLoadStyleDefault
↔ WF0<void>
-
Load style default over global style
latefinal
-
GuiLoadStyleFromMemory
↔ WF2<void>
-
Load style from memory (binary only)
latefinal
-
GuiLock
↔ WF0<void>
-
Lock gui controls (global state)
latefinal
-
GuiMessageBox
↔ WF5<int>
-
Message Box control, displays a message
latefinal
-
GuiPanel
↔ WF2<int>
-
Panel control, useful to group controls
latefinal
-
GuiProgressBar
↔ WF6<int>
-
Progress Bar control
latefinal
-
GuiScrollPanel
↔ WF5<int>
-
Scroll Panel control
latefinal
-
GuiSetAlpha
↔ WF1<void>
-
Set gui controls alpha (global state), alpha goes from 0.0 to 1.0
latefinal
-
GuiSetFont
↔ WF1<void>
-
Set gui custom font (global state)
latefinal
-
GuiSetIconScale
↔ WF1<void>
-
Set default icon drawing size
latefinal
-
GuiSetState
↔ WF1<void>
-
Set gui state (global state)
latefinal
-
GuiSetStyle
↔ WF3<void>
-
Set one style property
latefinal
-
GuiSetTooltip
↔ WF1<void>
-
Set tooltip string
latefinal
-
GuiSlider
↔ WF6<int>
-
Slider control
latefinal
-
GuiSliderBar
↔ WF6<int>
-
Slider Bar control
latefinal
-
GuiSpinner
↔ WF6<int>
-
Spinner control
latefinal
-
GuiStatusBar
↔ WF2<int>
-
Status Bar control, shows info text
latefinal
-
GuiTabBar
↔ WF4<int>
-
Tab Bar control
latefinal
-
GuiTabBarEx
↔ WF6<int>
-
Tab Bar control, using text entries list and returning focus entry
latefinal
-
GuiTextBox
↔ WF4<int>
-
Text Box control, updates input text
latefinal
-
GuiTextInputBox
↔ WF8<int>
-
Text Input Box control, ask for text, supports secret
latefinal
-
GuiToggle
↔ WF3<int>
-
Toggle Button control
latefinal
-
GuiToggleGroup
↔ WF3<int>
-
Toggle Group control
latefinal
-
GuiToggleSlider
↔ WF3<int>
-
Toggle Slider control
latefinal
-
GuiUnlock
↔ WF0<void>
-
Unlock gui controls (global state)
latefinal
-
GuiValueBox
↔ WF6<int>
-
Value Box control, updates input text with numbers
latefinal
-
GuiValueBoxFloat
↔ WF5<int>
-
Value box control for float values
latefinal
-
GuiWindowBox
↔ WF2<int>
-
Window Box control, shows a window that can be closed
latefinal
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
RAYGUI_COLORBARALPHA_CHECKED_SIZE
→ int
-
See RaylibGuiConstants.RAYGUI_COLORBARALPHA_CHECKED_SIZE.
no setterinherited
-
RAYGUI_GRID_ALPHA
→ double
-
See RaylibGuiConstants.RAYGUI_GRID_ALPHA.
no setterinherited
-
RAYGUI_GROUPBOX_LINE_THICK
→ int
-
See RaylibGuiConstants.RAYGUI_GROUPBOX_LINE_THICK.
no setterinherited
-
RAYGUI_ICON_DATA_ELEMENTS
→ int
-
See RaylibGuiConstants.RAYGUI_ICON_DATA_ELEMENTS.
no setterinherited
-
RAYGUI_ICON_FONT_ATLAS_PADDING
→ int
-
See RaylibGuiConstants.RAYGUI_ICON_FONT_ATLAS_PADDING.
no setterinherited
-
RAYGUI_ICON_MAX_FONT_BACKED
→ int
-
See RaylibGuiConstants.RAYGUI_ICON_MAX_FONT_BACKED.
no setterinherited
-
RAYGUI_ICON_MAX_ICONS
→ int
-
See RaylibGuiConstants.RAYGUI_ICON_MAX_ICONS.
no setterinherited
-
RAYGUI_ICON_MAX_NAME_LENGTH
→ int
-
See RaylibGuiConstants.RAYGUI_ICON_MAX_NAME_LENGTH.
no setterinherited
-
RAYGUI_ICON_SIZE
→ int
-
See RaylibGuiConstants.RAYGUI_ICON_SIZE.
no setterinherited
-
RAYGUI_ICON_TEXT_PADDING
→ int
-
See RaylibGuiConstants.RAYGUI_ICON_TEXT_PADDING.
no setterinherited
-
RAYGUI_ICONS
→ List<int>
-
See RaylibGuiConstants.RAYGUI_ICONS.
no setterinherited
-
RAYGUI_LINE_MARGIN_TEXT
→ int
-
See RaylibGuiConstants.RAYGUI_LINE_MARGIN_TEXT.
no setterinherited
-
RAYGUI_LINE_TEXT_PADDING
→ int
-
See RaylibGuiConstants.RAYGUI_LINE_TEXT_PADDING.
no setterinherited
-
RAYGUI_MAX_CONTROLS
→ int
-
See RaylibGuiConstants.RAYGUI_MAX_CONTROLS.
no setterinherited
-
RAYGUI_MAX_PROPS_BASE
→ int
-
See RaylibGuiConstants.RAYGUI_MAX_PROPS_BASE.
no setterinherited
-
RAYGUI_MAX_PROPS_EXTENDED
→ int
-
See RaylibGuiConstants.RAYGUI_MAX_PROPS_EXTENDED.
no setterinherited
-
RAYGUI_MAX_TEXT_LINES
→ int
-
See RaylibGuiConstants.RAYGUI_MAX_TEXT_LINES.
no setterinherited
-
RAYGUI_MESSAGEBOX_BUTTON_HEIGHT
→ int
-
See RaylibGuiConstants.RAYGUI_MESSAGEBOX_BUTTON_HEIGHT.
no setterinherited
-
RAYGUI_MESSAGEBOX_BUTTON_PADDING
→ int
-
See RaylibGuiConstants.RAYGUI_MESSAGEBOX_BUTTON_PADDING.
no setterinherited
-
RAYGUI_MIN_MOUSE_WHEEL_SPEED
→ int
-
See RaylibGuiConstants.RAYGUI_MIN_MOUSE_WHEEL_SPEED.
no setterinherited
-
RAYGUI_MIN_SCROLLBAR_HEIGHT
→ int
-
See RaylibGuiConstants.RAYGUI_MIN_SCROLLBAR_HEIGHT.
no setterinherited
-
RAYGUI_MIN_SCROLLBAR_WIDTH
→ int
-
See RaylibGuiConstants.RAYGUI_MIN_SCROLLBAR_WIDTH.
no setterinherited
-
RAYGUI_PANEL_BORDER_WIDTH
→ int
-
See RaylibGuiConstants.RAYGUI_PANEL_BORDER_WIDTH.
no setterinherited
-
RAYGUI_SCROLLBAR_LEFT_SIDE
→ int
-
See RaylibGuiConstants.RAYGUI_SCROLLBAR_LEFT_SIDE.
no setterinherited
-
RAYGUI_SCROLLBAR_RIGHT_SIDE
→ int
-
See RaylibGuiConstants.RAYGUI_SCROLLBAR_RIGHT_SIDE.
no setterinherited
-
RAYGUI_TEXTBOX_AUTO_CURSOR_COOLDOWN
→ int
-
See RaylibGuiConstants.RAYGUI_TEXTBOX_AUTO_CURSOR_COOLDOWN.
no setterinherited
-
RAYGUI_TEXTBOX_AUTO_CURSOR_DELAY
→ int
-
See RaylibGuiConstants.RAYGUI_TEXTBOX_AUTO_CURSOR_DELAY.
no setterinherited
-
RAYGUI_TEXTINPUTBOX_BUTTON_HEIGHT
→ int
-
See RaylibGuiConstants.RAYGUI_TEXTINPUTBOX_BUTTON_HEIGHT.
no setterinherited
-
RAYGUI_TEXTINPUTBOX_BUTTON_PADDING
→ int
-
See RaylibGuiConstants.RAYGUI_TEXTINPUTBOX_BUTTON_PADDING.
no setterinherited
-
RAYGUI_TEXTINPUTBOX_HEIGHT
→ int
-
See RaylibGuiConstants.RAYGUI_TEXTINPUTBOX_HEIGHT.
no setterinherited
-
RAYGUI_TOGGLEGROUP_MAX_ITEM_TEXT_SIZE
→ int
-
See RaylibGuiConstants.RAYGUI_TOGGLEGROUP_MAX_ITEM_TEXT_SIZE.
no setterinherited
-
RAYGUI_VALUEBOX_MAX_CHARS
→ int
-
See RaylibGuiConstants.RAYGUI_VALUEBOX_MAX_CHARS.
no setterinherited
-
RAYGUI_VERSION
→ String
-
See RaylibGuiConstants.RAYGUI_VERSION.
no setterinherited
-
RAYGUI_VERSION_MAJOR
→ int
-
See RaylibGuiConstants.RAYGUI_VERSION_MAJOR.
no setterinherited
-
RAYGUI_VERSION_MINOR
→ int
-
See RaylibGuiConstants.RAYGUI_VERSION_MINOR.
no setterinherited
-
RAYGUI_VERSION_PATCH
→ int
-
See RaylibGuiConstants.RAYGUI_VERSION_PATCH.
no setterinherited
-
RAYGUI_WINDOWBOX_CLOSEBUTTON_HEIGHT
→ int
-
See RaylibGuiConstants.RAYGUI_WINDOWBOX_CLOSEBUTTON_HEIGHT.
no setterinherited
-
RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT
→ int
-
See RaylibGuiConstants.RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT.
no setterinherited
-
rl
→ Raylib
-
finalinherited
-
rn
→ String
-
Emscripten
cwrap return type for anything other than structs and void.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
rv
→ Null
-
Emscripten
cwrap return type for functions returning void.
finalinherited
Methods
-
debug(bool v)
→ void
-
Enables or disables debug logging for this module.
inherited
-
debugError(String message)
→ void
-
Logs
message at error level if debug is enabled and message passes all filters.
inherited
-
debugFilter(bool filter(String))
→ void
-
Adds a predicate that gates debug output. Only messages satisfying at least one filter are logged.
inherited
-
debugInfo(String message)
→ void
-
Logs
message at info level if debug is enabled and message passes all filters.
inherited
-
debugTime(bool v)
→ void
-
Enables or disables per-call timing output alongside debug logs.
inherited
-
debugWarn(String message)
→ void
-
Logs
message at warn level if debug is enabled and message passes all filters.
inherited
-
disableSync<T>(T f())
→ T
-
Executes
f with RaylibTemp syncing temporarily disabled,
restoring the previous sync state afterward.
inherited
-
dispose()
→ void
-
Calls all registered onDispose callbacks and clears them.
inherited
-
disposeStructWithOpFreed<D extends RaylibStruct<D>>(D struct, void fn(StructPointer<D> ptr))
→ void
-
Disposes
struct, invokes fn with its underlying pointer, and then frees
the temporary allocation backing the pointer, if any.
inherited
-
disposeStructWithOpUnslotted<D extends RaylibStruct<D>>(D struct, void fn(StructPointer<D> ptr))
→ void
-
Disposes
struct, invokes fn with its underlying pointer, and then
unslots the temporary allocation backing the pointer, if any.
inherited
-
dwrap0<R>(String name)
→ WF0<R>
-
Binds a
cwraped C function taking 0 arguments and returning a plain
(non-struct) value.
inherited
-
dwrap1<R>(String name)
→ WF1<R>
-
Binds a
cwraped C function taking 1 argument and returning a plain
(non-struct) value.
inherited
-
dwrap2<R>(String name)
→ WF2<R>
-
Binds a
cwraped C function taking 2 arguments and returning a plain
(non-struct) value.
inherited
-
dwrap3<R>(String name)
→ WF3<R>
-
Binds a
cwraped C function taking 3 arguments and returning a plain
(non-struct) value.
inherited
-
dwrap4<R>(String name)
→ WF4<R>
-
Binds a
cwraped C function taking 4 arguments and returning a plain
(non-struct) value.
inherited
-
dwrap5<R>(String name)
→ WF5<R>
-
Binds a
cwraped C function taking 5 arguments and returning a plain
(non-struct) value.
inherited
-
dwrap6<R>(String name)
→ WF6<R>
-
Binds a
cwraped C function taking 6 arguments and returning a plain
(non-struct) value.
inherited
-
dwrap7<R>(String name)
→ WF7<R>
-
Binds a
cwraped C function taking 7 arguments and returning a plain
(non-struct) value.
inherited
-
dwrap8<R>(String name)
→ WF8<R>
-
Binds a
cwraped C function taking 8 arguments and returning a plain
(non-struct) value.
inherited
-
dwrap9<R>(String name)
→ WF9<R>
-
Binds a
cwraped C function taking 9 arguments and returning a plain
(non-struct) value.
inherited
-
load()
→ void
-
Override to perform one-time module initialization.
inherited
-
logError(Object? message)
→ void
-
inherited
-
logInfo(Object? message)
→ void
-
inherited
-
logWarn(Object? message)
→ void
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(void fn())
→ void
-
Registers
fn to be called when this module is disposed.
inherited
-
pwrap0<X extends RType>(String name)
→ WF0<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 0 arguments and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
pwrap1<X extends RType>(String name)
→ WF1<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 1 argument and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
pwrap2<X extends RType>(String name)
→ WF2<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 2 arguments and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
pwrap3<X extends RType>(String name)
→ WF3<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 3 arguments and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
pwrap4<X extends RType>(String name)
→ WF4<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 4 arguments and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
pwrap5<X extends RType>(String name)
→ WF5<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 5 arguments and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
pwrap6<X extends RType>(String name)
→ WF6<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 6 arguments and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
pwrap7<X extends RType>(String name)
→ WF7<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 7 arguments and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
pwrap8<X extends RType>(String name)
→ WF8<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 8 arguments and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
pwrap9<X extends RType>(String name)
→ WF9<WasmMemoryPointer<X>>
-
Binds a
cwraped C function taking 9 arguments and returning a
pointer, wrapped as WasmMemoryPointer<X>.
inherited
-
qwrap0<X extends RaylibStruct<X>>(String name)
→ WF0<StructPointer<X>>
-
Binds a
cwraped C function taking 0 arguments and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
qwrap1<X extends RaylibStruct<X>>(String name)
→ WF1<StructPointer<X>>
-
Binds a
cwraped C function taking 1 argument and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
qwrap2<X extends RaylibStruct<X>>(String name)
→ WF2<StructPointer<X>>
-
Binds a
cwraped C function taking 2 argument and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
qwrap3<X extends RaylibStruct<X>>(String name)
→ WF3<StructPointer<X>>
-
Binds a
cwraped C function taking 3 argument and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
qwrap4<X extends RaylibStruct<X>>(String name)
→ WF4<StructPointer<X>>
-
Binds a
cwraped C function taking 4 argument and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
qwrap5<X extends RaylibStruct<X>>(String name)
→ WF5<StructPointer<X>>
-
Binds a
cwraped C function taking 5 argument and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
qwrap6<X extends RaylibStruct<X>>(String name)
→ WF6<StructPointer<X>>
-
Binds a
cwraped C function taking 6 argument and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
qwrap7<X extends RaylibStruct<X>>(String name)
→ WF7<StructPointer<X>>
-
Binds a
cwraped C function taking 7 argument and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
qwrap8<X extends RaylibStruct<X>>(String name)
→ WF8<StructPointer<X>>
-
Binds a
cwraped C function taking 8 argument and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
qwrap9<X extends RaylibStruct<X>>(String name)
→ WF9<StructPointer<X>>
-
Binds a
cwraped C function taking 9 argument and returning a
struct pointer, wrapped as StructPointer<X>.
inherited
-
run<T>(String name(), T f())
→ T
-
Executes
f, logging its label (and optionally timing it) when debug is enabled
and the label passes all filters.
inherited
-
swrap0(String name)
→ WF1<void>
-
Binds a
cwraped C function taking 0 arguments that returns a struct
via the WASM structure-return (sret) convention.
inherited
-
swrap1(String name)
→ WF2<void>
-
Binds a
cwraped C function taking 1 argument that returns a struct
via the WASM structure-return (sret) convention.
inherited
-
swrap2(String name)
→ WF3<void>
-
Binds a
cwraped C function taking 2 arguments that returns a struct
via the WASM structure-return (sret) convention.
inherited
-
swrap3(String name)
→ WF4<void>
-
Binds a
cwraped C function taking 3 arguments that returns a struct
via the WASM structure-return (sret) convention.
inherited
-
swrap4(String name)
→ WF5<void>
-
Binds a
cwraped C function taking 4 arguments that returns a struct
via the WASM structure-return (sret) convention.
inherited
-
swrap5(String name)
→ WF6<void>
-
Binds a
cwraped C function taking 5 arguments that returns a struct
via the WASM structure-return (sret) convention.
inherited
-
swrap6(String name)
→ WF7<void>
-
Binds a
cwraped C function taking 6 arguments that returns a struct
via the WASM structure-return (sret) convention.
inherited
-
swrap7(String name)
→ WF8<void>
-
Binds a
cwraped C function taking 7 arguments that returns a struct
via the WASM structure-return (sret) convention.
inherited
-
swrap8(String name)
→ WF9<void>
-
Binds a
cwraped C function taking 8 arguments that returns a struct
via the WASM structure-return (sret) convention.
inherited
-
symbol<X extends RType>(String name)
→ WasmMemoryPointer<X>
-
Resolves a global symbol exported by the WASM module and wraps its
address as a WasmMemoryPointer.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited