00001 #ifndef FILL_SURFACE_H 00002 #define FILL_SURFACE_H 00003 00013 #include "surfaceInterface.h" 00014 #include "colors.h" 00015 00016 00020 class FillSurface : public SurfaceInterface { 00021 VXV::Rect draw_size; 00022 unsigned long draw_color; 00023 SurfaceInterface* draw_surface; 00024 00025 public: 00032 FillSurface(const VXV::Rect& size, unsigned long color = White); 00033 00040 FillSurface(const VXV::Rect& size, SurfaceInterface* surface); 00041 virtual ~FillSurface(void); 00042 bool draw(const VXV::Rect& size, 00043 const VXV::Grid& pos, unsigned long ticks); 00044 }; 00045 00046 #endif /* !FILL_SURFACE_H */ 00047