|
| | gGUITreelist () |
| |
| virtual | ~gGUITreelist () |
| |
| void | set (gBaseApp *root, gBaseGUIObject *topParentGUIObject, gBaseGUIObject *parentGUIObject, int parentSlotLineNo, int parentSlotColumnNo, int x, int y, int w, int h) |
| |
| void | removeElement (Element *element) |
| |
| void | addElement (Element *element) |
| |
| void | addElement (Element *element, Element *parent) |
| |
| void | insertData (Element *element, std::string newtitle) |
| |
| void | refreshList () |
| |
| void | clear () |
| |
| void | drawContent () |
| |
| void | mousePressed (int x, int y, int button) |
| |
| void | mouseReleased (int x, int y, int button) |
| |
| void | setChosenColor (float r, float g, float b) |
| |
| void | setVisibleLineNumber (int linenumber) |
| |
| void | setIconType (bool isicon) |
| |
| void | setIcon (gImage *icon, Element *element) |
| |
| void | setIcon (int iconid, Element *element) |
| |
| void | setIconsColor (float r, float g, float b) |
| |
| std::string | getTitle (Element *element) |
| |
| std::string | getTitle (int elementNo) |
| |
| std::string | getSelectedTitle () |
| |
| int | getNodenum () |
| |
| int | getOrderno (Element *element) |
| |
| bool | isExpanded (Element *element) |
| |
| bool | isParent (Element *element) |
| |
| bool | getIconType () |
| |
| gTexture * | getIcon (Element *element) |
| |
| gColor | getChosenColor () |
| |
| gColor | getIconsColor () |
| |
| int | getVisibleLineNumber () |
| |
| Element * | getRootElement () |
| |
| void | setSelectedLineNumber (int lineNo) |
| |
| int | getSelectedLineNumber () |
| |
| | gGUIScrollable () |
| |
| virtual | ~gGUIScrollable () |
| |
| void | enableScrollbars (bool isVerticalEnabled, bool isHorizontalEnabled) |
| |
| void | updateScrollbar () |
| |
| void | draw () |
| |
| virtual void | drawScrollbars () |
| |
| virtual void | windowResized (int w, int h) |
| |
| virtual void | mouseMoved (int x, int y) |
| |
| virtual void | mouseDragged (int x, int y, int button) |
| |
| virtual void | mouseScrolled (int x, int y) |
| |
| int | getVerticalScroll () |
| |
| gFbo * | getFbo () |
| |
| int | getTitleTop () |
| |
| void | setToolbarSpace (int toolbarW, int toolbarH) |
| |
| | gGUIControl () |
| |
| virtual | ~gGUIControl () |
| |
| virtual int | getCursor (int x, int y) |
| |
| virtual void | update () |
| |
| virtual int | calculateContentHeight () |
| |
| virtual bool | countAsSpace () |
| |
| void | setCountAsSpace (bool isSpace) |
| |
| | 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 | keyPressed (int key) |
| |
| virtual void | keyReleased (int key) |
| |
| virtual void | charPressed (unsigned int codepoint) |
| |
| virtual void | mouseEntered () |
| |
| virtual void | mouseExited () |
| |
| virtual void | onGUIEvent (int guiObjectId, int eventType, int sourceEventType, std::string value1="", std::string value2="") |
| |
| void | setRootApp (gBaseApp *root) |
| |
| virtual void | setCursorOn (bool isOn) |
| |
| | gRenderObject () |
| |
| int | getScreenWidth () |
| |
| int | getScreenHeight () |
| |
| void | pushMatrix () |
| |
| void | popMatrix () |
| |
| | 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) |
| |
|
| enum | { TEXTALIGNMENT_LEFT
, TEXTALIGNMENT_MIDDLE
, TEXTALIGNMENT_RIGHT
} |
| |
| static void | setBackgroundColor (gColor *backgroundColor) |
| |
| static gColor * | getBackgroundColor () |
| |
| static void | setMiddlegroundColor (gColor *middlegroundColor) |
| |
| static gColor * | getMiddlegroundColor () |
| |
| static void | setForegroundColor (gColor *foregroundColor) |
| |
| static gColor * | getForegroundColor () |
| |
| static void | setTextBackgroundColor (gColor *textBackgroundColor) |
| |
| static gColor * | getTextBackgroundColor () |
| |
| static void | setNavigationBackgroundColor (gColor *navigationBackgroundColor) |
| |
| static gColor * | getNavigationBackgroundColor () |
| |
| static void | setFont (gFont *font) |
| |
| static gFont * | getFont () |
| |
| static void | setFontColor (gColor *fontColor) |
| |
| static gColor * | getFontColor () |
| |
| static void | setNavigationFontColor (gColor *navigationFontColor) |
| |
| static gColor * | getNavigationFontColor () |
| |
| static void | setButtonColor (gColor *color) |
| |
| static gColor * | getButtonColor () |
| |
| static void | setPressedButtonColor (gColor *color) |
| |
| static gColor * | getPressedButtonColor () |
| |
| static void | setDisabledButtonColor (gColor *color) |
| |
| static gColor * | getDisabledButtonColor () |
| |
| static void | setButtonFontColor (gColor *color) |
| |
| static gColor * | getButtonFontColor () |
| |
| static void | setPressedButtonFontColor (gColor *color) |
| |
| static gColor * | getPressedButtonFontColor () |
| |
| static void | setDisabledButtonFontColor (gColor *color) |
| |
| static gColor * | getDisabledButtonFontColor () |
| |
| static void | setScreenSize (int screenWidth, int screenHeight) |
| |
| static void | setUnitScreenSize (int unitWidth, int unitHeight) |
| |
| static void | setScreenScaling (int screenScaling) |
| |
| static void | enableShadowMapping () |
| |
| static void | disableShadowMapping () |
| |
| static bool | isShadowMappingEnabled () |
| |
| static gRenderer * | getRenderer () |
| |
| static void | destroyRenderer () |
| |
| static void | createRenderer () |
| |
| static std::string | gGetAppDir () |
| |
| static std::string | gGetAssetsDir () |
| |
| static void | gSetAssetsDir (std::string assetsDir) |
| |
| static std::string | gGetFilesDir () |
| |
| static std::string | gGetImagesDir () |
| |
| static std::string | gGetFontsDir () |
| |
| static std::string | gGetModelsDir () |
| |
| static std::string | gGetTexturesDir () |
| |
| static std::string | gGetShadersDir () |
| |
| static std::string | gGetSoundsDir () |
| |
| static std::string | gGetDatabasesDir () |
| |
| static std::string | gGetVideosDir () |
| |
| static void | setCurrentResolution (int scalingNo, int currentResolutionNo) |
| |
| 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 const int | LOGLEVEL_SILENT |
| |
| static const int | LOGLEVEL_DEBUG |
| |
| static const int | LOGLEVEL_INFO |
| |
| static const int | LOGLEVEL_WARNING |
| |
| static const int | LOGLEVEL_ERROR |
| |
| bool | isPointInsideVerticalScrollbar (int x, int y, bool checkFullSize=false) |
| |
| bool | isPointInsideHorizontalScrollbar (int x, int y, bool checkFullSize=false) |
| |
| void | setDimensions (int width, int height) |
| |
| const int | barsize = 12 |
| |
| int | scrollamount = 8 |
| |
| int | boxw = 0 |
| |
| int | boxh = 0 |
| |
| int | totalw = 0 |
| |
| int | totalh = 0 |
| |
| int | verticalscroll = 0 |
| |
| int | horizontalscroll = 0 |
| |
| int | verticalscrollbarpos = 0 |
| |
| int | horizontalscrollbarpos = 0 |
| |
| int | scrollbarverticalsize = 0 |
| |
| int | scrollbarhorizontalsize = 0 |
| |
| bool | isdraggingverticalscroll = false |
| |
| int | verticalscrolldragstart = 0 |
| |
| float | verticalscrollclickedtime = 0.0f |
| |
| bool | isdragginghorizontalscroll = false |
| |
| int | horizontalscrolldragstart = 0 |
| |
| float | horizontalscrollclickedtime = 0.0f |
| |
| bool | countasspace |
| |
| int | oldwidth |
| |
| int | oldheight |
| |
| std::string | title |
| |
| gBaseApp * | root |
| |
| gBaseGUIObject * | topparent |
| |
| gBaseGUIObject * | parent |
| |
| bool | isenabled |
| |
| bool | istitleon |
| |
| int | parentslotlineno |
| |
| int | parentslotcolumnno |
| |
| static gColor * | backgroundcolor |
| |
| static gColor * | middlegroundcolor |
| |
| static gColor * | foregroundcolor |
| |
| static gColor * | textbackgroundcolor |
| |
| static gColor * | navigationbackgroundcolor |
| |
| static gFont * | font |
| |
| static gColor * | fontcolor |
| |
| static gColor * | navigationfontcolor |
| |
| static gColor * | buttoncolor |
| |
| static gColor * | pressedbuttoncolor |
| |
| static gColor * | disabledbuttoncolor |
| |
| static gColor * | buttonfontcolor |
| |
| static gColor * | pressedbuttonfontcolor |
| |
| static gColor * | disabledbuttonfontcolor |
| |
| static gGUIActionManager | actionmanager |
| |
| static gGUIResources | res |
| |
| static bool | isshadowmappingenabled |
| |
| static int | renderpassnum |
| |
| static int | renderpassno |
| |
| static int | releasescaling |
| |
| static int | releaseresolution |
| |