doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions
DialogColorPicker.h File Reference
#include "CDib.h"

Go to the source code of this file.

Classes

struct  RGBType
 
struct  HSVType
 
struct  LineDesc
 
class  CDialogColorPicker
 

Macros

#define RADIUS   100
 
#define PI   3.14159265358
 
#define RECT_WIDTH   5
 
#define TOSCALE(x)   (((x)*RADIUS)/255.0)
 
#define SCALETOMAX(x)   (((x)*255.0)/RADIUS)
 
#define RED   0
 
#define GREEN   1
 
#define BLUE   2
 
#define BAD_SLOPE   1000000.0
 

Functions

bool DoNewColor (int *i1, int *i2, int *i3, float *overBright, void(*Update)(float, float, float, float)=NULL)
 

Macro Definition Documentation

#define BAD_SLOPE   1000000.0

Definition at line 50 of file DialogColorPicker.h.

#define BLUE   2

Definition at line 48 of file DialogColorPicker.h.

#define GREEN   1

Definition at line 47 of file DialogColorPicker.h.

#define PI   3.14159265358

Definition at line 38 of file DialogColorPicker.h.

#define RADIUS   100

Definition at line 37 of file DialogColorPicker.h.

#define RECT_WIDTH   5

Definition at line 40 of file DialogColorPicker.h.

#define RED   0

Definition at line 46 of file DialogColorPicker.h.

#define SCALETOMAX (   x)    (((x)*255.0)/RADIUS)

Definition at line 43 of file DialogColorPicker.h.

#define TOSCALE (   x)    (((x)*RADIUS)/255.0)

Definition at line 42 of file DialogColorPicker.h.

Function Documentation

bool DoNewColor ( int i1,
int i2,
int i3,
float overBright,
void(*)(float, float, float, float Update = NULL 
)

Definition at line 1299 of file DialogColorPicker.cpp.