00001 #include "classes.h" 00002 00003 class brightness : public color 00004 { 00005 public: 00006 brightness(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00007 void action(int location); 00008 }; 00009 00010 class contrast : public color 00011 { 00012 public: 00013 contrast(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00014 void action(int location); 00015 }; 00016 00017 class saturation : public color 00018 { 00019 public: 00020 saturation(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00021 void action(int location); 00022 }; 00023 00024 class hue : public color 00025 { 00026 public: 00027 hue(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00028 void action(int location); 00029 void changeValue(char _key); 00030 }; 00031 00032 class colorize : public color 00033 { 00034 public: 00035 colorize(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00036 void action(int location); 00037 void changeValue(char _key); 00038 }; 00039 00040 class gray : public color 00041 { 00042 public: 00043 gray(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00044 void action(int location); 00045 }; 00046 00047 class invert : public color 00048 { 00049 public: 00050 invert(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00051 void action(int location); 00052 }; 00053 00054 class channel : public color 00055 { 00056 public: 00057 channel(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00058 void action(int location); 00059 void changeMode(char _mode); 00060 }; 00061 00062 class posterize : public color 00063 { 00064 public: 00065 posterize(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00066 void action(int location); 00067 }; 00068 00069 class solarize : public color 00070 { 00071 public: 00072 solarize(ImageRGBA *_img = 0, ImageRGBA *_temp = 0, ImageRGBA *_temp2 = 0, ImageRGBA *_hud = 0, ImageRGBA *_menu = 0, bool _bArea = false, point _lowArea = 0, point _highArea = 0); 00073 void action(int location); 00074 }; 00075