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

Draw.h

Go to the documentation of this file.
00001 /***********************************************************************
00002 
00003   FinalMix: Frame.h
00004   by Martin Decky
00005   
00006   Redistribution of this file is permitted under the GNU Public License.
00007 
00008   0.9.0     Initial version
00009   0.9.5     Documentation
00010 
00011 ***********************************************************************/
00012 
00013 
00014 #ifndef _FM_DRAW_H_
00015 #define _FM_DRAW_H_
00016 
00017 
00018 #include <wx/brush.h>
00019 #include <wx/pen.h>
00020 #include <wx/dc.h>
00021 
00022 
00029 class Draw {
00030     public:
00031         static void Init(); 
00033         static void Bevel(wxDC & dc, const bool up, wxRect & r); 
00035         static void Light(wxDC * dc, const bool selected);  
00036         static void Medium(wxDC * dc, const bool selected); 
00037         static void Dark(wxDC * dc, const bool selected);   
00038         static void Peak(wxDC * dc, const bool selected);   
00039         static void XCursor(wxDC * dc);                     
00041         static wxBrush lightBrush[2];  
00042         static wxBrush mediumBrush[2]; 
00043         static wxBrush darkBrush[2];   
00044         static wxPen lightPen[2];      
00045         static wxPen mediumPen[2];     
00046         static wxPen darkPen[2];       
00047         static wxPen peakPen[2];       
00048         static wxPen xcursorPen;       
00049     private:
00050         static bool inited; 
00051 };
00052 
00053 #endif

Generated on Wed Jul 28 17:17:42 2004 for FinalMix by doxygen 1.3.5