00001 #ifndef __FLESH_TONE_LOCATOR_TAG 00002 #define __FLESH_TONE_LOCATOR_TAG 00003 00004 #include "frame.h" 00005 #ifndef NO_GUI 00006 #include <gtk/gtk.h> 00007 #endif 00008 00012 struct tone_area{ 00013 int top_left_x; 00014 int top_left_y; 00015 int bottom_right_x; 00016 int bottom_right_y; 00017 00018 int area; 00019 int id; 00020 bool eaten; 00021 }; 00022 00023 00024 class flesh_tone_locator_filter: public Filter 00025 { 00026 public: 00027 00029 flesh_tone_locator_filter(); 00030 00031 00041 bool filter_frame(FrameClass & frame); 00042 00043 00044 }; 00045 00046 #ifdef DYNAMIC_LINK 00047 extern "C"{ 00048 Filter * create_instance(); 00049 00050 #ifndef NO_GUI 00051 GdkPixmap *create_icon(GtkWidget *drawing_area); 00052 #endif 00053 } 00054 #endif 00055 00056 #endif 00057
1.2.14 written by Dimitri van Heesch,
© 1997-2002