Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Display configuration base class. More...
#include <ilviews/base/config.h>
Public Member Functions | |
IlvDisplay * | getDisplay () const |
Gets the display instance. More... | |
IlAny | getUserArg () const |
Gets the user argument. More... | |
void | setDefaultBackground (const char *bgName, IlBoolean isMutable=IlFalse) |
Sets the default background color. More... | |
void | setDefaultBackground (IlvIntensity r, IlvIntensity g, IlvIntensity b, IlBoolean isMutable) |
Sets the default background color. More... | |
void | setDefaultForeground (const char *bgName, IlBoolean isMutable=IlFalse) |
Sets the default foreground color. More... | |
void | setDefaultForeground (IlvIntensity r, IlvIntensity g, IlvIntensity b, IlBoolean isMutable) |
Sets the default foreground color. More... | |
Friends | |
class | IlvDisplay |
Display configuration base class.
Library: display
The class IlvDisplayConfig
handles the display system-independent aspects of the configuration of an Rogue Wave Views application. It is the class type that is used in the display configuration callbacks (see IlvDisplay
constructors for details).
The current version of this library does not yet implement any general functions. However it will be extended in future versions.
IlvDisplay
. IlvDisplay* IlvDisplayConfig::getDisplay | ( | ) | const |
Gets the display instance.
IlvDisplay
instance that created this object. IlAny IlvDisplayConfig::getUserArg | ( | ) | const |
Gets the user argument.
IlvDisplay
constructor. Sets the default background color.
This member function enables you to force the default background color of the display to the color named bgName. If isMutable is set to IlTrue
, and if the display system allows it, the allocated color will be mutable.
bgName | The name of color to set to background. |
isMutable | Sets whether the color is a mutable color or not. |
void IlvDisplayConfig::setDefaultBackground | ( | IlvIntensity | r, |
IlvIntensity | g, | ||
IlvIntensity | b, | ||
IlBoolean | isMutable | ||
) |
Sets the default background color.
This member function enables you to force the default background color of the display to the color defined by the r, g, and b parameters. If isMutable is set to IlTrue
, and if the display system allows it, the allocated color will be mutable.
r | The red component of the color. |
g | The green component of the color. |
b | The blue component of the color. |
isMutable | Sets whether the color is a mutable color or not. |
Sets the default foreground color.
This member function enables you to force the default foreground color of the display to the color named fgName. If isMutable is set to IlTrue
, and if the display system allows it, the allocated color will be mutable.
fgName | The name of color to set to foreground. |
isMutable | Sets whether the color is a mutable color or not. |
void IlvDisplayConfig::setDefaultForeground | ( | IlvIntensity | r, |
IlvIntensity | g, | ||
IlvIntensity | b, | ||
IlBoolean | isMutable | ||
) |
Sets the default foreground color.
This member function enables you to force the default foreground color of the display to the color defined by the r, g, and b parameters. If isMutable is set to IlTrue
, and if the display system allows it, the allocated color will be mutable.
r | The red component of the color. |
g | The green component of the color. |
b | The blue component of the color. |
isMutable | Sets whether the color is a mutable color or not. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.