![]() TGE Version 1.5.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GuiTabBookCtrl Class Reference#include <guiTabBookCtrl.h>
Inheritance diagram for GuiTabBookCtrl: ![]() Detailed DescriptionTab Book Control for creation of tabbed dialogs.
IntroductionGuiTabBookCtrl is a container class that holds children of type GuiTabPageCtrlGuiTabBookCtrl creates an easy to work with system for creating tabbed dialogs allowing for creation of dialogs that store alot of information in a small area by seperating the information into pages which are changeable by clicking their page title on top or bottom of the control tabs may be aligned to be on top or bottom of the book and are changeable while the GUI editor is open for quick switching between pages allowing multipage dialogs to be edited quickly and easily. The control may only contain children of type GuiTabPageCtrl. If a control is added to the Book that is not of type GuiTabPageCtrl, it will be removed and relocated to the currently active page of the control. If there is no active page in the book, the child control will be relocated to the parent of the book. The Graphical User Interface (GUI) has an overview of the GUI system.
Member Typedef Documentation
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
Register dynamic fields in a subclass of ConsoleObject.
Reimplemented from GuiControl.
Called when this object is asked to wake up returns true if it's actually awake at the end.
Reimplemented from GuiControl.
Called when this control is to render itself.
Reimplemented from GuiControl.
Tab rendering routine, iterates through all tabs rendering one at a time.
Tab rendering subroutine, renders one tab with specified options.
Page Rendering Routine.
Create a new tab page child in the book. Pages created are not titled and appear with no text on their tab when created. This may change in the future. Select a tab page based on an index.
Select a tab page by a pointer to that page.
Select the Next page in the tab book.
Select the Previous page in the tab book.
Checks to see if a tab option has changed and we need to resize children, resizes if necessary.
Calculate the tab width of a page, given it's caption.
Calculate Page Header Information.
Find the tab that was hit by the current event, if any.
Find the tab that was hit, based on a point.
Rezize our control This method is overridden so that we may handle resizing of our child tab pages when we are resized. This ensures we keep our sizing in sync when we are moved or sized.
Reimplemented from GuiControl.
Called when a child page is resized This method is overridden so that we may handle resizing of our child tab pages when one of them is resized. This ensures we keep our sizing in sync when we our children are sized or moved.
Reimplemented from GuiControl.
Happens when a key is depressed.
Reimplemented from GuiControl.
Reimplemented from GuiControl.
Reimplemented from GuiControl.
Reimplemented from GuiControl. Called when a mouseDown event occurs on a control and the GUI editor is active.
Reimplemented from GuiControl.
Field Documentation
Rectangle of the tab page portion of the control.
Rectangle of the tab portion of the control.
Vector of pages contained by the control.
Pointer to the active (selected) tab page child control.
Pointer to the tab page that currently has the mouse positioned ontop of its tab.
Minimum Width a tab will display as.
Current tab position (see alignment).
Last known tab position, stored to compare to tabPosition to know when to resize children.
Current tab height.
Last known tab height, stored to compare to current tabHeight to know when to resize children.
Current tab width.
Last know tab width, stored to compare to current tabWidth to know when to resize children.
Margin left/right of tab text in tab.
Indicates whether we have a texture to render the tabs with.
Array of rectangles identifying textures for tab book.
|