]> Dogcows Code - chaz/homebank/blob - src/hub-spending.h
add editorconfig file
[chaz/homebank] / src / hub-spending.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 __HUB_SPENDING_H__
21 #define __HUB_SPENDING_H__
22
23
24 struct tmptop
25 {
26 guint32 key;
27 gdouble value;
28 };
29
30
31 #define MAX_TOPSPENDING 10
32
33
34 /* list top spending */
35 enum
36 {
37 LST_TOPSPEND_ID, //fake for pie
38 LST_TOPSPEND_KEY, //fake for pie
39 LST_TOPSPEND_NAME,
40 LST_TOPSPEND_AMOUNT,
41 LST_TOPSPEND_RATE,
42
43 NUM_LST_TOPSPEND
44 };
45
46
47
48 void ui_hub_spending_update(GtkWidget *widget, gpointer user_data);
49 void ui_hub_spending_populate(GtkWidget *widget, gpointer user_data);
50 GtkWidget *ui_hub_spending_create(struct hbfile_data *data);
51
52
53 #endif
This page took 0.033803 seconds and 4 git commands to generate.