2 * (GLABELS) Label and Business Card Creation program for GNOME
4 * prefs.h: Application preferences module header file
6 * Copyright (C) 2001-2002 Jim Evins <evins@snaught.com>.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 #include <libgnomeprint/gnome-font.h>
27 typedef struct _glPreferences glPreferences;
30 GL_TOOLBAR_SYSTEM = 0,
32 GL_TOOLBAR_ICONS_AND_TEXT
37 GL_PREFS_UNITS_INCHES,
47 gchar *default_page_size;
50 gchar *default_font_family;
51 gdouble default_font_size;
52 GnomeFontWeight default_font_weight;
53 gboolean default_font_italic_flag;
54 guint default_text_color;
55 GtkJustification default_text_alignment;
58 gdouble default_line_width;
59 guint default_line_color;
62 guint default_fill_color;
64 /* User Interface/Main Toolbar */
65 gboolean main_toolbar_visible;
66 glToolbarSetting main_toolbar_buttons_style;
67 gboolean main_toolbar_view_tooltips;
69 /* User Interface/Drawing Toolbar */
70 gboolean drawing_toolbar_visible;
71 glToolbarSetting drawing_toolbar_buttons_style;
72 gboolean drawing_toolbar_view_tooltips;
74 /* User Interface/MDI Mode */
76 gint mdi_tabs_position; /* Tabs position in mdi notebook */
82 extern glPreferences *gl_prefs;
84 extern void gl_prefs_save_settings (void);
85 extern void gl_prefs_load_settings (void);
86 extern void gl_prefs_init (void);
88 extern const gchar *gl_prefs_get_page_size (void);
89 extern glPrefsUnits gl_prefs_get_units (void);
90 extern const gchar *gl_prefs_get_units_string (void);
91 extern gdouble gl_prefs_get_units_per_point (void);
92 extern gdouble gl_prefs_get_units_step_size (void);
93 extern gint gl_prefs_get_units_precision (void);
95 #endif /* __PREFS_H__ */