Lysa.ui  0.0
Lysa 3D Engine
WidgetType Enum Referenceenum

Detailed Description

Integer constants identifying the concrete type of a widget.

Lua full name: lysa.ui.WidgetType

Constants

integer WIDGET
 Transparent container widget with no visual representation.
 
integer PANEL
 Rectangular widget with only a background fill.
 
integer BOX
 Rectangular widget with a border and a background fill.
 
integer LINE
 A horizontal or vertical separator line.
 
integer FRAME
 A box with a title label in its border.
 
integer BUTTON
 A push button that fires OnClick on release.
 
integer TOGGLEBUTTON
 A two-state (on/off) toggle button.
 
integer RADIOBUTTON
 A two-state button drawn with two circles.
 
integer CHECKBOX
 A two-state box drawn with a check mark.
 
integer CHECKMARK
 A check mark drawn inside the widget rectangle.
 
integer CROSSMARK
 A cross mark drawn inside the widget rectangle.
 
integer ARROW
 An arrow head drawn inside the widget rectangle.
 
integer TEXT
 A single-line read-only text label.
 
integer TEXTEDIT
 An editable single-line text input field.
 
integer RICHTEXTAREA
 A word-wrapped read-only text marked up with BBCode.
 
integer SCROLLBAR
 A scroll bar with configurable min, max, and current position.
 
integer SLIDER
 A value selected by dragging a grip along a track.
 
integer COLORSLIDER
 A value selected along a gradient of colors.
 
integer COLORWHEEL
 A disc selecting the hue and the saturation of a color.
 
integer KNOB
 A value selected by rotating a disc.
 
integer TREEVIEW
 A hierarchical tree of expandable/collapsible items.
 
integer IMAGE
 A widget that displays a 2-D GPU image.
 
integer POPUP
 A popup panel placed at fixed (x, y) coordinates and drawn on top of siblings.
 
integer LIST
 Base type for list-of-widgets containers.
 
integer LISTBOX
 A scrollable list of widgets with selection highlight.
 
integer SELECTION
 A selection highlight rectangle used inside a ListBox.
 
integer PROGRESSBAR
 A rectangular progress bar widget.
 
integer SCROLLBOX
 A scrollable container with horizontal and vertical scroll bars.
 
integer MENU
 A vertical list of text items separated in groups.
 
integer MENUPANEL
 A Menu drawn with a panel background.
 
integer MENUBOX
 A Menu drawn with a bordered box background.
 
integer TABBAR
 A horizontal bar of tabs.
 
integer TABCONTAINER
 A container displaying one widget at a time, selected with a bar of tabs.
 
integer DIALOG
 A dialog box with a title, a content area and a row of buttons.
 
integer FOLDABLECONTAINER
 A container folding and unfolding its content with a clickable title bar.
 
integer COLORPICKER
 A color selector with one slider per component.
 
integer COLORPICKERBUTTON
 A button displaying a color, opening a dialog to change it.
 
integer SPINBOX
 A numeric value with two buttons incrementing and decrementing it.
 
integer SPINBUTTONS
 A column of two buttons incrementing and decrementing a value.
 
integer ICONIMAGE
 A 2-D image fitted into the widget rectangle.
 
integer ICONSVG
 An SVG shape fitted into the widget rectangle.
 
integer DROPDOWNLIST
 A button displaying the selected item of a list, opening a popup list.
 
integer TOOLTIP
 A popup displaying a short help text near a position.
 
integer GRIDCELL
 A cell of a Grid.
 
integer GRID
 A grid of cells with resizable rows and columns and spanning cells.
 
integer TABLE
 A Grid with sortable and resizable column headers.
 

Enumerator Documentation

integer WIDGET

Transparent container widget with no visual representation.

integer PANEL

Rectangular widget with only a background fill.

integer BOX

Rectangular widget with a border and a background fill.

integer LINE

A horizontal or vertical separator line.

integer FRAME

A box with a title label in its border.

integer BUTTON

A push button that fires OnClick on release.

integer TOGGLEBUTTON

A two-state (on/off) toggle button.

integer RADIOBUTTON

A two-state button drawn with two circles.

integer CHECKBOX

A two-state box drawn with a check mark.

integer CHECKMARK

A check mark drawn inside the widget rectangle.

integer CROSSMARK

A cross mark drawn inside the widget rectangle.

integer ARROW

An arrow head drawn inside the widget rectangle.

integer TEXT

A single-line read-only text label.

integer TEXTEDIT

An editable single-line text input field.

integer RICHTEXTAREA

A word-wrapped read-only text marked up with BBCode.

integer SCROLLBAR

A scroll bar with configurable min, max, and current position.

integer SLIDER

A value selected by dragging a grip along a track.

integer COLORSLIDER

A value selected along a gradient of colors.

integer COLORWHEEL

A disc selecting the hue and the saturation of a color.

integer KNOB

A value selected by rotating a disc.

integer TREEVIEW

A hierarchical tree of expandable/collapsible items.

integer IMAGE

A widget that displays a 2-D GPU image.

integer POPUP

A popup panel placed at fixed (x, y) coordinates and drawn on top of siblings.

integer LIST

Base type for list-of-widgets containers.

integer LISTBOX

A scrollable list of widgets with selection highlight.

integer SELECTION

A selection highlight rectangle used inside a ListBox.

integer PROGRESSBAR

A rectangular progress bar widget.

integer SCROLLBOX

A scrollable container with horizontal and vertical scroll bars.

integer MENU

A vertical list of text items separated in groups.

integer MENUPANEL

A Menu drawn with a panel background.

integer MENUBOX

A Menu drawn with a bordered box background.

integer TABBAR

A horizontal bar of tabs.

integer TABCONTAINER

A container displaying one widget at a time, selected with a bar of tabs.

integer DIALOG

A dialog box with a title, a content area and a row of buttons.

integer FOLDABLECONTAINER

A container folding and unfolding its content with a clickable title bar.

integer COLORPICKER

A color selector with one slider per component.

integer COLORPICKERBUTTON

A button displaying a color, opening a dialog to change it.

integer SPINBOX

A numeric value with two buttons incrementing and decrementing it.

integer SPINBUTTONS

A column of two buttons incrementing and decrementing a value.

integer ICONIMAGE

A 2-D image fitted into the widget rectangle.

integer ICONSVG

An SVG shape fitted into the widget rectangle.

integer DROPDOWNLIST

A button displaying the selected item of a list, opening a popup list.

integer TOOLTIP

A popup displaying a short help text near a position.

integer GRIDCELL

A cell of a Grid.

integer GRID

A grid of cells with resizable rows and columns and spanning cells.

integer TABLE

A Grid with sortable and resizable column headers.