/* HomeBank -- Free, easy, personal accounting for everyone. * Copyright (C) 1995-2014 Maxime DOYEN * * This file is part of HomeBank. * * HomeBank is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * HomeBank is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef __HB_BUDGET_GTK_H__ #define __HB_BUDGET_GTK_H__ enum { COL_NAME = 0, COL_OLDINDEX, NUM_COLS }; enum { HID_CUSTOM, MAX_HID_BUDGET }; #define FIELD_TYPE 15 struct ui_bud_manage_data { GList *tmp_list; gint change; Category *lastcatitem; GtkWidget *window; GtkWidget *spinner[13]; //0 index is for All GtkWidget *LV_cat; GtkWidget *CM_type[2]; GtkWidget *CM_force; GtkWidget *BT_clear; GtkWidget *BT_import, *BT_export; Category *cat; gulong handler_id[MAX_HID_BUDGET]; }; GtkWidget *ui_bud_manage_dialog (void); #endif