Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Color_Scales.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Color
 Color structure containing RGB values. More...
 

Enumerations

enum  Color_Scale_t {
  SCALE_TEMPERATURE, SCALE_FIRE, SCALE_ICE, SCALE_GREYSCALE,
  SCALE_THREE_LVL, SCALE_THREE_LVL_LINEAR, SCALE_THREE_LVL_LINEAR_NARROW, SCALE_GOOD_AND_EVIL,
  SCALE_COUNT
}
 

Functions

Color_Scale_t Color_Scale_from_name (char *name)
 
static void factor_to_color (struct Color *col, double factor, Color_Scale_t scale_type)
 factor_to_color More...
 

Variables

static const char *const Color_Scale_names [SCALE_COUNT]
 

Enumeration Type Documentation

Enumerator
SCALE_TEMPERATURE 
SCALE_FIRE 
SCALE_ICE 
SCALE_GREYSCALE 
SCALE_THREE_LVL 
SCALE_THREE_LVL_LINEAR 
SCALE_THREE_LVL_LINEAR_NARROW 
SCALE_GOOD_AND_EVIL 
SCALE_COUNT 

Definition at line 5 of file Color_Scales.h.

Function Documentation

Color_Scale_t Color_Scale_from_name ( char *  name)

Definition at line 7 of file Color_Scales.c.

Variable Documentation

const char* const Color_Scale_names[SCALE_COUNT]
static
Initial value:
=
{
"temperature",
"fire",
"ice",
"greyscale",
"three levels",
"three levels linear",
"three levels linear narrow",
"good and evil"
}

Definition at line 19 of file Color_Scales.h.