CrystalSpace

Public API Reference

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

csColorScheme Struct Reference
[Skin support]

This structure is used to change color scheme. More...

#include <cswspal.h>

List of all members.

Public Attributes

int BaseTone
 Base tone for scheme (e.g. red, cyan, gray etc).

int8 Color
 (H) The difference (-100..0..+100) between the base tone and other colors

int8 Contrast
 (L) Contrast (-100..0..+100) betweem base tone and bright/dark variants

int8 Blend
 (S) The attraction factor (-100..0..+100) towards base tone


Detailed Description

This structure is used to change color scheme.

The Color, Contrast and Blend values gives control over the overall palette look, besides the "BaseTone", which defines the "base" color for scheme. The "normal" values for Color,Contrast,Blend are 100, which means the respective parameters will get same value like in the "default" palette.

Definition at line 106 of file cswspal.h.


Member Data Documentation

int csColorScheme::BaseTone
 

Base tone for scheme (e.g. red, cyan, gray etc).

Definition at line 109 of file cswspal.h.

int8 csColorScheme::Blend
 

(S) The attraction factor (-100..0..+100) towards base tone

Definition at line 115 of file cswspal.h.

int8 csColorScheme::Color
 

(H) The difference (-100..0..+100) between the base tone and other colors

Definition at line 111 of file cswspal.h.

int8 csColorScheme::Contrast
 

(L) Contrast (-100..0..+100) betweem base tone and bright/dark variants

Definition at line 113 of file cswspal.h.


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