Midnight Blue Game and Engine
Classes | Enumerations
MB2D.UI Namespace Reference

Classes

class  Button
 A pressable ui element with a single OnPress event More...
 
class  Label
 A static UIElement with a TextContent, border and optional texture More...
 
class  Layout
 A container for UIElements used within a UIView. Used to divide the View into smaller segments and to move around a group of elements easily More...
 
class  ListControl
 A scrollable list box. Items can be added and interactied with. More...
 
class  UIContent
 Holds content in a grid structure for a UIContext or Layout More...
 
class  UIControlElement
 An interactive and controllable UIElement More...
 
class  UIElement
 Defines a UI object that can be contained within Views and Layouts, drawn, updated, and moved about More...
 
class  UIView
 A single context for all UI elements and layouts. More...
 

Enumerations

enum  UIState { UIState.Normal, UIState.Selected, UIState.Pressed }
 Represents the current state of a controllable UIElement More...
 

Enumeration Type Documentation

§ UIState

enum MB2D.UI.UIState
strong

Represents the current state of a controllable UIElement

Enumerator
Normal 

Unselected, unpressed state

Selected 

Hovered or highlighted state

Pressed 

Clicked or pressed state