]> Dogcows Code - chaz/homebank/blob - src/ui-archive.h
import homebank-5.2.4
[chaz/homebank] / src / ui-archive.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2019 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_ARCHIVE_GTK_H__
21 #define __HB_ARCHIVE_GTK_H__
22
23
24 enum
25 {
26 ARC_TYPE_ALL = 0,
27 ARC_TYPE_SCHEDULED,
28 ARC_TYPE_TEMPLATE
29 };
30
31 #define LST_DEFARC_SORT_MEMO 1
32 #define LST_DEFARC_SORT_PAYEE 2
33
34 enum {
35 HID_ARC_MEMO,
36 HID_ARC_VALID,
37 HID_ARC_REMIND,
38 HID_ARC_MAX
39 };
40
41
42 struct ui_arc_manage_data
43 {
44 GtkWidget *window;
45
46 GList *tmp_list;
47 gint change;
48 //guint32 lastkey;
49 Archive *lastarcitem;
50
51
52 GtkWidget *RA_type;
53 GtkWidget *LV_arc;
54
55 GtkWidget *GR_txnleft;
56 GtkWidget *PO_pay;
57 GtkWidget *ST_word;
58 GtkWidget *ST_amount, *BT_split;
59 GtkWidget *GR_cheque;
60 GtkWidget *CM_cheque;
61 GtkWidget *RA_status;
62 GtkWidget *NU_mode;
63 GtkWidget *PO_grp;
64 GtkWidget *PO_acc;
65 GtkWidget *LB_accto, *PO_accto;
66 GtkWidget *ST_tags, *CY_tags;
67
68 GtkWidget *LB_schedinsert;
69 GtkWidget *CM_auto;
70 GtkWidget *LB_next, *PO_next;
71 GtkWidget *LB_every, *NB_every;
72 GtkWidget *LB_weekend, *CY_weekend;
73 GtkWidget *CY_unit;
74 GtkWidget *CM_limit;
75 GtkWidget *NB_limit;
76 GtkWidget *LB_posts;
77
78
79 GtkWidget *BT_add, *BT_rem;
80
81 gulong handler_id[HID_ARC_MAX];
82
83 };
84
85
86 GtkWidget *ui_arc_manage_dialog (Archive *ext_arc);
87
88 #endif
This page took 0.033968 seconds and 4 git commands to generate.