]> Dogcows Code - chaz/homebank/blob - src/ui-pref.h
import homebank-5.1.3
[chaz/homebank] / src / ui-pref.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2017 Maxime DOYEN
3 *
4 * This file is part of HomeBank.
5 *
6 * HomeBank 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 * HomeBank 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 this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef __HB_PREFERENCE_GTK_H__
21 #define __HB_PREFERENCE_GTK_H__
22
23
24 struct defpref_data
25 {
26 GtkWidget *window;
27
28 GtkWidget *LV_page;
29 GtkWidget *GR_page;
30
31 GtkWidget *label;
32 GtkWidget *image;
33 GtkWidget *BT_clear;
34
35 GtkWidget *CY_language;
36 GtkWidget *CY_toolbar;
37
38 GtkWidget *GR_colors;
39 GtkWidget *CY_colors;
40 GtkWidget *CM_custom_colors;
41 GtkWidget *CP_exp_color;
42 GtkWidget *CP_inc_color;
43 GtkWidget *CP_warn_color;
44 //GtkWidget *CM_ruleshint;
45 GtkWidget *CY_gridlines;
46
47 GtkWidget *LV_opecolumns;
48 GtkWidget *BT_go_up;
49 GtkWidget *BT_go_down;
50
51 GtkWidget *NB_fiscyearday;
52 GtkWidget *CY_fiscyearmonth;
53
54 GtkWidget *CM_runwizard;
55
56 GtkWidget *ST_path_hbfile, *BT_path_hbfile;
57 GtkWidget *ST_path_import, *BT_path_import;
58 GtkWidget *ST_path_export, *BT_path_export;
59
60 GtkWidget *CM_load_last;
61 GtkWidget *CM_show_splash;
62 GtkWidget *CM_append_scheduled;
63 GtkWidget *CM_do_update_currency;
64 GtkWidget *CM_herit_date;
65 GtkWidget *CM_hide_reconciled;
66 GtkWidget *CM_show_remind;
67
68 GtkWidget *ST_datefmt;
69 GtkWidget *LB_date;
70
71 GtkWidget *CM_unitismile;
72 GtkWidget *CM_unitisgal;
73
74 GtkWidget *CY_daterange_wal;
75 GtkWidget *CY_daterange_txn;
76 GtkWidget *ST_datefuture_nbdays;
77 GtkWidget *CY_daterange_rep;
78
79 /* currencies */
80 GtkWidget *LB_default;
81 GtkWidget *BT_default;
82
83 GtkWidget *CM_euro_enable;
84 GtkWidget *GRP_currency;
85 GtkWidget *GRP_rate;
86 GtkWidget *GRP_format;
87
88 GtkWidget *CY_euro_preset;
89 GtkWidget *ST_euro_country;
90 GtkWidget *NB_euro_value;
91
92 GtkWidget *ST_euro_symbol;
93 GtkWidget *CM_euro_isprefix;
94 GtkWidget *ST_euro_decimalchar;
95 GtkWidget *ST_euro_groupingchar;
96 GtkWidget *NB_euro_fracdigits;
97 GtkWidget *LB_numbereuro;
98
99 //GtkWidget *ST_euro_symbol;
100 //GtkWidget *NB_euro_nbdec;
101 //GtkWidget *CM_euro_thsep;
102
103 GtkWidget *CM_stat_byamount;
104 GtkWidget *CM_stat_showdetail;
105 GtkWidget *CM_stat_showrate;
106
107 GtkWidget *CM_budg_showdetail;
108
109 GtkWidget *CY_color_scheme;
110 GtkWidget *DA_colors;
111
112 GtkWidget *CM_chartlegend;
113
114 GtkWidget *CY_dtex_datefmt;
115 GtkWidget *CY_dtex_ofxname;
116 GtkWidget *CY_dtex_ofxmemo;
117 GtkWidget *CM_dtex_qifmemo;
118 GtkWidget *CM_dtex_qifswap;
119
120 gint country;
121
122 };
123
124
125 void free_pref_icons(void);
126 void load_pref_icons(void);
127
128 GtkWidget *defpref_dialog_new (void);
129
130 #endif
This page took 0.039139 seconds and 4 git commands to generate.