landtiger with ili9325 lcd controller based on the TFTLCD libary from Todor Todorov
terminus.h@1:1a3dd94e13cf, 2015-06-08 (annotated)
- Committer:
- casval
- Date:
- Mon Jun 08 09:59:17 2015 +0000
- Revision:
- 1:1a3dd94e13cf
- Parent:
- 0:0099ad246127
Mutex form for other project was still there
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
casval | 0:0099ad246127 | 1 | /** \file terminus.h |
casval | 0:0099ad246127 | 2 | * \brief Terminus fontrs for mbed TFTLCDD library |
casval | 0:0099ad246127 | 3 | * \version 0.1 |
casval | 0:0099ad246127 | 4 | * \copyright GNU Public License, v2. |
casval | 0:0099ad246127 | 5 | * |
casval | 0:0099ad246127 | 6 | * This header provides 2 fixed-width fonts, both based on the |
casval | 0:0099ad246127 | 7 | * free Terminus font. The smaller font is 8x12 pixels, and |
casval | 0:0099ad246127 | 8 | * the big one is |
casval | 0:0099ad246127 | 9 | * |
casval | 0:0099ad246127 | 10 | * Copyright (C)2012 Todor Todorov. |
casval | 0:0099ad246127 | 11 | * |
casval | 0:0099ad246127 | 12 | * This library is free software; you can redistribute it and/or |
casval | 0:0099ad246127 | 13 | * modify it under the terms of the GNU Lesser General Public |
casval | 0:0099ad246127 | 14 | * License as published by the Free Software Foundation; either |
casval | 0:0099ad246127 | 15 | * version 2.1 of the License, or (at your option) any later version. |
casval | 0:0099ad246127 | 16 | * |
casval | 0:0099ad246127 | 17 | * This library is distributed in the hope that it will be useful, |
casval | 0:0099ad246127 | 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
casval | 0:0099ad246127 | 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
casval | 0:0099ad246127 | 20 | * Lesser General Public License for more details. |
casval | 0:0099ad246127 | 21 | * |
casval | 0:0099ad246127 | 22 | * You should have received a copy of the GNU Lesser General Public |
casval | 0:0099ad246127 | 23 | * License along with this library; if not, write to: |
casval | 0:0099ad246127 | 24 | * |
casval | 0:0099ad246127 | 25 | * Free Software Foundation, Inc. |
casval | 0:0099ad246127 | 26 | * 51 Franklin St, 5th Floor, Boston, MA 02110-1301, USA |
casval | 0:0099ad246127 | 27 | * |
casval | 0:0099ad246127 | 28 | *********************************************************************/ |
casval | 0:0099ad246127 | 29 | |
casval | 0:0099ad246127 | 30 | #ifndef TFTLCD_TERMINUS_H |
casval | 0:0099ad246127 | 31 | #define TFTLCD_TERMINUS_H |
casval | 0:0099ad246127 | 32 | |
casval | 0:0099ad246127 | 33 | |
casval | 0:0099ad246127 | 34 | #ifdef __cplusplus |
casval | 0:0099ad246127 | 35 | extern "C" { |
casval | 0:0099ad246127 | 36 | #endif |
casval | 0:0099ad246127 | 37 | |
casval | 0:0099ad246127 | 38 | typedef struct FontMetrics_struct |
casval | 0:0099ad246127 | 39 | { |
casval | 0:0099ad246127 | 40 | uint8_t Offset; |
casval | 0:0099ad246127 | 41 | uint8_t Width; |
casval | 0:0099ad246127 | 42 | uint8_t Height; |
casval | 0:0099ad246127 | 43 | const int16_t* Position; |
casval | 0:0099ad246127 | 44 | const char* Data; |
casval | 0:0099ad246127 | 45 | } font_t; |
casval | 0:0099ad246127 | 46 | |
casval | 0:0099ad246127 | 47 | extern const font_t TerminusFont; |
casval | 0:0099ad246127 | 48 | |
casval | 0:0099ad246127 | 49 | extern const font_t TerminusBigFont; |
casval | 0:0099ad246127 | 50 | |
casval | 0:0099ad246127 | 51 | #ifdef __cplusplus |
casval | 0:0099ad246127 | 52 | } |
casval | 0:0099ad246127 | 53 | #endif |
casval | 0:0099ad246127 | 54 | |
casval | 0:0099ad246127 | 55 | #endif /* TFTLCD_TERMINUS_H */ |