Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TSE3::PresetColours Class Reference

A collection of application display parameter values. More...

#include <DisplayParams.h>

Inheritance diagram for TSE3::PresetColours:

Inheritance graph
[legend]
Collaboration diagram for TSE3::PresetColours:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PresetColours ()
void colour (int preset, int &r, int &g, int &b)
void setColour (int preset, int r, int g, int b)

Detailed Description

A collection of application display parameter values.

This class holds information about a set of global colours that can be used by a DisplayParams object whose DisplayParams::style() is set to PresetColour.

Author:
Pete Goodliffe
Version:
3.00
See also:
DisplayParams


Constructor & Destructor Documentation

TSE3::PresetColours::PresetColours  ) 
 


Member Function Documentation

void TSE3::PresetColours::colour int  preset,
int &  r,
int &  g,
int &  b
[inline]
 

Returns the RGB values of the specified preset colour in the reference parameters. The colour is returned as RGB values, each between 0-255.

Parameters:
preset DisplayParams::PresetColours value to read RGB values for If you pass an invalid preset value, then the result is undefined.
r Integer the blue value is returned in (0-255)
g Integer the green value is returned in (0-255)
b Integer the red value is returned in (0-255)
See also:
setColour

void TSE3::PresetColours::setColour int  preset,
int  r,
int  g,
int  b
 

Sets the preset colour's RGB value.

Parameters:
preset DisplayParams::PresetColours value to set RGB values for If you pass an invalid preset value, then the result is undefined.
r New blue value (0-255)
g New green value (0-255)
b New red value (0-255)
See also:
colour


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:46:06 2005 for TSE3 by doxygen 1.3.2