Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CRGBColor.h

Go to the documentation of this file.
00001 /*
00002         
00003         ZMACHINE 2.0 (SIGFRID)
00004 
00005         CRGBCOLOR.H
00006 
00007         author:                 Trombetta Roberto
00008         filename:               CRGBColor.h     
00009         description:    header file for rgb color objects 
00010         date:                   20/03/2003
00011 
00012 */
00013 
00014 #include "Zdef.h"
00015 #include "ZMacro.h"
00016 
00017 #ifndef __CRGBCOLOR_H_
00018 #define __CRGBCOLOR_H_
00019 
00021 
00027 class CRGBColor {
00028 
00029 public:
00030 
00032         zfloat  A;
00034         zfloat  R;
00036         zfloat  G;
00038         zfloat  B;
00039         
00041         CRGBColor ();
00042         
00044         void SetRGB (const zfloat &a, const zfloat &r, const zfloat &g, const zfloat &b);
00045                 
00047         zushort GetRGB1555 ();
00048                         
00049 
00050 };
00051 
00052 #endif // __CRGBCOLOR_H_



SourceForge.net Logo