]> Dogcows Code - chaz/homebank/blob - src/dsp_mainwindow.h
import homebank-5.1.2
[chaz/homebank] / src / dsp_mainwindow.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_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 GtkWidget *BT_sched_skip;
45 GtkWidget *BT_sched_post;
46 GtkWidget *BT_sched_editpost;
47
48 GtkWidget *RA_type;
49
50 gchar *wintitle;
51
52 Account *acc;
53
54 gint busy;
55
56 GtkUIManager *manager;
57 GtkActionGroup *actions;
58
59 GtkRecentManager *recent_manager;
60 GtkWidget *recent_menu;
61
62 Filter *filter;
63
64 /*
65 UBYTE accnum;
66 UBYTE pad0;
67 struct Account *acc;
68
69 ULONG mindate, maxdate;
70 ULONG change;
71 ULONG keyvalue;
72 UBYTE title[140];
73 UBYTE Filename[108];
74 UBYTE csvpath[108];
75 */
76 };
77
78
79 GtkWidget *create_hbfile_window(GtkWidget *do_widget);
80 void ui_mainwindow_populate_accounts(GtkWidget *widget, gpointer user_data);
81 void ui_mainwindow_open_internal(GtkWidget *widget, gpointer user_data);
82 void ui_mainwindow_update(GtkWidget *widget, gpointer user_data);
83 void ui_mainwindow_action_help_welcome(void);
84
85 #endif /* __HB_MANWINDOW_GTK_H__ */
This page took 0.032506 seconds and 4 git commands to generate.