00001 /* propertyeditor.h */ 00002 00003 #ifndef __PROPERTYEDITOR_H 00004 #define __PROPERTYEDITOR_H 00005 00006 #include <gtk/gtk.h> 00007 #include <vector> 00008 #include <string> 00009 #include "frame.h" 00010 00011 using namespace std; 00012 00013 static void PropertyEditor_string_enter_callback(GtkWidget *widget, Property *p); 00014 static void PropertyEditor_int_change_callback(GtkWidget *widget, Property *p); 00015 static void PropertyEditor_double_change_callback(GtkWidget *widget, Property *p); 00016 static void PropertyEditor_list_change_callback(GtkWidget *widget, Property *p); 00017 static void PropertyEditor_filename_clicked_callback(GtkWidget *widget, Property *p); 00018 static void PropertyEditor_filename_selected(GtkWidget *widget, Property *p); 00019 00020 00021 class PropertyEditor{ 00022 00023 public: 00024 PropertyEditor(GtkWidget *parentwindow); 00025 ~PropertyEditor(); 00026 00027 void set_object( Filter *); 00028 GtkWidget *label1; // title label 00029 00030 public: 00031 GtkWidget *window; 00032 00033 private: 00034 void create_gui(); 00035 void refresh_gui_table(); 00036 00037 //GtkWidget *parentwindow; 00038 00039 GtkWidget *vbox1; 00040 GtkWidget *table; 00041 Filter *selectedobject; 00042 00043 }; 00044 00045 00046 #endif
1.2.14 written by Dimitri van Heesch,
© 1997-2002