X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32VLDiscovery%2Ftemplates%2Fempty%2Fcfg%2Fcfg_gfx.h;fp=boards%2Fstm32VLDiscovery%2Ftemplates%2Fempty%2Fcfg%2Fcfg_gfx.h;h=59dde04c8ba87525b86d44ed48af4bbeeb31f0c9;hb=bbc9b62788f5e2f94dd550708a6af22f6d49eb98;hp=0000000000000000000000000000000000000000;hpb=17f239924a2d52d099e60ba3a65662f4d2b1fb16;p=bertos.git diff --git a/boards/stm32VLDiscovery/templates/empty/cfg/cfg_gfx.h b/boards/stm32VLDiscovery/templates/empty/cfg/cfg_gfx.h new file mode 100644 index 00000000..59dde04c --- /dev/null +++ b/boards/stm32VLDiscovery/templates/empty/cfg/cfg_gfx.h @@ -0,0 +1,67 @@ +/** + * \file + * + * + * \brief Configuration file for GFX module. + * + * \author Daniele Basile + */ + +#ifndef CFG_GFX_H +#define CFG_GFX_H + +/** + * Enable line clipping algorithm. + * $WIZ$ type = "boolean" + */ +#define CONFIG_GFX_CLIPPING 1 + +/** + * Enable text rendering in bitmaps. + * $WIZ$ type = "boolean" + */ +#define CONFIG_GFX_TEXT 1 + +/** + * Enable virtual coordinate system. + * $WIZ$ type = "boolean" + */ +#define CONFIG_GFX_VCOORDS 1 + +/** + * Select bitmap pixel format. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "bitmap_format" + */ +#define CONFIG_BITMAP_FMT BITMAP_FMT_PLANAR_V_LSB + +#endif /* CFG_GFX_H */ +