1 /* 2 * DO NOT EDIT THIS FILE - it is generated by Glade. 3 */ 4 5 #define OPEN_3D_OBJ 1 6 #define OPEN_2D_OBJ 2 7 #define OPEN_MAP 3 8 #define SAVE_MAP 4 9 #define OPEN_PARTICLES_OBJ 5 10 #define SAVE_PARTICLE_DEF 6 11 #define OPEN_EYE_CANDY_OBJ 7 12 13 extern char* selected_file; 14 15 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 16 #include <gtk/gtk.h> 17 18 #ifdef GTK2 19 20 extern char map_file_name[256]; 21 extern char particle_file_name[256]; 22 extern char map_folder[256]; 23 extern char obj_2d_folder[256]; 24 extern char obj_3d_folder[256]; 25 extern char particles_folder[256]; 26 27 extern GtkWidget * gtk_effect_win; 28 extern GtkWidget * gtk_effect_list_box; 29 extern GtkWidget * gtk_effect_hue_box; 30 extern GtkWidget * gtk_effect_saturation_box; 31 extern GtkWidget * gtk_effect_scale_box; 32 extern GtkWidget * gtk_effect_density_box; 33 extern GtkWidget * gtk_effect_base_height_box; 34 extern GtkWidget * gtk_effect_list; 35 extern GtkWidget * gtk_effect_hue; 36 extern GtkWidget * gtk_effect_saturation; 37 extern GtkWidget * gtk_effect_scale; 38 extern GtkWidget * gtk_effect_density; 39 extern GtkObject * gtk_effect_hue_obj; 40 extern GtkObject * gtk_effect_saturation_obj; 41 extern GtkObject * gtk_effect_scale_obj; 42 extern GtkObject * gtk_effect_density_obj; 43 extern GtkWidget * gtk_effect_base_height; 44 extern GtkFileFilter * e3d_filter; 45 extern GtkFileFilter * e2d_filter; 46 extern GtkFileFilter * map_filter; 47 extern GtkFileFilter * part_filter; 48 49 void init_filters(); 50 void show_open_window(char * name, char * folder, GtkFileFilter * filter); 51 void show_save_window(char * name, char * folder, char * select, GtkFileFilter *filter); 52 void show_eye_candy_window(); 53 #else 54 extern int continue_with; 55 extern GtkWidget* file_selector; 56 extern GtkWidget* effect_selector; 57 extern GtkWidget* create_fileselection (void); 58 #endif 59