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

Committer:
embeddedartists
Date:
Mon Mar 23 14:25:46 2015 +0100
Revision:
19:f3d0189401e4
Parent:
0:4977187e90c7
- Made all font tables "const" as they are never modified. This will free up a
lot of internal RAM if/when fonts are used

Who changed what in which revision?

UserRevisionLine numberNew contents of line
embeddedartists 0:4977187e90c7 1 /*
embeddedartists 0:4977187e90c7 2 * @brief SWIM common font information structure
embeddedartists 0:4977187e90c7 3 *
embeddedartists 0:4977187e90c7 4 * @note
embeddedartists 0:4977187e90c7 5 * Copyright(C) NXP Semiconductors, 2012
embeddedartists 0:4977187e90c7 6 * All rights reserved.
embeddedartists 0:4977187e90c7 7 *
embeddedartists 0:4977187e90c7 8 * @par
embeddedartists 0:4977187e90c7 9 * Software that is described herein is for illustrative purposes only
embeddedartists 0:4977187e90c7 10 * which provides customers with programming information regarding the
embeddedartists 0:4977187e90c7 11 * LPC products. This software is supplied "AS IS" without any warranties of
embeddedartists 0:4977187e90c7 12 * any kind, and NXP Semiconductors and its licensor disclaim any and
embeddedartists 0:4977187e90c7 13 * all warranties, express or implied, including all implied warranties of
embeddedartists 0:4977187e90c7 14 * merchantability, fitness for a particular purpose and non-infringement of
embeddedartists 0:4977187e90c7 15 * intellectual property rights. NXP Semiconductors assumes no responsibility
embeddedartists 0:4977187e90c7 16 * or liability for the use of the software, conveys no license or rights under any
embeddedartists 0:4977187e90c7 17 * patent, copyright, mask work right, or any other intellectual property rights in
embeddedartists 0:4977187e90c7 18 * or to any products. NXP Semiconductors reserves the right to make changes
embeddedartists 0:4977187e90c7 19 * in the software without notification. NXP Semiconductors also makes no
embeddedartists 0:4977187e90c7 20 * representation or warranty that such application will be suitable for the
embeddedartists 0:4977187e90c7 21 * specified use without further testing or modification.
embeddedartists 0:4977187e90c7 22 *
embeddedartists 0:4977187e90c7 23 * @par
embeddedartists 0:4977187e90c7 24 * Permission to use, copy, modify, and distribute this software and its
embeddedartists 0:4977187e90c7 25 * documentation is hereby granted, under NXP Semiconductors' and its
embeddedartists 0:4977187e90c7 26 * licensor's relevant copyrights in the software, without fee, provided that it
embeddedartists 0:4977187e90c7 27 * is used in conjunction with NXP Semiconductors microcontrollers. This
embeddedartists 0:4977187e90c7 28 * copyright, permission, and disclaimer notice must appear in all copies of
embeddedartists 0:4977187e90c7 29 * this code.
embeddedartists 0:4977187e90c7 30 */
embeddedartists 0:4977187e90c7 31
embeddedartists 0:4977187e90c7 32 #ifndef __LPC_FONTS_H_
embeddedartists 0:4977187e90c7 33 #define __LPC_FONTS_H_
embeddedartists 0:4977187e90c7 34
embeddedartists 0:4977187e90c7 35 #include "lpc_types.h"
embeddedartists 0:4977187e90c7 36
embeddedartists 0:4977187e90c7 37 #if defined(__cplusplus)
embeddedartists 0:4977187e90c7 38 extern "C"
embeddedartists 0:4977187e90c7 39 {
embeddedartists 0:4977187e90c7 40 #endif
embeddedartists 0:4977187e90c7 41
embeddedartists 0:4977187e90c7 42 /** @defgroup GUI_SWIM_FONTS SWIM font definitions
embeddedartists 0:4977187e90c7 43 * @ingroup GUI_SWIM
embeddedartists 0:4977187e90c7 44 * @{
embeddedartists 0:4977187e90c7 45 */
embeddedartists 0:4977187e90c7 46
embeddedartists 0:4977187e90c7 47 /**
embeddedartists 0:4977187e90c7 48 * SWIM font data structure
embeddedartists 0:4977187e90c7 49 */
embeddedartists 0:4977187e90c7 50 typedef struct {
embeddedartists 0:4977187e90c7 51 int16_t font_height;
embeddedartists 0:4977187e90c7 52 uint8_t first_char;
embeddedartists 0:4977187e90c7 53 uint8_t last_char;
embeddedartists 19:f3d0189401e4 54 const uint16_t *font_table;
embeddedartists 19:f3d0189401e4 55 const uint8_t *font_width_table;
embeddedartists 0:4977187e90c7 56 } FONT_T;
embeddedartists 0:4977187e90c7 57
embeddedartists 0:4977187e90c7 58 #if defined(__cplusplus)
embeddedartists 0:4977187e90c7 59 }
embeddedartists 0:4977187e90c7 60 #endif
embeddedartists 0:4977187e90c7 61
embeddedartists 0:4977187e90c7 62 /**
embeddedartists 0:4977187e90c7 63 * @}
embeddedartists 0:4977187e90c7 64 */
embeddedartists 0:4977187e90c7 65
embeddedartists 0:4977187e90c7 66 #endif /* __LPC_FONTS_H_ */
embeddedartists 0:4977187e90c7 67