X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Fat91sam7x-ek%2Fexamples%2Fat91sam7x-ek_sd_fat%2Fcfg%2Fcfg_gfx.h;fp=boards%2Fat91sam7x-ek%2Fexamples%2Fat91sam7x-ek_sd_fat%2Fcfg%2Fcfg_gfx.h;h=59dde04c8ba87525b86d44ed48af4bbeeb31f0c9;hb=67813e9ec40a4189348aa829f93a188c017a4c87;hp=0000000000000000000000000000000000000000;hpb=6c4b0cf8c98308df4866839b9c7d8fe813376969;p=bertos.git diff --git a/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_gfx.h b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_gfx.h new file mode 100644 index 00000000..59dde04c --- /dev/null +++ b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/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 */ +