Microcontroller GUI library from embeddedlightning.com
Dependents: Bicycl_Computer_NUCLEO-F411RE Bicycl_Computer_NUCLEO-L476RG
ugui_config.h
- Committer:
- unix_guru
- Date:
- 2015-11-17
- Revision:
- 0:42ded5e50e40
File content as of revision 0:42ded5e50e40:
/* -------------------------------------------------------------------------------- */ /* -- µGUI - Generic GUI module (C)Achim Döbler, 2015 -- */ /* -------------------------------------------------------------------------------- */ // µGUI is a generic GUI module for embedded systems. // This is a free software that is open for education, research and commercial // developments under license policy of following terms. // // Copyright (C) 2015, Achim Döbler, all rights reserved. // URL: http://www.embeddedlightning.com/ // URL: https://github.com/achimdoebler/UGUI // // // * The µGUI module is a free software and there is NO WARRANTY. // * No restriction on use. You can use, modify and redistribute it for // personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY. // * Redistributions of source code must retain the above copyright notice. // /* -------------------------------------------------------------------------------- */ #ifndef __UGUI_CONFIG_H #define __UGUI_CONFIG_H /* -------------------------------------------------------------------------------- */ /* -- CONFIG SECTION -- */ /* -------------------------------------------------------------------------------- */ /* Enable needed fonts here */ //#define USE_FONT_4X6 //#define USE_FONT_5X8 //#define USE_FONT_5X12 #define USE_FONT_6X8 //#define USE_FONT_6X10 //#define USE_FONT_7X12 #define USE_FONT_8X8 //#define USE_FONT_8X12 #define USE_FONT_8X14 #define USE_FONT_10X16 #define USE_FONT_12X16 #define USE_FONT_12X20 #define USE_FONT_16X26 #define USE_FONT_22X36 #define USE_FONT_24X40 //#define USE_FONT_32X53 /* Specify platform-dependent integer types here */ #define __UG_FONT_DATA const typedef uint8_t UG_U8; typedef int8_t UG_S8; typedef uint16_t UG_U16; typedef int16_t UG_S16; typedef uint32_t UG_U32; typedef int32_t UG_S32; /* Example for dsPIC33 typedef unsigned char UG_U8; typedef signed char UG_S8; typedef unsigned int UG_U16; typedef signed int UG_S16; typedef unsigned long int UG_U32; typedef signed long int UG_S32; */ /* -------------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------------- */ /* Feature enablers */ #define USE_PRERENDER_EVENT #define USE_POSTRENDER_EVENT #endif