CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csGradientShade Struct Reference

An entry in a csGradient gradient. More...

#include <gradient.h>

List of all members.

Public Methods

 csGradientShade ()
 Construct with all values set to 0. More...

 csGradientShade (csColor left_color, csColor right_color, float pos)
 Construct supplying all values. More...

 csGradientShade (csColor color, float pos)
 Construct using a color and position. More...


Public Attributes

csColor left
 Color of the left side. More...

csColor right
 Color of the right side. More...

float position
 Position in the gradient. More...


Detailed Description

An entry in a csGradient gradient.

Definition at line 36 of file gradient.h.


Constructor & Destructor Documentation

csGradientShade::csGradientShade  
 

Construct with all values set to 0.

csGradientShade::csGradientShade csColor    left_color,
csColor    right_color,
float    pos
 

Construct supplying all values.

csGradientShade::csGradientShade csColor    color,
float    pos
 

Construct using a color and position.

Both left and right will have the value of color.


Member Data Documentation

csColor csGradientShade::left
 

Color of the left side.

Definition at line 39 of file gradient.h.

float csGradientShade::position
 

Position in the gradient.

Definition at line 43 of file gradient.h.

csColor csGradientShade::right
 

Color of the right side.

Definition at line 41 of file gradient.h.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14