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

Classes

class  Box
 
class  Button
 
class  CheckWidget
 
class  Frame
 
class  HLine
 
class  HScrollBar
 
class  Image
 
class  Line
 
class  Panel
 
class  ScrollBar
 
class  Style
 
class  StyleClassic
 
class  StyleClassicResource
 
class  Text
 
class  TextEdit
 
class  ToggleButton
 
class  TreeView
 
struct  UIEvent
 
struct  UIEventClick
 
struct  UIEventKeyb
 
struct  UIEventMouseButton
 
struct  UIEventMouseMove
 
struct  UIEventRange
 
struct  UIEventState
 
struct  UIEventText
 
struct  UIEventValue
 
class  UIResource
 Base class for style resources descriptions More...
 
class  VLine
 
class  VScrollBar
 
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
}
 

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