Neo  0.5.0
Developer Documentation
Neo2D::Gui Namespace Reference

Classes

class  Button
 Implements a simple pushable button that calls the specified callback. More...
 
class  CheckButton
 Implements a simple check button that calls the specified callback and represents a boolean state. More...
 
class  Container
 A Container organizes multiple Widgets into one to provide layout functionality. More...
 
class  InputField
 Implements a basic input field that takes keyboard input and delivers it to the program. More...
 
class  Label
 The Label class displays a string on the screen. More...
 
class  List
 
class  Menu
 The Menu class implements a basic drop-down menu. More...
 
class  MenuBar
 The MenuBar class implements the global menu bar on the top of the window. More...
 
class  ScaleLayout
 Scales the containing widget to the size of its parent. More...
 
class  ScrollBar
 The ScrollBar class implements a slider that interpolates values in a given range. More...
 
class  ScrollPane
 This class implements a scroll panel that can be used to display widgets. More...
 
class  Slider
 The Slider class implements a slider that interpolates values in a given range. More...
 
class  ThemedButton
 Implements a simple pushable button that calls the specified callback. This implementation uses Sprites to become themable. More...
 
class  ThemedInputField
 Implements a simple pushable button that calls the specified callback. This implementation uses Sprites to become themable. More...
 
class  TreeNode
 Represents a single tree node. More...
 
class  TreeView
 Implements a tree view which displays a multi-way tree of strings while providing callbacks for the selection of an entry. More...
 
class  Window
 This class implements a Window that can be used to display widgets. More...
 
class  WindowManager
 This class manages all windows on screen, that means managing order and selection of windows. More...
 

Enumerations

enum  BUTTON_STATE { BUTTON_NORMAL_STATE = 0, BUTTON_HOVER_STATE, BUTTON_PRESSED_STATE }
 
enum  CHECKBUTTON_STATE { CHECKBUTTON_NORMAL_STATE = 0, CHECKBUTTON_HOVER_STATE, CHECKBUTTON_PRESSED_STATE }
 
enum  INPUT_STATE { INPUT_NORMAL_STATE = 0, INPUT_HOVER_STATE, INPUT_SELECTED_STATE }
 
enum  INPUT_TYPE { NORMAL_INPUT = 0, DECIMAL_INPUT, INTEGER_INPUT }
 
enum  SLIDER_DIRECTION { SLIDER_HORIZONTAL = 0, SLIDER_VERTICAL }
 
enum  SLIDER_STATE { SLIDER_NORMAL = 0, SLIDER_GRABBED }
 
enum  WINDOW_STATE { WINDOW_UNSELECTED_STATE = 0, WINDOW_GRABBED_STATE, WINDOW_SELECTED_STATE, WINDOW_RESIZING_STATE }
 

Variables

static int MENU_LINE_HEIGHT = 20
 

Enumeration Type Documentation

Represents the state a button can possibly have.

Enumerator
BUTTON_NORMAL_STATE 

If the button is neither selected nor pressed.

BUTTON_HOVER_STATE 

If the button has the mouse cursor over it.

BUTTON_PRESSED_STATE 

If the mouse is hovering over the button and the left mouse button is pressed.

Represents the state a button can possibly have.

Enumerator
CHECKBUTTON_NORMAL_STATE 

If the button is neither selected nor pressed.

CHECKBUTTON_HOVER_STATE 

If the button has the mouse cursor over it.

CHECKBUTTON_PRESSED_STATE 

If the mouse is hovering over the button and the left mouse button is pressed.

Enumerator
INPUT_NORMAL_STATE 

The input field is neither hovered over nor selected.

INPUT_HOVER_STATE 

The input field is hovered by the mouse cursor.

INPUT_SELECTED_STATE 

The input field currently has focus.

Enumerator
NORMAL_INPUT 
DECIMAL_INPUT 
INTEGER_INPUT 
Enumerator
SLIDER_HORIZONTAL 
SLIDER_VERTICAL 
Enumerator
SLIDER_NORMAL 
SLIDER_GRABBED 

Represents the state a window can possibly have.

Enumerator
WINDOW_UNSELECTED_STATE 
WINDOW_GRABBED_STATE 
WINDOW_SELECTED_STATE 
WINDOW_RESIZING_STATE 

Variable Documentation

int Neo2D::Gui::MENU_LINE_HEIGHT = 20
static