add gitignore
[chaz/homebank] / src / dsp_mainwindow.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2014 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 GtkWidget *LV_acc;
33
34 GtkWidget *GR_top;
35 GtkWidget *LV_top;
36 GtkWidget *TX_topamount;
37 gdouble toptotal;
38 GtkWidget *CY_range;
39 GtkWidget *RE_pie;
40
41 GtkWidget *GR_upc;
42 GtkWidget *LV_upc;
43 GtkWidget *LB_maxpostdate;
44 GtkToolItem *BT_sched_post;
45 GtkToolItem *BT_sched_skip;
46
47 gchar *wintitle;
48
49 Account *acc;
50
51 gint busy;
52
53 GtkUIManager *manager;
54 GtkActionGroup *actions;
55
56 GtkRecentManager *recent_manager;
57 GtkWidget *recent_menu;
58
59 Filter *filter;
60
61 /*
62 UBYTE accnum;
63 UBYTE pad0;
64 struct Account *acc;
65
66 ULONG mindate, maxdate;
67 ULONG change;
68 ULONG keyvalue;
69 UBYTE title[140];
70 UBYTE Filename[108];
71 UBYTE csvpath[108];
72 */
73 };
74
75
76 GtkWidget *create_hbfile_window(GtkWidget *do_widget);
77 void ui_mainwindow_populate_accounts(GtkWidget *widget, gpointer user_data);
78 void ui_mainwindow_open_internal(GtkWidget *widget, gpointer user_data);
79 void ui_mainwindow_update(GtkWidget *widget, gpointer user_data);
80 void ui_mainwindow_action_help_welcome(void);
81
82 #endif /* __HB_MANWINDOW_GTK_H__ */
This page took 0.040192 seconds and 4 git commands to generate.