X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fhb-preferences.h;h=1cf7e6f441e32e083d93753dc49bfe7b6e84f466;hp=cf7e1a30da518d5d557ad9b23d4fb03accab09fc;hb=a6c6b0df5492c2160ed97e3a376bdb2fe7c5ebc4;hpb=cd13d9691c46c2b2d6d459e9e6a76bed1c21b7a6 diff --git a/src/hb-preferences.h b/src/hb-preferences.h index cf7e1a3..1cf7e6f 100644 --- a/src/hb-preferences.h +++ b/src/hb-preferences.h @@ -1,5 +1,5 @@ /* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2018 Maxime DOYEN + * Copyright (C) 1995-2019 Maxime DOYEN * * This file is part of HomeBank. * @@ -22,6 +22,7 @@ #include "hb-currency.h" + #define DEFAULT_FORMAT_DATE "%x" #define MAX_FRAC_DIGIT 6 @@ -58,47 +59,42 @@ struct Preferences gboolean loadlast; gboolean appendscheduled; gboolean do_update_currency; - gshort fisc_year_day; - gshort fisc_year_month; gint date_range_wal; - gchar *path_hbfile; //interface - gchar *language; gshort toolbar_style; - //gboolean rules_hint; + + gboolean icon_symbolic; gshort grid_lines; gboolean custom_colors; gchar *color_exp; gchar *color_inc; gchar *color_warn; + //locale + gchar *language; + gchar *date_format; + gshort fisc_year_day; + gshort fisc_year_month; + gboolean vehicle_unit_ismile; // true if unit is mile, default Km + gboolean vehicle_unit_isgal; // true if unit is gallon, default Liter + //transactions gint date_range_txn; gint date_future_nbdays; gboolean hidereconciled; gboolean showremind; gboolean heritdate; - gint lst_ope_columns[NUM_LST_DSPOPE+1]; - gint lst_ope_col_size[NUM_LST_DSPOPE+1]; - gint lst_ope_sort_id; // -- implicit -- - gint lst_ope_sort_order; // -- implicit -- + gboolean txn_memoacp; + gshort txn_memoacp_days; - //display format - gchar *date_format; - gchar IntCurrSymbol[8]; - gboolean vehicle_unit_ismile; // true if unit is mile, default Km - gboolean vehicle_unit_isgal; // true if unit is gallon, default Liter - - //data exchange options - gboolean dtex_nointro; + //import/export gint dtex_datefmt; gint dtex_ofxname; gint dtex_ofxmemo; gboolean dtex_qifmemo; gboolean dtex_qifswap; - gchar *path_import; - gchar *path_export; + gboolean dtex_ucfirst; //report options gint date_range_rep; @@ -106,7 +102,18 @@ struct Preferences gboolean stat_byamount; gboolean stat_showrate; gboolean stat_showdetail; - gboolean budg_showdetail; + gboolean budg_showdetail; + + //backup option + gboolean bak_is_automatic; + gshort bak_max_num_copies; + + //folders + gchar *path_hbfile; + + gchar *path_import; + gchar *path_export; + gchar *path_attach; //euro zone gboolean euro_active; @@ -114,9 +121,16 @@ struct Preferences gdouble euro_value; Currency minor_cur; - //chart options - //gboolean chart_legend; + //---- others data ----- + gboolean dtex_nointro; + gchar IntCurrSymbol[8]; + gint lst_impope_columns[NUM_LST_DSPOPE+1]; + gint lst_ope_columns[NUM_LST_DSPOPE+1]; + gint lst_ope_col_width[NUM_LST_DSPOPE+1]; + gint lst_ope_sort_id; // -- implicit -- + gint lst_ope_sort_order; // -- implicit -- + /* windows/dialogs size an position */ struct WinGeometry wal_wg; struct WinGeometry acc_wg; @@ -142,7 +156,7 @@ struct Preferences gshort pnl_acc_show_by; gshort pnl_upc_col_pay_width; gshort pnl_upc_col_mem_width; - + gchar *pnl_list_tab; //vehiclecost units (mile/gal or km/liters)