Lysa UI  0.0
Lysa UI —UI components for the Lysa Engine
lysa::ui Namespace Reference

Classes

class  Arrow
 
class  Box
 
class  Button
 
class  CheckBox
 
class  CheckMark
 
class  CheckWidget
 
class  ColorModalDialog
 
class  ColorPicker
 
class  ColorPickerButton
 
class  ColorSlider
 
class  ColorWheel
 
class  CrossMark
 
class  DialogBox
 
class  DropDownList
 
class  FoldableContainer
 
class  Frame
 
class  Grid
 
class  GridCell
 
class  HColorSlider
 
class  HLine
 
class  HProgressBar
 
class  HScrollBar
 
class  HSlider
 
class  Icon
 
class  IconImage
 
class  IconSVG
 
class  Image
 
class  Knob
 
class  Line
 
class  List
 
class  ListBox
 
class  Menu
 
class  MenuBox
 
class  MenuPanel
 
class  ModalDialog
 
class  OpenFileDialog
 
class  Panel
 
class  Popup
 
class  ProgressBar
 
class  RadioButton
 
class  RichTextArea
 
class  ScrollBar
 
class  ScrollContainer
 
class  Selection
 
class  Slider
 
class  SpinBox
 
class  SpinButtons
 
class  Style
 
class  StyleBase
 
class  StyleClassic
 
class  StyleMaterial
 
class  StyleResource
 
class  TabBar
 
class  TabContainer
 
class  Table
 
class  Text
 
class  TextEdit
 
class  TextInputDialog
 
class  ToggleButton
 
class  Tooltip
 
class  TreeView
 
struct  UIEvent
 
struct  UIEventClick
 
struct  UIEventColor
 
struct  UIEventColumn
 
struct  UIEventExpand
 
struct  UIEventItem
 
struct  UIEventKeyb
 
struct  UIEventLink
 
struct  UIEventMouseButton
 
struct  UIEventMouseMove
 
struct  UIEventRange
 
struct  UIEventSort
 
struct  UIEventState
 
struct  UIEventStep
 
struct  UIEventText
 
struct  UIEventValue
 
class  UIResource
 Base class for style resources descriptions More...
 
class  VColorSlider
 
class  VLine
 
class  VProgressBar
 
class  VScrollBar
 
class  VSlider
 
class  ValueSelect
 
class  Widget
 
class  Window
 
class  WindowManager
 

Enums

enum class  Alignment {
  NONE, FILL, CENTER, HCENTER,
  VCENTER, TOP, BOTTOM, LEFT,
  RIGHT, TOPCENTER, BOTTOMCENTER, LEFTCENTER,
  RIGHTCENTER, TOPLEFT, BOTTOMLEFT, BOTTOMRIGHT,
  TOPRIGHT, LEFTTOP, LEFTBOTTOM, RIGHTBOTTOM,
  RIGHTTOP, CORNERTOPLEFT, CORNERTOPRIGHT, CORNERBOTTOMLEFT,
  CORNERBOTTOMRIGHT
}
 
enum class  TabPlacement { TOP, BOTTOM }
 
enum class  SelectionMode { NONE, SINGLE, MULTI }
 

Functions

std::shared_ptr< Font > createDefaultFont ()
 

Variables

constexpr auto DEFAULT_FONT_NAME {"Inter_24pt-Regular"}
 Name of the embedded default font. More...
 

Enumeration Type Documentation

enum class Alignment
strong

Widget placement enumeration (relative to the parent widget).

Enum ValuesDocumentation
NONE 
FILL 

No alignment.

CENTER 

The child widget is centered and resized to the parent content size.

HCENTER 

The child widget is centered (and take all the parent content size)

VCENTER 

The child widget is horizontally centered.

TOP 

The child widget is vertically centered.

BOTTOM 

The children are stacked on the top.

LEFT 

The children are stacked on the bottom.

RIGHT 

The children are stacked on the left.

TOPCENTER 

The children are stacked on the right.

BOTTOMCENTER 

The children are stacked on the top and horizontally centered.

LEFTCENTER 

The children are stacked on the bottom and horizontally centered.

RIGHTCENTER 

The children are stacked on the left and vertically centered.

TOPLEFT 

The children are stacked on the right and vertically centered.

BOTTOMLEFT 

The children are stacked on the top and left aligned.

BOTTOMRIGHT 

The children are stacked on the bottom and left aligned.

TOPRIGHT 

The children are stacked on the bottom and right aligned.

LEFTTOP 

The children are stacked on the top and right aligned.

LEFTBOTTOM 

The children are stacked on the left then on the top.

RIGHTBOTTOM 

The children are stacked on the left then on the bottom.

RIGHTTOP 

The children are stacked on the right then on the bottom.

CORNERTOPLEFT 

The children are stacked on the right then on the top.

CORNERTOPRIGHT 

Stacked at top-left corner.

CORNERBOTTOMLEFT 

Stacked at top-right corner.

CORNERBOTTOMRIGHT 

Stacked at bottom-left corner.

Stacked at bottom-right corner

enum class SelectionMode
strong

Selection behavior of a TreeView.

Enum ValuesDocumentation
NONE 
SINGLE 

Items can't be selected.

MULTI 

Only one item at a time can be selected.

enum class TabPlacement
strong

Position of the bar relatively to the content displayed by the tabs.

Enum ValuesDocumentation
TOP 

The bar is above the content.

BOTTOM 

The bar is below the content.

Function Documentation

std::shared_ptr<Font> lysa::ui::createDefaultFont ( )

Creates the default font of the UI from memory

Variable Documentation

constexpr auto DEFAULT_FONT_NAME {"Inter_24pt-Regular"}
constexpr

Name of the embedded default font.