OpenClonk
preferences.h
Go to the documentation of this file.
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_PREFERENCES_H
17 #define INC_MAPE_PREFERENCES_H
18 
19 #include <glib.h>
20 #include "mape/forward.h"
21 
23  unsigned int tab_width;
24  gboolean tab_to_spaces;
25  gboolean auto_indentation;
26  gboolean text_wrapping;
27  gboolean line_numbers;
28  gboolean highlight_line;
29  gboolean bracket_matching;
30  gboolean fixed_seed;
31  unsigned int random_seed;
32  unsigned int map_width;
33  unsigned int map_height;
34  double map_zoom;
35 };
36 
38  MapeConfigFile* config);
40  MapeConfigFile* config);
41 
42 #endif /* INC_MAPE_PREFERENCES_H */
gboolean highlight_line
Definition: preferences.h:28
void mape_preferences_from_config(MapePreferences *preferences, MapeConfigFile *config)
Definition: preferences.c:84
gboolean auto_indentation
Definition: preferences.h:25
void mape_preferences_to_config(MapePreferences *preferences, MapeConfigFile *config)
Definition: preferences.c:113
gboolean text_wrapping
Definition: preferences.h:26
gboolean fixed_seed
Definition: preferences.h:30
unsigned int tab_width
Definition: preferences.h:23
gboolean tab_to_spaces
Definition: preferences.h:24
gboolean bracket_matching
Definition: preferences.h:29
unsigned int map_height
Definition: preferences.h:33
unsigned int map_width
Definition: preferences.h:32
gboolean line_numbers
Definition: preferences.h:27
unsigned int random_seed
Definition: preferences.h:31