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