1 /* 2 * mape - C4 Landscape.txt editor 3 * 4 * Copyright (c) 2005-2009, Armin Burgmeier 5 * 6 * Distributed under the terms of the ISC license; see accompanying file 7 * "COPYING" for details. 8 * 9 * "Clonk" is a registered trademark of Matthes Bender, used with permission. 10 * See accompanying file "TRADEMARK" for details. 11 * 12 * To redistribute this file separately, substitute the full license texts 13 * for the above references. 14 */ 15 16 #ifndef INC_MAPE_PREFERENCESDIALOG_H 17 #define INC_MAPE_PREFERENCESDIALOG_H 18 19 #include <gtk/gtk.h> 20 #include "mape/forward.h" 21 22 struct MapePreferencesDialog_ { 23 GtkWidget* dialog; 24 25 GtkWidget* hbox_tab_width; 26 GtkWidget* lbl_tab_width; 27 GtkWidget* ent_tab_width; 28 29 GtkWidget* cbx_tab_to_spaces; 30 GtkWidget* cbx_auto_indentation; 31 GtkWidget* cbx_text_wrapping; 32 GtkWidget* cbx_line_numbers; 33 GtkWidget* cbx_highlight_line; 34 GtkWidget* cbx_bracket_matching; 35 GtkWidget* cbx_fixed_seed; 36 37 GtkWidget* hbox_random_seed; 38 GtkWidget* lbl_random_seed; 39 GtkWidget* ent_random_seed; 40 41 GtkWidget* hbox_map_width; 42 GtkWidget* lbl_map_width; 43 GtkWidget* ent_map_width; 44 GtkWidget* hbox_map_height; 45 GtkWidget* lbl_map_height; 46 GtkWidget* ent_map_height; 47 GtkWidget* hbox_map_zoom; 48 GtkWidget* lbl_map_zoom; 49 GtkWidget* ent_map_zoom; 50 }; 51 52 MapePreferencesDialog* mape_preferences_dialog_new(GtkWindow* parent, 53 MapePreferences* prefs); 54 void mape_preferences_dialog_destroy(MapePreferencesDialog* dialog); 55 56 MapePreferences mape_preferences_dialog_get(MapePreferencesDialog* dialog); 57 58 #endif /* INC_MAPE_PREFERENCESDIALOG_H */ 59