]> Dogcows Code - chaz/homebank/blobdiff - src/rep-balance.h
import homebank-5.2.4
[chaz/homebank] / src / rep-balance.h
diff --git a/src/rep-balance.h b/src/rep-balance.h
new file mode 100644 (file)
index 0000000..67e6ff9
--- /dev/null
@@ -0,0 +1,95 @@
+/*  HomeBank -- Free, easy, personal accounting for everyone.
+ *  Copyright (C) 1995-2019 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 <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __HOMEBANK_REPBALANCE_H__
+#define __HOMEBANK_REPBALANCE_H__
+
+enum {
+       HID_REPBALANCE_MINDATE,
+       HID_REPBALANCE_MAXDATE,
+       HID_REPBALANCE_RANGE,
+       MAX_REPBALANCE_HID
+};
+
+
+/* list stat */
+enum
+{
+       LST_OVER_OVER,
+       LST_OVER_DATE,
+       LST_OVER_DATESTR,
+       LST_OVER_EXPENSE,
+       LST_OVER_INCOME,
+       LST_OVER_BALANCE,
+       NUM_LST_OVER
+};
+
+struct repbalance_data
+{
+       GList           *ope_list;
+       Filter          *filter;
+
+       guint32         accnum;
+       gdouble         minimum;
+
+       gboolean        detail;
+
+       gdouble         *tmp_income;
+       gdouble         *tmp_expense;
+       guint           n_result;
+       guint           nbbalance, nbope;
+
+
+       GtkWidget       *window;
+
+       GtkUIManager    *ui;
+       GtkActionGroup *actions;
+
+       GtkWidget       *TB_bar;
+
+       GtkWidget       *TX_info;
+       GtkWidget       *TX_daterange;
+       GtkWidget       *CM_minor;
+       GtkWidget       *LV_report;
+       GtkWidget       *PO_acc;
+       GtkWidget       *CM_selectall;
+       GtkWidget       *CM_eachday;
+       GtkWidget       *RG_zoomx, *LB_zoomx;
+
+       GtkWidget       *PO_mindate, *PO_maxdate;
+
+       GtkWidget       *CY_range;
+       GtkWidget       *GR_result;
+
+       GtkWidget       *RE_line;
+
+       GtkWidget       *GR_detail;
+       GtkWidget       *LV_detail;
+
+
+       gulong          handler_id[MAX_REPBALANCE_HID];
+
+
+};
+
+
+GtkWidget *repbalance_window_new(gint32 accnum);
+
+
+#endif
\ No newline at end of file
This page took 0.025842 seconds and 4 git commands to generate.