Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

C_ColorView Class Reference

GUI Object for color dysplaying. More...

#include <C_ColorView.h>


Public Member Functions

 C_ColorView (void)
 A constructor, Set all to 0.

 ~C_ColorView (void)
 Delete the BRUSH.

void DrawColorView (HDC hDc, RECT Size)
 Draw the color.

void DrawColorView (void)
 Draw the Color.

void SetColor (int R, int G, int B)
 Set the Color.

void SetColor (int Color)
 Set the Color.

LPDWORD GetColor ()
 Return the color.


Detailed Description

GUI Object for color dysplaying.

Display a calor :)


Constructor & Destructor Documentation

C_ColorView::C_ColorView void   ) 
 

A constructor, Set all to 0.

C_ColorView::~C_ColorView void   ) 
 

Delete the BRUSH.


Member Function Documentation

void C_ColorView::DrawColorView void   ) 
 

Draw the Color.

Used after the call of the first DrawColor (Data stored into the class)

void C_ColorView::DrawColorView HDC  hDc,
RECT  Size
 

Draw the color.

Parameters:
hDc Device context where draw
Size The size of the drawing

LPDWORD C_ColorView::GetColor  ) 
 

Return the color.

Returns:
A pointer to the BaseColor.
See also:
BaseColor

void C_ColorView::SetColor int  Color  ) 
 

Set the Color.

Parameters:
Color an integer wich already contain the RGB parts

void C_ColorView::SetColor int  R,
int  G,
int  B
 

Set the Color.

Parameters:
R Red part of the color
G Green part of the color
B Blue part of the color


The documentation for this class was generated from the following files:
Generated on Thu Jul 3 15:19:54 2003 for Sub Station Beta by doxygen1.3