X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fdsp_account.h;h=c9a089c7efa15bee8ab13f06e2a99fdb99039dd7;hb=HEAD;hp=f57136b56c839ade0de87da2afc8fec78470848b;hpb=2ef3e601408ebaeeaf5f40d6967664b012a49979;p=chaz%2Fhomebank diff --git a/src/dsp_account.h b/src/dsp_account.h deleted file mode 100644 index f57136b..0000000 --- a/src/dsp_account.h +++ /dev/null @@ -1,121 +0,0 @@ -/* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2017 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_DSPACCOUNT_H__ -#define __HB_DSPACCOUNT_H__ - - - -struct ui_multipleedit_dialog_data -{ - GtkWidget *window; - - GtkWidget *CM_date, *PO_date; - GtkWidget *LB_mode, *CM_mode, *NU_mode; - GtkWidget *CM_info, *ST_info; - GtkWidget *LB_acc, *CM_acc, *PO_acc; - GtkWidget *CM_pay, *PO_pay; - GtkWidget *CM_cat, *PO_cat; - GtkWidget *CM_tags, *ST_tags; - GtkWidget *CM_memo, *ST_memo; - - GtkTreeView *treeview; - gboolean has_xfer; -}; - - -enum -{ - ACTION_ACCOUNT_ADD, - ACTION_ACCOUNT_INHERIT, - ACTION_ACCOUNT_EDIT, - ACTION_ACCOUNT_MULTIEDIT, - ACTION_ACCOUNT_NONE, - ACTION_ACCOUNT_CLEAR, - ACTION_ACCOUNT_RECONCILE, - ACTION_ACCOUNT_DELETE, - ACTION_ACCOUNT_FILTER, - ACTION_ACCOUNT_CLOSE, - MAX_ACTION_ACCOUNT -}; - -enum { - HID_RANGE, - HID_TYPE, - HID_STATUS, - HID_SEARCH, - MAX_HID -}; - -struct register_panel_data -{ - GtkWidget *window; - GtkWidget *TB_bar; - GtkWidget *TB_tools; - - GtkWidget *CY_range; - GtkWidget *CY_type; - GtkWidget *CY_status; -// GtkWidget *CY_month, *NB_year; - GtkWidget *BT_reset; - GtkWidget *TX_selection; - - GtkWidget *ST_search; - - GtkWidget *LB_name; - GtkWidget *CM_minor; - GtkWidget *TX_balance[3]; - - GPtrArray *gpatxn; - GtkWidget *LV_ope; - - gint busy; - gchar *wintitle; - GtkUIManager *ui; - GtkActionGroup *actions; - - - Transaction *cur_ope; - - guint32 accnum; - Account *acc; - - gboolean do_sort; - - /* status counters */ - gint hidden, total; - gdouble totalsum; - - Filter *filter; - - guint timer_tag; - - gulong handler_id[MAX_HID]; - - //gint change; /* change shouldbe done directly */ - -}; - -#define DEFAULT_DELAY 750 /* Default delay in ms */ - -GtkWidget *register_panel_window_new(guint32 accnum, Account *acc); -void register_panel_window_init(GtkWidget *widget, gpointer user_data); - - -#endif /* __HOMEBANK_DSPACCOUNT_H__ */