Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
The gui namespace contains useful classes for easy creation of a graphical user interface. More...
The gui namespace contains useful classes for easy creation of a graphical user interface.
Close behaviour. Default is ECMC_REMOVE
ECMC_IGNORE |
do nothing - menu stays open |
ECMC_REMOVE |
remove the gui element |
ECMC_HIDE |
call setVisible(false) |
Definition at line 16 of file IGUIContextMenu.h.
Definition at line 12 of file EGUIAlignment.h.
Definition at line 21 of file IGUIButton.h.
modes for ordering used when a column header is clicked
Definition at line 19 of file IGUITable.h.
Enumeration for skin colors.
Definition at line 58 of file IGUISkin.h.
Definition at line 324 of file IGUISkin.h.
Customizable symbols for GUI.
Definition at line 242 of file IGUISkin.h.
Enumeration for default sizes.
Definition at line 135 of file IGUISkin.h.
Definition at line 204 of file IGUISkin.h.
List of all basic Irrlicht GUI elements.
An IGUIElement returns this when calling IGUIElement::getType();
EGUIET_BUTTON |
A button (IGUIButton). |
EGUIET_CHECK_BOX |
A check box (IGUICheckBox). |
EGUIET_COMBO_BOX |
A combo box (IGUIComboBox). |
EGUIET_CONTEXT_MENU |
A context menu (IGUIContextMenu). |
EGUIET_MENU |
A menu (IGUIMenu). |
EGUIET_EDIT_BOX |
An edit box (IGUIEditBox). |
EGUIET_FILE_OPEN_DIALOG |
A file open dialog (IGUIFileOpenDialog). |
EGUIET_COLOR_SELECT_DIALOG |
A color select open dialog (IGUIColorSelectDialog). |
EGUIET_IN_OUT_FADER |
A in/out fader (IGUIInOutFader). |
EGUIET_IMAGE |
An image (IGUIImage). |
EGUIET_LIST_BOX |
A list box (IGUIListBox). |
EGUIET_MESH_VIEWER |
A mesh viewer (IGUIMeshViewer). |
EGUIET_MESSAGE_BOX |
A message box (IGUIWindow). |
EGUIET_MODAL_SCREEN |
A modal screen. |
EGUIET_SCROLL_BAR |
A scroll bar (IGUIScrollBar). |
EGUIET_SPIN_BOX |
A spin box (IGUISpinBox). |
EGUIET_STATIC_TEXT |
A static text (IGUIStaticText). |
EGUIET_TAB |
A tab (IGUITab). |
EGUIET_TAB_CONTROL |
A tab control. |
EGUIET_TABLE |
A Table. |
EGUIET_TOOL_BAR |
A tool bar (IGUIToolBar). |
EGUIET_TREE_VIEW |
A Tree View. |
EGUIET_WINDOW |
A window. |
EGUIET_ELEMENT |
Unknown type. |
EGUIET_COUNT |
Not an element, amount of elements in there. |
EGUIET_FORCE_32_BIT |
This enum is never used, it only forces the compiler to compile this enumeration to 32 bit. |
Definition at line 17 of file EGUIElementTypes.h.
Enumeration for all events which are sendable by the gui system.
EGET_ELEMENT_FOCUS_LOST |
A gui element has lost its focus. GUIEvent.Caller is losing the focus to GUIEvent.Element. If the event is absorbed then the focus will not be changed. |
EGET_ELEMENT_FOCUSED |
A gui element has got the focus. If the event is absorbed then the focus will not be changed. |
EGET_ELEMENT_HOVERED |
The mouse cursor hovered over a gui element. If an element has sub-elements you also get this message for the subelements |
EGET_ELEMENT_LEFT |
The mouse cursor left the hovered element. If an element has sub-elements you also get this message for the subelements |
EGET_ELEMENT_CLOSED |
An element would like to close. Windows and context menus use this event when they would like to close, this can be cancelled by absorbing the event. |
EGET_BUTTON_CLICKED |
A button was clicked. |
EGET_SCROLL_BAR_CHANGED |
A scrollbar has changed its position. |
EGET_CHECKBOX_CHANGED |
A checkbox has changed its check state. |
EGET_LISTBOX_CHANGED |
A new item in a listbox was selected. NOTE: You also get this event currently when the same item was clicked again after more than 500 ms. |
EGET_LISTBOX_SELECTED_AGAIN |
An item in the listbox was selected, which was already selected. NOTE: You get the event currently only if the item was clicked again within 500 ms or selected by "enter" or "space". |
EGET_FILE_SELECTED |
A file has been selected in the file dialog. |
EGET_DIRECTORY_SELECTED |
A directory has been selected in the file dialog. |
EGET_FILE_CHOOSE_DIALOG_CANCELLED |
A file open dialog has been closed without choosing a file. |
EGET_MESSAGEBOX_YES |
'Yes' was clicked on a messagebox |
EGET_MESSAGEBOX_NO |
'No' was clicked on a messagebox |
EGET_MESSAGEBOX_OK |
'OK' was clicked on a messagebox |
EGET_MESSAGEBOX_CANCEL |
'Cancel' was clicked on a messagebox |
EGET_EDITBOX_ENTER |
In an editbox 'ENTER' was pressed. |
EGET_EDITBOX_CHANGED |
The text in an editbox was changed. This does not include automatic changes in text-breaking. |
EGET_EDITBOX_MARKING_CHANGED |
The marked area in an editbox was changed. |
EGET_TAB_CHANGED |
The tab was changed in an tab control. |
EGET_MENU_ITEM_SELECTED |
A menu item was selected in a (context) menu. |
EGET_COMBO_BOX_CHANGED |
The selection in a combo box has been changed. |
EGET_SPINBOX_CHANGED |
The value of a spin box has changed. |
EGET_TABLE_CHANGED |
A table has changed. |
EGET_TABLE_HEADER_CHANGED | |
EGET_TABLE_SELECTED_AGAIN | |
EGET_TREEVIEW_NODE_DESELECT |
A tree view node lost selection. See IGUITreeView::getLastEventNode(). |
EGET_TREEVIEW_NODE_SELECT |
A tree view node was selected. See IGUITreeView::getLastEventNode(). |
EGET_TREEVIEW_NODE_EXPAND |
A tree view node was expanded. See IGUITreeView::getLastEventNode(). |
EGET_TREEVIEW_NODE_COLLAPS |
deprecated - use EGET_TREEVIEW_NODE_COLLAPSE instead |
EGET_TREEVIEW_NODE_COLLAPSE |
A tree view node was collapsed. See IGUITreeView::getLastEventNode(). |
EGET_COUNT |
No real event. Just for convenience to get number of events. |
Definition at line 151 of file IEventReceiver.h.
An enum for the different types of GUI font.
Definition at line 19 of file IGUIFont.h.
Enumeration for listbox colors.
Definition at line 18 of file IGUIListBox.h.
Definition at line 51 of file IGUITable.h.
Enumeration of available default skins.
To set one of the skins, use the following code, for example to set the Windows classic skin:
gui::IGUISkin* newskin = environment->createSkin(gui::EGST_WINDOWS_CLASSIC); environment->setSkin(newskin); newskin->drop();
Definition at line 30 of file IGUISkin.h.
Definition at line 75 of file IGUITable.h.
enumeration for message box layout flags
Definition at line 14 of file EMessageBoxFlags.h.
const c8* const irr::gui::GUIAlignmentNames[] |
{ "upperLeft", "lowerRight", "center", "scale", 0 }
Names for alignments.
Definition at line 25 of file EGUIAlignment.h.
Referenced by irr::gui::IGUIElement::deserializeAttributes(), and irr::gui::IGUIElement::serializeAttributes().
const c8* const irr::gui::GUIButtonStateNames[] |
{ "buttonUp", "buttonDown", "buttonMouseOver", "buttonMouseOff", "buttonFocused", "buttonNotFocused", 0, 0, }
Names for gui button state icons.
Definition at line 40 of file IGUIButton.h.
const c8* const irr::gui::GUIColumnOrderingNames[] |
{ "none", "custom", "ascend", "descend", "ascend_descend", 0, }
Names for EGUI_COLUMN_ORDERING types.
Definition at line 41 of file IGUITable.h.
const c8* const irr::gui::GUIElementTypeNames[] |
{ "button", "checkBox", "comboBox", "contextMenu", "menu", "editBox", "fileOpenDialog", "colorSelectDialog", "inOutFader", "image", "listBox", "meshViewer", "messageBox", "modalScreen", "scrollBar", "spinBox", "staticText", "tab", "tabControl", "table", "toolBar", "treeview", "window", "element", 0 }
Names for built-in element types.
Definition at line 100 of file EGUIElementTypes.h.
Referenced by irr::gui::IGUIElement::getTypeName().
const c8* const irr::gui::GUIOrderingModeNames[] |
{ "none", "ascending", "descending", 0 }
Definition at line 67 of file IGUITable.h.
const c8* const irr::gui::GUISkinColorNames[EGDC_COUNT+1] |
{ "3DDarkShadow", "3DShadow", "3DFace", "3DHighlight", "3DLight", "ActiveBorder", "ActiveCaption", "AppWorkspace", "ButtonText", "GrayText", "Highlight", "HighlightText", "InactiveBorder", "InactiveCaption", "ToolTip", "ToolTipBackground", "ScrollBar", "Window", "WindowSymbol", "Icon", "IconHighlight", 0, }
Names for default skin colors.
Definition at line 108 of file IGUISkin.h.
const c8* const irr::gui::GUISkinFontNames[EGDF_COUNT+1] |
{ "defaultFont", "buttonFont", "windowFont", "menuFont", "tooltipFont", 0 }
Definition at line 341 of file IGUISkin.h.
const c8* const irr::gui::GUISkinIconNames[EGDI_COUNT+1] |
{ "windowMaximize", "windowRestore", "windowClose", "windowMinimize", "windowResize", "cursorUp", "cursorDown", "cursorLeft", "cursorRight", "menuMore", "checkBoxChecked", "dropDown", "smallCursorUp", "smallCursorDown", "radioButtonChecked", "moreLeft", "moreRight", "moreUp", "moreDown", "expand", "collapse", "file", "directory", 0 }
Definition at line 295 of file IGUISkin.h.
const c8* const irr::gui::GUISkinSizeNames[EGDS_COUNT+1] |
{ "ScrollBarSize", "MenuHeight", "WindowButtonWidth", "CheckBoxWidth", "MessageBoxWidth", "MessageBoxHeight", "ButtonWidth", "ButtonHeight", "TextDistanceX", "TextDistanceY", "TitleBarTextX", "TitleBarTextY", "MessageBoxGapSpace", "MessageBoxMinTextWidth", "MessageBoxMaxTextWidth", "MessageBoxMinTextHeight", "MessageBoxMaxTextHeight", 0 }
Names for default skin sizes.
Definition at line 181 of file IGUISkin.h.
const c8* const irr::gui::GUISkinTextNames[EGDT_COUNT+1] |
{ "MessageBoxOkay", "MessageBoxCancel", "MessageBoxYes", "MessageBoxNo", "WindowButtonClose", "WindowButtonMaximize", "WindowButtonMinimize", "WindowButtonRestore", 0 }
Names for default skin sizes.
Definition at line 228 of file IGUISkin.h.
const c8* const irr::gui::GUISkinTypeNames[EGST_COUNT+1] |
{ "windowsClassic", "windowsMetallic", "burning", "unknown", 0, }
Names for gui element types.
Definition at line 47 of file IGUISkin.h.
The Irrlicht
Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated
on Sun Oct 24 12:42:03 2010 by Doxygen
(1.6.2) |