#include <ColorRGBA.h>
Inheritance diagram for CSLColorRGBAProxy:

Public Member Functions |
|
| CSLColorRGBAProxy (CdotXSITemplate *in_pTemplate, SI_Long in_lIndexR, SI_Long in_lIndexG, SI_Long in_lIndexB, SI_Long in_lIndexA) | |
| Constructor. |
|
| CSLColorRGBAProxy & | operator= (const CSIBCColorf &in_rColor) |
| operator CSIBCColorf () | |
| CSLFloatProxy & | A () |
Class that allows modification of a RGBA parameter in a template
| CSLColorRGBAProxy | ( | CdotXSITemplate * | in_pTemplate, | |
| SI_Long | in_lIndexR, | |||
| SI_Long | in_lIndexG, | |||
| SI_Long | in_lIndexB, | |||
| SI_Long | in_lIndexA | |||
| ) |
Constructor.
| in_pTemplate | Template that contains the RGB values | |
| in_lIndexR | Index in the template for the red value | |
| in_lIndexG | Index in the template for the green value | |
| in_lIndexB | Index in the template for the blue value | |
| in_lIndexA | Index in the template for the alpha value |
| CSLColorRGBAProxy& operator= | ( | const CSIBCColorf & | in_rColor | ) |
Sets the RGBA value
| in_rColor | The new color |
Reimplemented from CSLColorRGBProxy.
| operator CSIBCColorf | ( | ) |
Conversion operator. Converts the color in this object to a CSIBCColorf object.
Reimplemented from CSLColorRGBProxy.
| CSLFloatProxy& A | ( | ) |
Gets the alpha value