Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

color.h

Go to the documentation of this file.
00001 
00035 #ifndef COLOR_H
00036 #define COLOR_H
00037 
00038 #include <iostream>
00039 #include <stdio.h>
00040 #include <stdlib.h>
00041 #include <string.h>
00042 #include "my_types.h"
00043 
00044 #ifdef GRAPHICS
00045 #include <FL/Fl.h>
00046 #include <FL/Fl_Window.h>
00047 #include <FL/Fl_Gl_Window.h>
00048 #include <FL/Fl_Input.h>
00049 #include <FL/Fl_Box.h>
00050 #include <FL/Fl_Choice.h>
00051 #include <FL/fl_ask.h>
00052 #include <FL/fl_draw.h>
00053 #include <FL/fl_file_chooser.h>
00054 #include <FL/Fl_Menu_Bar.h>
00055 #endif
00056 
00057 class ap_color
00058 {
00059     public:
00060         byte r;    
00061         byte g;    
00062         byte b;    
00063         byte a;    
00064 
00071         void set ( int r, int g, int b, int a );
00072 
00081         ap_color ( double r, double g, double b, double a=1.0 );
00082 
00089         ap_color ( int r, int g, int b, int a=255 );
00090 
00096         ap_color ();
00097 };
00098 
00099 #endif

Generated on Thu Nov 27 08:17:11 2003 for Animp - Animated Particles by doxygen 1.3.2