Microcontroller GUI library from embeddedlightning.com

Dependents:   Bicycl_Computer_NUCLEO-F411RE Bicycl_Computer_NUCLEO-L476RG

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ugui_config.h Source File

ugui_config.h

00001 /* -------------------------------------------------------------------------------- */
00002 /* -- µGUI - Generic GUI module (C)Achim Döbler, 2015                            -- */
00003 /* -------------------------------------------------------------------------------- */
00004 // µGUI is a generic GUI module for embedded systems.
00005 // This is a free software that is open for education, research and commercial
00006 // developments under license policy of following terms.
00007 //
00008 //  Copyright (C) 2015, Achim Döbler, all rights reserved.
00009 //  URL: http://www.embeddedlightning.com/
00010 //  URL: https://github.com/achimdoebler/UGUI
00011 //
00012 //
00013 // * The µGUI module is a free software and there is NO WARRANTY.
00014 // * No restriction on use. You can use, modify and redistribute it for
00015 //   personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY.
00016 // * Redistributions of source code must retain the above copyright notice.
00017 //
00018 /* -------------------------------------------------------------------------------- */
00019 #ifndef __UGUI_CONFIG_H
00020 #define __UGUI_CONFIG_H
00021 
00022 /* -------------------------------------------------------------------------------- */
00023 /* -- CONFIG SECTION                                                             -- */
00024 /* -------------------------------------------------------------------------------- */
00025 
00026 /* Enable needed fonts here */
00027 //#define  USE_FONT_4X6
00028 //#define  USE_FONT_5X8
00029 //#define  USE_FONT_5X12
00030 #define  USE_FONT_6X8
00031 //#define  USE_FONT_6X10
00032 //#define  USE_FONT_7X12
00033 #define  USE_FONT_8X8
00034 //#define  USE_FONT_8X12
00035 #define  USE_FONT_8X14
00036 #define  USE_FONT_10X16
00037 #define  USE_FONT_12X16
00038 #define  USE_FONT_12X20
00039 #define  USE_FONT_16X26
00040 #define  USE_FONT_22X36
00041 #define  USE_FONT_24X40
00042 //#define  USE_FONT_32X53
00043 
00044 /* Specify platform-dependent integer types here */
00045 
00046 #define __UG_FONT_DATA const
00047 typedef uint8_t      UG_U8;
00048 typedef int8_t       UG_S8;
00049 typedef uint16_t     UG_U16;
00050 typedef int16_t      UG_S16;
00051 typedef uint32_t     UG_U32;
00052 typedef int32_t      UG_S32;
00053 
00054 
00055 /* Example for dsPIC33
00056 typedef unsigned char         UG_U8;
00057 typedef signed char           UG_S8;
00058 typedef unsigned int          UG_U16;
00059 typedef signed int            UG_S16;
00060 typedef unsigned long int     UG_U32;
00061 typedef signed long int       UG_S32;
00062 */
00063 
00064 /* -------------------------------------------------------------------------------- */
00065 /* -------------------------------------------------------------------------------- */
00066 
00067 
00068 /* Feature enablers */
00069 #define USE_PRERENDER_EVENT
00070 #define USE_POSTRENDER_EVENT
00071 
00072 
00073 #endif
00074