Classes | Typedefs | Enumerations | Variables

sp::gui Namespace Reference

Namespace for each GUI (Graphics User Interface) objects (e.g. Windows, Buttons etc.) for developing level editors or the like. More...

Classes

struct  SGUIEvent
class  GUIBaseObject
class  GUIButtonGadget
class  GUICheckboxGadget
class  GUIContainerGadget
class  GUIController
class  GUIGadget
class  GUIListRootEntry
class  GUIListColumn
class  GUIListItem
class  GUIListGadget
class  GUIManager
class  GUIMenuItem
class  GUIProgressbarGadget
class  GUIScrollbarGadget
class  GUIScrollViewBased
class  GUIStringGadget
class  GUITextGadget
class  GUITrackbarGadget
class  GUITreeItem
class  GUITreeGadget
class  GUIWebGadget
class  GUIWindow

Typedefs

typedef boost::function< void(const
SGUIEvent &Event)> 
GUIEventCallback
typedef boost::function< void(GUIController
*Controller) 
GUIOwnerDrawCallback )

Enumerations

enum  EGUIEventObjects { EVENT_WINDOW, EVENT_GADGET, EVENT_MENUITEM }
enum  EGUIEventTypes {
  EVENT_ACTIVATE, EVENT_FOCUS, EVENT_LOSTFOCUS, EVENT_LEFTCLICK,
  EVENT_LEFTDOUBLECLICK, EVENT_RIGHTCLICK, EVENT_RIGHTDOUBLECLICK, EVENT_KEYPRESS,
  EVENT_MOUSEWHEEL, EVENT_MINIMIZE, EVENT_MAXIMIZE, EVENT_MOVE,
  EVENT_RESIZE, EVENT_CLOSE
}
enum  EButtonFlags { GUIFLAG_TOGGLE = 0x00000001 }
enum  EGUIControllerTypes { CONTROLLER_WINDOW, CONTROLLER_GADGET }
enum  EControllerFlags {
  GUIFLAG_TEXTLEFT = 0x01000000, GUIFLAG_TEXTRIGHT = 0x02000000, GUIFLAG_TEXTCENTER = 0x04000000, GUIFLAG_BORDERLESS = 0x08000000,
  GUIFLAG_NOSCROLL = 0x10000000, GUIFLAG_HOLDSELECTION = 0x20000000
}
enum  EGUIGadgets {
  GADGET_BUTTON, GADGET_CHECKBOX, GADGET_CONTAINER, GADGET_LIST,
  GADGET_PROGRESSBAR, GADGET_SCROLLBAR, GADGET_STRING, GADGET_TEXT,
  GADGET_TRACKBAR, GADGET_TREE, GADGET_WEB
}
enum  EListFlags { GUIFLAG_NOCOLUMNSCROLL = 0x00000001 }
enum  EMenuItemTypes { MENUITEM_ROOT, MENUITEM_TITLE, MENUITEM_ENTRY, MENUITEM_SEPARATOR }
enum  EProgressbarFlags { GUIFLAG_NOTEXT = 0x00000001 }
enum  EScrollbarFlags { GUIFLAG_VERTICAL = 0x00000001, GUIFLAG_HATCHEDFACE = 0x00000002 }
enum  EStringFlags {
  GUIFLAG_READONLY = 0x00000001, GUIFLAG_UPPERCASE = 0x00000002, GUIFLAG_LOWERCASE = 0x00000004, GUIFLAG_PASSWORD = 0x00000008,
  GUIFLAG_NUMERIC = 0x00000010, GUIFLAG_NUMERICINT = 0x00000020
}
 

Text field behaviour options.

