00001 #include "classes.h" 00002 00003 #ifndef __EFFECTS_H__ 00004 #define __EFFECTS_H__ 00005 00006 class scroll : public tools 00007 { 00008 public: 00009 scroll(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00010 void idleAction(); 00011 void LBAction(); 00012 void RBAction(); 00013 }; 00014 00015 class selection : public tools 00016 { 00017 public: 00018 selection(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00019 void moveAction(); 00020 void LBAction(); 00021 void RBAction(); 00022 }; 00023 00024 00025 class draw : public tools 00026 { 00027 public: 00028 draw(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00029 void idleAction(); 00030 void changeMode(char _mode); 00031 void LB(bool _state); 00032 void RBAction(); 00033 void colorChangeAction(); 00034 }; 00035 00036 class telescope : public tools 00037 { 00038 public: 00039 telescope(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00040 void idleAction(); 00041 void LBAction(); 00042 void changeMode(char _mode); 00043 void changeValue(char _key); 00044 }; 00045 00046 #endif