#include <LayoutScheme.h>
Protected Member Functions | |
| ImageAndColorInfo * | findEntry (StateIdentifier id) |
Protected Attributes | |
| char | m_schemeFilename [_MAX_PATH] |
| filename | |
| ImageAndColorInfo | m_imageAndColorTable [NUM_STATE_IDENTIFIERS] |
| TextDrawData | m_enabledText |
| default text colors | |
| TextDrawData | m_disabledText |
| default text colors | |
| TextDrawData | m_hiliteText |
| default text colors | |
| GameFont * | m_font |
| default font | |
The layout scheme provides a place for default look of newly created controls and windows
Definition at line 68 of file LayoutScheme.h.
| LayoutScheme::LayoutScheme | ( | void | ) |
Definition at line 1481 of file LayoutScheme.cpp.
| LayoutScheme::~LayoutScheme | ( | void | ) |
Definition at line 1499 of file LayoutScheme.cpp.
| void LayoutScheme::applyPropertyTablesToWindow | ( | GameWindow * | root | ) |
apply the image and color info stored in the state identifer tables used for "property editing" to all appropriate windows currently loaded in the editor
Definition at line 441 of file LayoutScheme.cpp.
|
protected |
Find the entry for the state
Definition at line 2172 of file LayoutScheme.cpp.
|
inline |
Definition at line 134 of file LayoutScheme.h.
|
inline |
Definition at line 133 of file LayoutScheme.h.
|
inline |
Definition at line 132 of file LayoutScheme.h.
|
inline |
Definition at line 131 of file LayoutScheme.h.
|
inline |
Definition at line 144 of file LayoutScheme.h.
|
inline |
Definition at line 136 of file LayoutScheme.h.
|
inline |
Definition at line 135 of file LayoutScheme.h.
| ImageAndColorInfo * LayoutScheme::getImageAndColor | ( | StateIdentifier | id | ) |
Get the color and color info for the state
Definition at line 2201 of file LayoutScheme.cpp.
|
inline |
get the scheme filename
Definition at line 129 of file LayoutScheme.h.
| void LayoutScheme::init | ( | void | ) |
Init
Definition at line 1522 of file LayoutScheme.cpp.
| Bool LayoutScheme::loadScheme | ( | char * | filename | ) |
load the scheme file
Load the layout scheme into this class instance
Definition at line 2334 of file LayoutScheme.cpp.
| void LayoutScheme::openDialog | ( | void | ) |
open the scheme info and editing dialog
Bring up the layout scheme dialog box
Definition at line 2155 of file LayoutScheme.cpp.
| Bool LayoutScheme::saveScheme | ( | char * | filename | ) |
save the current scheme to file
Save the scheme to the filename provided
Definition at line 2252 of file LayoutScheme.cpp.
|
inline |
Definition at line 140 of file LayoutScheme.h.
|
inline |
Definition at line 139 of file LayoutScheme.h.
|
inline |
Definition at line 138 of file LayoutScheme.h.
|
inline |
Definition at line 137 of file LayoutScheme.h.
|
inline |
Definition at line 143 of file LayoutScheme.h.
|
inline |
Definition at line 142 of file LayoutScheme.h.
|
inline |
Definition at line 141 of file LayoutScheme.h.
|
inline |
set the scheme filename
Definition at line 130 of file LayoutScheme.h.
| void LayoutScheme::storeImageAndColor | ( | StateIdentifier | id, |
| const Image * | image, | ||
| Color | color, | ||
| Color | borderColor ) |
Store the image and colors of the specific state in our own data array
Definition at line 2222 of file LayoutScheme.cpp.
|
protected |
default text colors
Definition at line 119 of file LayoutScheme.h.
|
protected |
default text colors
Definition at line 118 of file LayoutScheme.h.
|
protected |
default font
Definition at line 122 of file LayoutScheme.h.
|
protected |
default text colors
Definition at line 120 of file LayoutScheme.h.
|
protected |
Definition at line 117 of file LayoutScheme.h.
|
protected |
filename
Definition at line 115 of file LayoutScheme.h.