1 /* 2 * Copyright (C) 2002 2003 2004 2005 2008 2009 2011 2012, Magnus Hjorth 3 * 4 * This file is part of mhWaveEdit. 5 * 6 * mhWaveEdit is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * mhWaveEdit is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with mhWaveEdit; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 19 */ 20 21 #ifndef CONFIGDIALOG_H_INCLUDED 22 #define CONFIGDIALOG_H_INCLUDED 23 24 #include <gtk/gtk.h> 25 #include "int_box.h" 26 #include "combo.h" 27 #include "formatselector.h" 28 29 #define CONFIG_DIALOG(obj) GTK_CHECK_CAST(obj,config_dialog_get_type(),ConfigDialog) 30 #define CONFIG_DIALOG_CLASS(klass) GTK_CHECK_CLASS_CAST(klass,config_dialog_get_type(),ConfigDialogClass) 31 #define IS_CONFIG_DIALOG(obj) GTK_CHECK_TYPE(obj,config_dialog_get_type()) 32 33 typedef struct { 34 GtkWindow window; 35 Intbox *disk_threshold; 36 Combo *sound_driver; 37 GtkButton *sound_driver_prefs; 38 Intbox *sound_buffer_size; 39 GtkEntry *mixer_utility; 40 GtkToggleButton *time_scale_default,*sound_lock,*roll_cursor,*improve; 41 GtkToggleButton *vzoom_default, *hzoom_default,*speed_default,*labels_default; 42 GtkToggleButton *bufpos_default; 43 GtkToggleButton *output_bswap,*center_cursor,*mark_autoplay; 44 GtkToggleButton *mainwin_front,*varispeed_enable,*varispeed_autoreset; 45 GtkToggleButton *varispeed_fast,*dither_editing,*dither_playback; 46 GtkToggleButton *driver_autodetect,*output_stereo; 47 Intbox *recent_files; 48 Intbox *vzoom_max; 49 Intbox *view_quality; 50 Combo *time_display,*time_display_timescale,*varispeed_method, 51 *speed_method; 52 GtkToggleButton *remember_geometry; 53 GtkList *tempdirs; 54 GtkWidget *selected_tempdir; 55 GtkButton *tempdir_remove,*tempdir_up,*tempdir_down,*tempdir_add; 56 GtkButton *tempdir_browse; 57 GtkEntry *tempdir_add_entry; 58 FormatSelector *fallback_format; 59 GtkToggleButton *floating_tempfiles; 60 Combo *oggmode; 61 Combo *convmode; 62 } ConfigDialog; 63 64 typedef struct { 65 GtkWindowClass wc; 66 } ConfigDialogClass; 67 68 GtkType config_dialog_get_type(void); 69 GtkWidget *config_dialog_new(void); 70 71 #endif 72