Lysa.ui  0.0
Lysa 3D Engine
lysa.ui Lua Namespace Reference

The lysa.ui sub-module — immediate-mode UI widgets and window management.

Enums & Constants

enum  Alignment
 Constants controlling how a widget is placed inside its parent's content area.
 
enum  CheckState
 Check/toggle state constants for CheckWidget and ToggleButton.
 
enum  LineStyle
 Orientation constants for Line widgets.
 
enum  ProgressBarDisplay
 Optional text display mode drawn over the progress bar.
 
enum  ProgressBarType
 Orientation constants for ProgressBar widgets.
 
enum  ResizeableBorder
 Bitmask constants for which borders of a Window can be dragged to resize it.
 
enum  ScrollBarType
 Orientation constants for ScrollBar widgets.
 
enum  WidgetType
 Integer constants identifying the concrete type of a widget.
 

Structures

struct  CheckWidget
 Base class for widgets with a binary checked/unchecked state (e.g. ToggleButton).
 
struct  Frame
 A bordered panel with a title string rendered in its top border.
 
struct  Line
 A thin separator line, either horizontal or vertical.
 
struct  Popup
 A Panel placed at a fixed (x, y) position relative to its parent and always drawn on top of sibling widgets.
 
struct  TreeViewItem
 A single row in a TreeView, which can contain a child widget and be expanded or collapsed.
 
struct  UIEvent
 String event-type constants used when subscribing to widget events via EventManager.
 
struct  ValueSelect
 Base class for widgets that expose a numeric value within a bounded range.
 

Classes

class  Box
 A Panel with a visible border drawn around its edges.
 
class  Button
 A push button that fires the OnClick event when pressed and released by the user.
 
class  HLine
 A horizontal separator line widget.
 
class  HProgressBar
 A horizontal progress bar (fills left to right).
 
class  HScrollBar
 A horizontal scroll bar widget.
 
class  Image
 A widget that displays a GPU image with an optional color tint.
 
class  List
 Base class for all list-of-widgets widgets. Fires OnInsertItem, OnRemoveItem and OnSelectItem events.
 
class  ListBox
 A scrollable list of widgets with a selection highlight rectangle. Supports keyboard navigation.
 
class  Panel
 A rectangular widget that renders only a background fill; no border.
 
class  ProgressBar
 A rectangular progress bar widget that fills as its value increases.
 
class  ScrollBar
 A scroll bar widget whose value represents a scroll position within [min, max].
 
class  ScrollBox
 A scrollable container with horizontal and vertical scroll bars. Add children via add_content.
 
class  Selection
 A selection highlight rectangle drawn behind the selected item of a ListBox.
 
class  Text
 A single-line read-only text label.
 
class  TextEdit
 A single-line editable text input field. Fires OnTextChange and OnTextInput events.
 
class  ToggleButton
 A button that alternates between checked and unchecked states on each click. Fires OnStateChange on toggle.
 
class  TreeView
 A hierarchical list widget that displays items in an expandable/collapsible tree structure.
 
class  VLine
 A vertical separator line widget.
 
class  VProgressBar
 A vertical progress bar (fills bottom to top).
 
class  VScrollBar
 A vertical scroll bar widget.
 
class  Widget
 The base class for all UI widgets. Provides layout, input handling, and child management.
 
class  Window
 A UI window that owns a root Widget hierarchy and is managed by the WindowManager.
 
class  WindowManager
 The central manager for all UI windows attached to a rendering target.