A basic graphics package for the LPC4088 Display Module.

Dependents:   lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI lpc4088_displaymodule_fs_aid ... more

Fork of DMBasicGUI by EmbeddedArtists AB

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers lpc_fonts.h Source File

lpc_fonts.h

00001 /*
00002  * @brief SWIM common font information structure
00003  *
00004  * @note
00005  * Copyright(C) NXP Semiconductors, 2012
00006  * All rights reserved.
00007  *
00008  * @par
00009  * Software that is described herein is for illustrative purposes only
00010  * which provides customers with programming information regarding the
00011  * LPC products.  This software is supplied "AS IS" without any warranties of
00012  * any kind, and NXP Semiconductors and its licensor disclaim any and
00013  * all warranties, express or implied, including all implied warranties of
00014  * merchantability, fitness for a particular purpose and non-infringement of
00015  * intellectual property rights.  NXP Semiconductors assumes no responsibility
00016  * or liability for the use of the software, conveys no license or rights under any
00017  * patent, copyright, mask work right, or any other intellectual property rights in
00018  * or to any products. NXP Semiconductors reserves the right to make changes
00019  * in the software without notification. NXP Semiconductors also makes no
00020  * representation or warranty that such application will be suitable for the
00021  * specified use without further testing or modification.
00022  *
00023  * @par
00024  * Permission to use, copy, modify, and distribute this software and its
00025  * documentation is hereby granted, under NXP Semiconductors' and its
00026  * licensor's relevant copyrights in the software, without fee, provided that it
00027  * is used in conjunction with NXP Semiconductors microcontrollers.  This
00028  * copyright, permission, and disclaimer notice must appear in all copies of
00029  * this code.
00030  */
00031 
00032 #ifndef __LPC_FONTS_H_
00033 #define __LPC_FONTS_H_
00034 
00035 #include "lpc_types.h"
00036 
00037 #if defined(__cplusplus)
00038 extern "C"
00039 {
00040 #endif
00041 
00042 /** @defgroup GUI_SWIM_FONTS SWIM font definitions
00043  * @ingroup GUI_SWIM
00044  * @{
00045  */
00046 
00047 /**
00048  * SWIM font data structure
00049  */
00050 typedef struct {
00051     int16_t font_height;
00052     uint8_t  first_char;
00053     uint8_t  last_char;
00054     const uint16_t *font_table;
00055     const uint8_t  *font_width_table;
00056 } FONT_T;
00057 
00058 #if defined(__cplusplus)
00059 }
00060 #endif
00061 
00062 /**
00063  * @}
00064  */
00065 
00066 #endif /* __LPC_FONTS_H_ */
00067