00001 #ifndef _WINC_RGB 00002 #define _WINC_RGB 00003 00004 namespace WXP { 00005 struct RGB { 00006 float red; 00007 float grn; 00008 float blu; 00010 RGB(); 00011 int init(); 00012 int set( float r, float g, float b ); 00013 inline float getRed(){ return red; }; 00014 inline float getGrn(){ return grn; }; 00015 inline float getBlu(){ return blu; }; 00016 bool isWhite(); 00017 bool isBlack(); 00018 int print(); 00019 }; 00020 } 00021 #endif
1.6.1