class GmOptions |
The GmOptions class controls all GLAM options available to the user.
virtual const GlmColor4* | getColorOption (char* key) Gets a color value from the keys database. |
static GmOptions* | getInstance (char* configFile) Gets the instance of the GLAM options object and loads the given configuration file. |
static GmOptions* | getInstance () Gets the instance of the GLAM options object |
virtual const float | getScalarOption (char* key) Gets a scalar point value from the options database. |
virtual const char* | getStringOption (char* key) Gets a string option value from the options database. |
virtual void | loadConfigurationFile (char* configFile) Loads a set of configurations from a configuration file. |
The GmOptions class controls all GLAM options available to the user. Some configurable options include: display resolution, default size, etc
TOKEN VALUE
VALUE can be either a floating point scalar or RGBA quadlet. For example:
Text.Resolution 200.0
Text.Color 0.35 0.37 0.31 1.0
Text.Font "/usr/share/font/truetype/Arial.ttf"
@para stringOption the string option, which should include a key, value pair.
Text.Size 14.0
or
Text.Color 0.24 0.74 0.70 1.0
Alphabetic index HTML hierarchy of classes or Java