]> Dogcows Code - chaz/homebank/blob - src/ui-budget.h
Merge branch 'upstream'
[chaz/homebank] / src / ui-budget.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2016 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_BUDGET_GTK_H__
21 #define __HB_BUDGET_GTK_H__
22
23 enum
24 {
25 COL_NAME = 0,
26 COL_OLDINDEX,
27 NUM_COLS
28 };
29
30 enum {
31 HID_CUSTOM,
32 MAX_HID_BUDGET
33 };
34
35 #define FIELD_TYPE 15
36
37 struct ui_bud_manage_data
38 {
39 GList *tmp_list;
40 gint change;
41 Category *lastcatitem;
42
43 GtkWidget *window;
44
45 GtkWidget *LV_cat;
46 GtkWidget *BT_expand;
47 GtkWidget *BT_collapse;
48
49 GtkWidget *RA_type;
50 GtkWidget *label_budget;
51 GtkWidget *CM_type[2];
52 GtkWidget *label[13]; //0 index is for All (not displayed)
53 GtkWidget *spinner[13]; //0 index is for All
54 GtkWidget *label_options;
55 GtkWidget *CM_force;
56
57 GtkWidget *BT_clear;
58
59 Category *cat;
60
61 gulong handler_id[MAX_HID_BUDGET];
62 };
63
64
65
66
67 GtkWidget *ui_bud_manage_dialog (void);
68
69 #endif
This page took 0.033311 seconds and 4 git commands to generate.