rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvDisplayConfig Class Reference

Display configuration base class. More...

#include <ilviews/base/config.h>

Inheritance diagram for IlvDisplayConfig:
IlvWindowsDisplayConfig IlvXDisplayConfig

List of all members.

Public Member Functions

IlvDisplaygetDisplay () const
 Gets the display instance.
IlAny getUserArg () const
 Gets the user argument.
void setDefaultBackground (IlvIntensity r, IlvIntensity g, IlvIntensity b, IlBoolean isMutable)
 Sets the default background color.
void setDefaultBackground (const char *bgName, IlBoolean isMutable=((IlBoolean) 0))
 Sets the default background color.
void setDefaultForeground (IlvIntensity r, IlvIntensity g, IlvIntensity b, IlBoolean isMutable)
 Sets the default foreground color.
void setDefaultForeground (const char *bgName, IlBoolean isMutable=((IlBoolean) 0))
 Sets the default foreground color.

Friends

class IlvDisplay

Detailed Description

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.

See also:
IlvDisplay.

Member Function Documentation

IlvDisplay* IlvDisplayConfig::getDisplay (  )  const

Gets the display instance.

Returns:
A pointer to the IlvDisplay instance that created this object.
IlAny IlvDisplayConfig::getUserArg (  )  const

Gets the user argument.

Returns:
The user parameter provided in the IlvDisplay constructor.
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.

Parameters:
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.
void IlvDisplayConfig::setDefaultBackground ( const char *  bgName,
IlBoolean  isMutable = ((IlBoolean) 0) 
)

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.

Parameters:
bgName The name of color to set to background.
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.

Parameters:
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.
void IlvDisplayConfig::setDefaultForeground ( const char *  bgName,
IlBoolean  isMutable = ((IlBoolean) 0) 
)

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.

Parameters:
fgName The name of color to set to foreground.
isMutable Sets whether the color is a mutable color or not.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.