X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_gfx.h;fp=bertos%2Fcfg%2Fcfg_gfx.h;h=09142f9bdfa7dce0a6e3ec49081d09d190c31356;hb=9bde379b39600b3023bc42ea7affdab4edc8cf18;hp=0000000000000000000000000000000000000000;hpb=4a7c7dafcaff7959583eb3d85bdc5b5c8b983d7e;p=bertos.git diff --git a/bertos/cfg/cfg_gfx.h b/bertos/cfg/cfg_gfx.h new file mode 100644 index 00000000..09142f9b --- /dev/null +++ b/bertos/cfg/cfg_gfx.h @@ -0,0 +1,74 @@ +/** + * \file + * + * + * \brief Configuration file for GFX module. + * + * \version $Id$ + * + * \author Daniele Basile + */ + +#ifndef CFG_GFX_H +#define CFG_GFX_H + +/// Enable line clipping algorithm. +#define CONFIG_GFX_CLIPPING 1 + +/// Enable text rendering in bitmaps. +#define CONFIG_GFX_TEXT 1 + +/// Enable virtual coordinate system. +#define CONFIG_GFX_VCOORDS 1 + +/// Select bitmap pixel format. +#define CONFIG_BITMAP_FMT BITMAP_FMT_PLANAR_V_LSB + +/** + * \name Type for the chart dataset + * \{ + */ +#define CONFIG_CHART_TYPE_X uint8_t +#define CONFIG_CHART_TYPE_Y uint8_t +/*\}*/ + + +/// Enable button bar behind menus +#define CONFIG_MENU_MENUBAR 0 +#define CONFIG_LEVELEDIT_TIMEOUT 0 +#define CONFIG_MENU_TIMEOUT 0 + +/// Enable smooth scrolling in menus +#define CONFIG_MENU_SMOOTH 1 + + +#endif /* CFG_GFX_H */ +