![]() TGE Version 1.5.2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GuiControlProfile Class Reference#include <guiTypes.h>
Inheritance diagram for GuiControlProfile: ![]() Detailed DescriptionA GuiControlProfile is used by every GuiObject and is akin to a datablock.It is used to control information that does not change or is unlikely to change during execution of a program. It is also a level of abstraction between script and GUI control so that you can use the same control, say a button, and have it look completly different just with a different profile.
Member Typedef Documentation
Reimplemented from SimObject.
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
Register dynamic fields in a subclass of ConsoleObject.
Reimplemented from SimObject.
This method creates an array of bitmaps from one single bitmap with seperator color. The seperator color is whatever color is in pixel 0,0 of the bitmap. For an example see darkWindow.png and some of the other UI textures. It returns the number of bitmaps in the array it created It also stores the sizes in the mBitmapArrayRects vector.
Field DocumentationUsed to determine if any controls are using this profile.
True if this object is accessable from using the tab key.
True if the object can be given keyboard focus (in other words, made a first responder.
True if this is a Modeless dialog meaning it will pass input through instead of taking it all.
True if this object is not translucent.
Fill color, this is used to fill the bounds of the control if it is opaque.
This is used insetead of mFillColor if the object is highlited.
This is used to instead of mFillColor if the object is not active or disabled.
For most controls, if mBorder is > 0 a border will be drawn, some controls use this to draw different types of borders however.
Border thickness.
Border color, used to draw a border around the bounds if border is enabled.
Used instead of mBorderColor when the object is highlited.
Used instead of mBorderColor when the object is not active or disabled.
Used for the high-light part of the bevel.
Used for the low-light part of the bevel.
Font face name for the control.
Font size for the control.
Array of font colors used for drawText with escape characters for changing color mid-string.
Main font color.
Highlited font color.
Font color when object is not active/disabled.
Font color when object/text is selected.
Font character set.
Font resource.
Horizontal text alignment.
Auto-size the width-bounds of the control to fit it's contents.
Auto-size the height-bounds of the control to fit it's contents.
Used in GuiTextEditCtrl to specify if a tab-event should be simulated when return is pressed.
For text controls, true if this should only accept numerical data.
True if this object should be "selected" while the mouse is over it.
Color for the blinking cursor in text fields (for example).
Text offset for the control.
Bitmap file name for the bitmap of the control.
Texture handle for the control.
Used for controls which use an array of bitmaps such as checkboxes.
Sound played when the object is "down" ie a button is pushed.
Sound played when the mouse is over the object.
Profile used with children controls (such as the scroll bar on a popup menu) when defined.
|