RaylibGuiD class
- Inheritance
-
- Object
- RaylibModule<Raylib>
- RaylibGuiModuleBase<Raylib, ColorD, FontD, GlyphInfoD, ImageD, MatrixD, QuaternionD, RectangleD, TextureD, Vector2D, Vector3D, Vector4D>
- RaylibGuiD
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 RaylibTempBase syncing temporarily disabled,
restoring the previous sync state afterward.
inherited
-
dispose()
→ void
-
Calls all registered onDispose callbacks and clears them.
inherited
-
doLoad()
→ void
-
Ensures load is called exactly once, regardless of how many times doLoad is invoked.
inherited
-
GuiButton(RectangleD bounds, String? text)
→ int
-
override
-
GuiCheckBox(RectangleD bounds, String? text, bool checked)
→ (int, bool)
-
override
-
GuiColorBarAlpha(RectangleD bounds, num alpha)
→ (int, double)
-
override
-
GuiColorBarHue(RectangleD bounds, num value)
→ (int, double)
-
override
-
GuiColorPanel(RectangleD bounds, ColorD color)
→ (int, ColorD)
-
override
-
GuiColorPanelHSV(RectangleD bounds, [Vector3D? colorHsv])
→ (int, Vector3D)
-
override
-
GuiColorPicker(RectangleD bounds, ColorD? color)
→ (int, ColorD)
-
override
-
GuiColorPickerHSV(RectangleD bounds, [Vector3D? colorHsv])
→ (int, Vector3D)
-
override
-
GuiComboBox(RectangleD bounds, String? text, num active)
→ (int, int)
-
override
-
GuiDisable()
→ void
-
override
-
GuiDisableTooltip()
→ void
-
override
-
GuiDrawIcon(GuiIconName iconId, num posX, num posY, num pixelSize, ColorD color)
→ void
-
override
-
GuiDropdownBox(RectangleD bounds, String? text, num active, bool editMode)
→ (int, int)
-
override
-
GuiDummyRec(RectangleD bounds, String? text)
→ int
-
override
-
GuiEnable()
→ void
-
override
-
GuiEnableTooltip()
→ void
-
override
-
GuiGetFont()
→ FontD
-
override
-
GuiGetIcons()
→ List<int>
-
override
-
GuiGetState()
→ int
-
override
-
GuiGetStyle(GuiControl control, GuiProperty property)
→ int
-
override
-
GuiGetTextWidth(String? text)
→ int
-
override
-
GuiGrid(RectangleD bounds, num spacing, num subdivs, [Vector2D? mouseCell])
→ int
-
override
-
GuiGroupBox(RectangleD bounds, String? text)
→ int
-
override
-
GuiIconText(GuiIconName iconId, String? text)
→ String
-
override
-
GuiIsLocked()
→ bool
-
override
-
GuiLabel(RectangleD bounds, String? text)
→ int
-
override
-
GuiLabelButton(RectangleD bounds, String? text)
→ int
-
override
-
GuiLine(RectangleD bounds, String? text)
→ int
-
override
-
GuiListView(RectangleD bounds, String? text, {int? scrollIndex, int? active})
→ (int, int, int)
-
override
-
GuiListViewEx(RectangleD bounds, List<String> text, {int? scrollIndex, int? active, int? focus})
→ (int, int, int, int)
-
override
-
GuiLoadIcons(String fileName, bool loadIconsName)
→ List<String>
-
override
-
GuiLoadStyle(String fileName)
→ void
-
override
-
GuiLoadStyleDefault()
→ void
-
override
-
GuiLock()
→ void
-
override
-
GuiMessageBox(RectangleD bounds, String? title, String message, String buttons)
→ int
-
override
-
GuiPanel(RectangleD bounds, String? text)
→ int
-
override
-
GuiProgressBar(RectangleD bounds, String? textLeft, String? textRight, num value, num minValue, num maxValue)
→ (int, double)
-
override
-
GuiScrollPanel(RectangleD bounds, String? text, RectangleD content, Vector2D scroll, [RectangleD? view])
→ int
-
override
-
GuiSetAlpha(num alpha)
→ void
-
override
-
GuiSetFont(FontD font)
→ void
-
override
-
GuiSetIconScale(num scale)
→ void
-
override
-
GuiSetState(GuiState state)
→ void
-
override
-
GuiSetStyle(GuiControl control, GuiProperty property, num value)
→ void
-
override
-
GuiSetTooltip(String? tooltip)
→ void
-
override
-
GuiSlider(RectangleD bounds, String? textLeft, String? textRight, num value, num minValue, num maxValue)
→ (int, double)
-
override
-
GuiSliderBar(RectangleD bounds, String? textLeft, String? textRight, num value, num minValue, num maxValue)
→ (int, double)
-
override
-
GuiSpinner(RectangleD bounds, String? text, num value, num minValue, num maxValue, bool editMode)
→ (int, int)
-
override
-
GuiStatusBar(RectangleD bounds, String? text)
→ int
-
override
-
GuiTabBar(RectangleD bounds, List<String> text)
→ (int, int)
-
override
-
GuiTextBox(RectangleD bounds, String? text, num textSize, bool editMode)
→ (int, String)
-
override
-
GuiTextInputBox(RectangleD bounds, String? title, String? message, String buttons, String? text, num textMaxSize, bool? secretViewActive)
→ (int, String, bool?)
-
override
-
GuiToggle(RectangleD bounds, String? text, bool active)
→ (int, bool)
-
override
-
GuiToggleGroup(RectangleD bounds, String? text, num active)
→ (int, int)
-
override
-
GuiToggleSlider(RectangleD bounds, String? text, num active)
→ (int, int)
-
override
-
GuiUnlock()
→ void
-
override
-
GuiValueBox(RectangleD bounds, String? text, num value, num minValue, num maxValue, bool editMode)
→ (int, int)
-
override
-
GuiValueBoxFloat(RectangleD bounds, String? text, String textValue, num value, bool editMode)
→ (int, double)
-
override
-
GuiWindowBox(RectangleD bounds, String? title)
→ int
-
override
-
load()
→ void
-
Override to perform one-time module initialization. Called by doLoad.
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
-
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
-
toString()
→ String
-
A string representation of this object.
inherited