]> Dogcows Code - chaz/homebank/blob - src/dsp_mainwindow.h
Merge branch 'upstream'
[chaz/homebank] / src / dsp_mainwindow.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_MANWINDOW_GTK_H__
21 #define __HB_MANWINDOW_GTK_H__
22
23 struct hbfile_data
24 {
25 GtkWidget *window;
26
27 GtkWidget *toolbar;
28 GtkWidget *menubar;
29 GtkWidget *vpaned;
30 GtkWidget *hpaned;
31
32 /* panel: your account */
33 GtkWidget *LV_acc;
34 GtkWidget *BT_expandall;
35 GtkWidget *BT_collapseall;
36 gboolean showall;
37
38 GtkWidget *GR_top;
39 GtkWidget *LV_top;
40 gdouble toptotal;
41 GtkWidget *CY_range;
42 GtkWidget *RE_pie;
43
44 GtkWidget *GR_upc;
45 GtkWidget *LV_upc;
46 GtkWidget *LB_maxpostdate;
47 GtkWidget *BT_sched_skip;
48 GtkWidget *BT_sched_post;
49 GtkWidget *BT_sched_editpost;
50
51 GtkWidget *RA_type;
52
53 gchar *wintitle;
54
55 Account *acc;
56
57 gint busy;
58
59 GtkUIManager *manager;
60 GtkActionGroup *actions;
61
62 GtkRecentManager *recent_manager;
63 GtkWidget *recent_menu;
64
65 Filter *filter;
66
67 /*
68 UBYTE accnum;
69 UBYTE pad0;
70 struct Account *acc;
71
72 ULONG mindate, maxdate;
73 ULONG change;
74 ULONG keyvalue;
75 UBYTE title[140];
76 UBYTE Filename[108];
77 UBYTE csvpath[108];
78 */
79 };
80
81
82 GtkWidget *create_hbfile_window(GtkWidget *do_widget);
83 void ui_mainwindow_populate_accounts(GtkWidget *widget, gpointer user_data);
84 void ui_mainwindow_open_internal(GtkWidget *widget, gpointer user_data);
85 void ui_mainwindow_update(GtkWidget *widget, gpointer user_data);
86 void ui_mainwindow_action_help_welcome(void);
87
88 #endif /* __HB_MANWINDOW_GTK_H__ */
This page took 0.045439 seconds and 5 git commands to generate.