|
GlistEngine
|
#include <gGUIDialogue.h>


Public Types | |
| enum | { DIALOGUETYPE_OK , DIALOGUETYPE_YESNOCANCEL , DIALOGUETYPE_OKCANCEL , DIALOGUETYPE_YESNO } |
| enum | { TITLETYPE_EXITMINMAX , TITLETYPE_EXITMAX , TITLETYPE_EXITMIN , TITLETYPE_EXIT , TITLETYPE_NONE } |
| enum | { ICONTYPE_NONE , ICONTYPE_ERROR , ICONTYPE_INFO , ICONTYPE_WARNING } |
Public Types inherited from gGUIForm | |
| enum | { RESIZE_MENUBAR , RESIZE_STATUSBAR , RESIZE_TOOLBAR_HORIZONTAL , RESIZE_TOOLBAR_VERTICAL } |
Public Types inherited from gBaseGUIObject | |
| enum | { TEXTALIGNMENT_LEFT , TEXTALIGNMENT_MIDDLE , TEXTALIGNMENT_RIGHT } |
Public Member Functions | |
| gGUIDialogue () | |
| virtual | ~gGUIDialogue () |
| void | setSizer (gGUISizer *guiSizer) |
| void | update () |
| void | draw () |
| bool | show () |
| bool | hide () |
| bool | isShown () |
| gGUIContainer * | getTitleBar () |
| gGUIContainer * | getButtonsBar () |
| gGUIContainer * | getMessageBar () |
| void | resetTitleBar () |
| void | resetButtonsBar () |
| void | resetMessageBar () |
| void | setTitle (std::string title) |
| void | setMessageBarSizer (gGUISizer *sizer) |
| void | setButtonEvent (int buttonEvent) |
| int | getButtonEvent () |
| void | enableDrag (bool isDragEnabled) |
| void | enableResize (bool isResizeEnabled) |
| void | setIsMaximized (bool isMaximized) |
| void | transformDialogue (int left, int top, int width, int height) |
| void | setMessageText (std::string messageText) |
| std::string | getMessageText () |
| void | setIconType (int iconId) |
| int | getIconType () |
| void | setDialogueType (int typeId) |
| int | getDialogueType () |
| void | setTitleType (int typeId) |
| int | getTitleType () |
| int | getCursor (int x, int y) |
| void | keyPressed (int key) |
| void | keyReleased (int key) |
| void | charPressed (unsigned int codepoint) |
| void | mouseMoved (int x, int y) |
| void | mousePressed (int x, int y, int button) |
| void | mouseDragged (int x, int y, int button) |
| void | mouseReleased (int x, int y, int button) |
| int | getOKButtonId () |
| int | getCancelButtonId () |
| int | getYesButtonId () |
| int | getNoButtonId () |
| gGUIButton * | getOKButton () |
| gGUIButton * | getCancelButton () |
| gGUIButton * | getYesButton () |
| gGUIButton * | getNoButton () |
Public Member Functions inherited from gGUIForm | |
| gGUIForm () | |
| virtual | ~gGUIForm () |
| void | setMenuBar (gGUIMenubar *menuBar) |
| void | resizeMenuBar () |
| void | addToolBar (gGUIToolbar *toolBar) |
| void | resizeToolbars () |
| void | resizeVerticalToolbars () |
| void | setStatusBar (gGUIStatusBar *statusBar) |
| void | resizeStatusBar () |
| void | addContextMenu (gGUIContextMenu *contextMenu) |
| void | addTreelist (gGUITreelist *treeList, int treeListx, int treeListy, int treeListw) |
| void | resizeAll (int resizeCode) |
| void | setToolbarHeight (int toolbarHeight) |
| int | getToolbarHeight () |
| void | setVerticalToolbarWidth (int verticalToolbarWidth) |
| int | getVerticalToolbarWidth () |
| void | setSizer (gGUISizer *guiSizer) |
| void | updateSizer () |
| gGUISizer * | getSizer () |
| int | getFocusId () |
| int | getPreviousFocusId () |
| void | show () |
| void | hide () |
| void | keyPressed (int key) |
| void | keyReleased (int key) |
| void | charPressed (unsigned int codepoint) |
| void | mouseMoved (int x, int y) |
| void | mousePressed (int x, int y, int button) |
| void | mouseDragged (int x, int y, int button) |
| void | mouseReleased (int x, int y, int button) |
| void | mouseScrolled (int x, int y) |
| void | mouseEntered () |
| void | mouseExited () |
| void | windowResized (int w, int h) |
| void | setTooltipText (gGUITooltipText *tooltiptext) |
| void | showProgressBar (int style=0, gColor col=gColor(1.0f, 1.0f, 1.0f), float speed=1.0f) |
| void | hideProgressBar () |
| bool | isProgressShown () |
Public Member Functions inherited from gBaseGUIObject | |
| gBaseGUIObject () | |
| virtual | ~gBaseGUIObject () |
| int | getId () |
| int | getType () |
| void | setEnabled (bool isEnabled) |
| bool | isEnabled () |
| void | setTitleOn (bool isTitleOn) |
| bool | isTitleOn () |
| virtual void | setTopParent (gBaseGUIObject *parentGUIObject) |
| gBaseGUIObject * | getTopParent () |
| virtual void | setParent (gBaseGUIObject *parentGUIObject) |
| gBaseGUIObject * | getParent () |
| void | setParentSlotNo (int parentSlotLineNo, int parentSlotColumnNo) |
| int | getParentSlotLineNo () |
| int | getParentSlotColumnNo () |
| void | setTitle (std::string title) |
| std::string | getTitle () |
| virtual void | onGUIEvent (int guiObjectId, int eventType, int sourceEventType, std::string value1="", std::string value2="") |
| void | setRootApp (gBaseApp *root) |
| virtual void | setCursorOn (bool isOn) |
Public Member Functions inherited from gRenderObject | |
| gRenderObject () | |
| int | getScreenWidth () |
| int | getScreenHeight () |
| void | pushMatrix () |
| void | popMatrix () |
Public Member Functions inherited from gObject | |
| gObject () | |
| void | logi (std::string message) |
| void | logd (std::string message) |
| void | logw (std::string message) |
| void | loge (std::string message) |
| void | logi (std::string tag, std::string message) |
| void | logd (std::string tag, std::string message) |
| void | logw (std::string tag, std::string message) |
| void | loge (std::string tag, std::string message) |
Static Public Attributes | |
| static const int | EVENT_NONE = 0 |
| static const int | EVENT_MINIMIZE = 1 |
| static const int | EVENT_MAXIMIZE = 2 |
| static const int | EVENT_RESTORE = 3 |
| static const int | EVENT_EXIT = 4 |
| static const int | RESIZE_NONE = 0 |
| static const int | RESIZE_LEFT = 1 |
| static const int | RESIZE_RIGHT = 2 |
| static const int | RESIZE_TOP = 3 |
| static const int | RESIZE_BOTTOM = 4 |
Static Public Attributes inherited from gBaseGUIObject | |
| static const int | GUIEVENT_FOCUSED = -1 |
| static const int | GUIEVENT_UNFOCUSED = -2 |
| static const int | CURSOR_ARROW = 0 |
| static const int | CURSOR_IBEAM = 1 |
| static const int | CURSOR_CROSSHAIR = 2 |
| static const int | CURSOR_HAND = 3 |
| static const int | CURSOR_HRESIZE = 4 |
| static const int | CURSOR_VRESIZE = 5 |
| static int | focusid |
| static int | previousfocusid |
Static Public Attributes inherited from gObject | |
| static const int | LOGLEVEL_SILENT |
| static const int | LOGLEVEL_DEBUG |
| static const int | LOGLEVEL_INFO |
| static const int | LOGLEVEL_WARNING |
| static const int | LOGLEVEL_ERROR |
| anonymous enum |
| anonymous enum |
| gGUIDialogue::gGUIDialogue | ( | ) |
|
virtual |
|
virtual |
Reimplemented from gBaseGUIObject.
|
virtual |
Implements gBaseGUIObject.
| void gGUIDialogue::enableDrag | ( | bool | isDragEnabled | ) |
| void gGUIDialogue::enableResize | ( | bool | isResizeEnabled | ) |
| int gGUIDialogue::getButtonEvent | ( | ) |
| gGUIContainer * gGUIDialogue::getButtonsBar | ( | ) |
| gGUIButton * gGUIDialogue::getCancelButton | ( | ) |
| int gGUIDialogue::getCancelButtonId | ( | ) |
|
virtual |
Reimplemented from gGUIForm.
| int gGUIDialogue::getDialogueType | ( | ) |
| int gGUIDialogue::getIconType | ( | ) |
| gGUIContainer * gGUIDialogue::getMessageBar | ( | ) |
| std::string gGUIDialogue::getMessageText | ( | ) |
| gGUIButton * gGUIDialogue::getNoButton | ( | ) |
| int gGUIDialogue::getNoButtonId | ( | ) |
| gGUIButton * gGUIDialogue::getOKButton | ( | ) |
| int gGUIDialogue::getOKButtonId | ( | ) |
| gGUIContainer * gGUIDialogue::getTitleBar | ( | ) |
| int gGUIDialogue::getTitleType | ( | ) |
| gGUIButton * gGUIDialogue::getYesButton | ( | ) |
| int gGUIDialogue::getYesButtonId | ( | ) |
| bool gGUIDialogue::hide | ( | ) |
| bool gGUIDialogue::isShown | ( | ) |
|
virtual |
Reimplemented from gBaseGUIObject.
|
virtual |
Reimplemented from gBaseGUIObject.
|
virtual |
Reimplemented from gBaseGUIObject.
|
virtual |
Reimplemented from gBaseGUIObject.
|
virtual |
Reimplemented from gBaseGUIObject.
|
virtual |
Reimplemented from gBaseGUIObject.
| void gGUIDialogue::resetButtonsBar | ( | ) |
| void gGUIDialogue::resetMessageBar | ( | ) |
| void gGUIDialogue::resetTitleBar | ( | ) |
| void gGUIDialogue::setButtonEvent | ( | int | buttonEvent | ) |
| void gGUIDialogue::setDialogueType | ( | int | typeId | ) |
| void gGUIDialogue::setIconType | ( | int | iconId | ) |
| void gGUIDialogue::setIsMaximized | ( | bool | isMaximized | ) |
| void gGUIDialogue::setMessageBarSizer | ( | gGUISizer * | sizer | ) |
| void gGUIDialogue::setMessageText | ( | std::string | messageText | ) |
| void gGUIDialogue::setSizer | ( | gGUISizer * | guiSizer | ) |
| void gGUIDialogue::setTitle | ( | std::string | title | ) |
| void gGUIDialogue::setTitleType | ( | int | typeId | ) |
| bool gGUIDialogue::show | ( | ) |
| void gGUIDialogue::transformDialogue | ( | int | left, |
| int | top, | ||
| int | width, | ||
| int | height | ||
| ) |
|
virtual |
Implements gBaseGUIObject.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |