X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fgtk-chart-colors.h;h=a11d643e0e11b8b236632f084ee01b99e4d543b6;hp=1fa7b2d0dba5618f58d7b837aa6f88208c853c56;hb=HEAD;hpb=59c5e08a64798d4303ae7eb3a2713bc93d98fa7b diff --git a/src/gtk-chart-colors.h b/src/gtk-chart-colors.h index 1fa7b2d..a11d643 100644 --- a/src/gtk-chart-colors.h +++ b/src/gtk-chart-colors.h @@ -1,5 +1,5 @@ /* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2016 Maxime DOYEN + * Copyright (C) 1995-2019 Maxime DOYEN * * This file is part of HomeBank. * @@ -23,6 +23,8 @@ #include #define MASKCOL 255 +//#define MASKCOL 000 + #define COLTO16(col8) ( (col8 | col8<<8 ) ) #define COLTOOVER(col8) ( (col8 + MASKCOL) / 2 ) @@ -72,12 +74,14 @@ enum colmap CHART_COLMAP_OFFICE2010, CHART_COLMAP_OFFICE2013, CHART_COLMAP_ANALYTICS, + CHART_COLMAP_YNAB, }; enum { CHART_FONT_SIZE_TITLE, CHART_FONT_SIZE_SUBTITLE, - CHART_FONT_SIZE_NORMAL + CHART_FONT_SIZE_NORMAL, + CHART_FONT_SIZE_SMALL }; @@ -91,6 +95,7 @@ extern struct rgbcol office2010_colors[]; extern struct rgbcol office2013_colors[]; extern struct rgbcol sap_colors[]; extern struct rgbcol homebank_colors[]; +extern struct rgbcol ynab_colors[]; extern int money_nbcolors; extern int quicken_nbcolors; @@ -99,6 +104,7 @@ extern int office2010_nbcolors; extern int office2013_nbcolors; extern int sap_nbcolors; extern int homebank_nbcolors; +extern int ynab_nbcolors; void chart_color_global_default(void); @@ -108,4 +114,4 @@ void cairo_user_set_rgbcol_over(cairo_t *cr, struct rgbcol *col, gboolean over); void colorscheme_init(GtkColorScheme *scheme, gint index); -#endif /* __GTK_COLORS_H__ */ \ No newline at end of file +#endif /* __GTK_COLORS_H__ */