More...
enum  ETrackbarFlags { GUIFLAG_GRID = 0x00000001 }
enum  ETreeFlags { GUIFLAG_LINES = 0x00000001 }
enum  EWindowFlags {
  GUIFLAG_CLOSEBUTTON = 0x00000001, GUIFLAG_MINBUTTON = 0x00000002, GUIFLAG_MAXBUTTON = 0x00000004, GUIFLAG_SIZEBUTTON = 0x00000008,
  GUIFLAG_VSCROLL = 0x00000010, GUIFLAG_HSCROLL = 0x00000020
}

Variables

video::Font__spGUIFont

Detailed Description

Namespace for each GUI (Graphics User Interface) objects (e.g. Windows, Buttons etc.) for developing level editors or the like.


Typedef Documentation

typedef boost::function<void (const SGUIEvent &Event)> sp::gui::GUIEventCallback
typedef boost::function<void (GUIController* Controller) sp::gui::GUIOwnerDrawCallback)

Enumeration Type Documentation

Enumerator:
GUIFLAG_TOGGLE 
Enumerator:
GUIFLAG_TEXTLEFT 
GUIFLAG_TEXTRIGHT 
GUIFLAG_TEXTCENTER 
GUIFLAG_BORDERLESS 
GUIFLAG_NOSCROLL 
GUIFLAG_HOLDSELECTION 
Enumerator:
CONTROLLER_WINDOW 
CONTROLLER_GADGET 
Enumerator:
EVENT_WINDOW 
EVENT_GADGET 
EVENT_MENUITEM 
Enumerator:
EVENT_ACTIVATE 
EVENT_FOCUS 
EVENT_LOSTFOCUS 
EVENT_LEFTCLICK 
EVENT_LEFTDOUBLECLICK 
EVENT_RIGHTCLICK 
EVENT_RIGHTDOUBLECLICK 
EVENT_KEYPRESS 
EVENT_MOUSEWHEEL 
EVENT_MINIMIZE 
EVENT_MAXIMIZE 
EVENT_MOVE 
EVENT_RESIZE 
EVENT_CLOSE 
Enumerator:
GADGET_BUTTON 

Button gadget (text or image).

GADGET_CHECKBOX 

Checkbox gadget (only two states: checked or unchecked).

GADGET_CONTAINER 

Container gadget (to hold other gadgets or to have an owner-draw gadget).

GADGET_LIST 

List gadget.

GADGET_PROGRESSBAR 

Progressbar gadget.

GADGET_SCROLLBAR 

Scrollbar gadget (particular for windows and lists).

GADGET_STRING 

String gadget (for text or number input).

GADGET_TEXT 

Text gadget (text view only).

GADGET_TRACKBAR 

Trackbar gadget.

GADGET_TREE 

Tree gadget (listed items in a tree hierarchy).

GADGET_WEB 

XML based web view gadget.

Enumerator:
GUIFLAG_NOCOLUMNSCROLL 
Enumerator:
MENUITEM_ROOT 

Menu holder.

MENUITEM_TITLE 

Menu title.

MENUITEM_ENTRY 

Menu item entry.

MENUITEM_SEPARATOR 

Menu item separator.

Enumerator:
GUIFLAG_NOTEXT 
Enumerator:
GUIFLAG_VERTICAL 
GUIFLAG_HATCHEDFACE 

Text field behaviour options.

Enumerator:
GUIFLAG_READONLY 
GUIFLAG_UPPERCASE 
GUIFLAG_LOWERCASE 
GUIFLAG_PASSWORD 
GUIFLAG_NUMERIC 
GUIFLAG_NUMERICINT 
Enumerator:
GUIFLAG_GRID 
Enumerator:
GUIFLAG_LINES 
Enumerator:
GUIFLAG_CLOSEBUTTON 

Creates a close button.

GUIFLAG_MINBUTTON 

Creates a minimize button.

GUIFLAG_MAXBUTTON 

Creates a maximize button.

GUIFLAG_SIZEBUTTON 

Creates a size (or rather resize) button.

GUIFLAG_VSCROLL 

Creates a vertical scroll bar.

GUIFLAG_HSCROLL 

Creates a horizontal scroll bar.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines