1 /* wind_dialog.h: wind erosion dialogs 2 * 3 * Copyright (C) 2005 Patrice St-Gelais 4 * patrstg@users.sourceforge.net 5 * www.oricom.ca/patrice.st-gelais 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 */ 21 22 #ifndef _WIND_DIALOG 23 #define _WIND_DIALOG 1 24 25 #include "globals.h" 26 #include <gtk/gtk.h> 27 28 typedef struct { 29 GtkWidget *dialog; 30 GtkWidget *accept; 31 GtkObject *adj_steps; 32 GtkObject *adj_wind_speed; 33 GtkObject *adj_slope_threshold; 34 GtkObject *adj_a; 35 GtkObject *adj_b; 36 gpointer parent_data; 37 gint process; // RIPPLES or DUNES 38 } wind_dialog_struct; 39 40 wind_dialog_struct *wind_dialog_struct_new(gint process, gpointer parent_data); 41 42 void wind_dialog_struct_free(wind_dialog_struct *); 43 44 GtkWidget *wind_ripples_dialog_new(gpointer hfw_ptr); 45 void ripples_callb(GtkWidget *wdg, gpointer data) ; 46 47 GtkWidget *wind_dunes_dialog_new(gpointer hfw_ptr); 48 void dunes_callb(GtkWidget *wdg, gpointer data) ; 49 50 51 /* 52 GtkWidget *dunes_dialog_new(gpointer data); 53 void dunes_callb(GtkWidget *wdg, gpointer data) ; 54 */ 55 56 #endif // _WIND_DIALOG 57