1 /* hf_tools_dialog.h - headers for height field tools dialog class 2 * 3 * Copyright (C) 2001, 2006 Patrice St-Gelais 4 * patrstg@users.sourceforge.net 5 * http://geomorph.sourceforge.net 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 _HF_TOOLS_DIALOG 23 #define _HF_TOOLS_DIALOG 1 24 25 #include <gtk/gtk.h> 26 27 // Context (dialog ID) 28 29 #ifndef DRAW_TOOLS_CONTEXT 30 #define DRAW_TOOLS_CONTEXT 1 31 #endif 32 #ifndef TRANSFORM_CONTEXT 33 #define TRANSFORM_CONTEXT 2 34 #endif 35 #ifndef FOURIER_CONTEXT 36 #define FOURIER_CONTEXT 3 37 #endif 38 39 GtkWidget* hf_tools_dialog_new (GtkWidget *window, GtkTooltips *tooltips, 40 gpointer hf_options, gpointer callb_data); 41 42 void draw_tools_callb(GtkWidget *,gpointer ); 43 void transform_callb(GtkWidget *, gpointer ); 44 void fourier_callb(GtkWidget *, gpointer ); 45 46 #endif // _HF_TOOLS_DIALOG 47