mcufriend 2.4 TFT LCD Shield Lib
Dependents: Nucleo_LCD_mcufriend_test
Fork of 24_TFT_STMNUCLEO by
terminus.h
00001 /** \file terminus.h 00002 * \brief Terminus fontrs for mbed TFTLCDD library 00003 * \version 0.1 00004 * \copyright GNU Public License, v2. 00005 * 00006 * This header provides 2 fixed-width fonts, both based on the 00007 * free Terminus font. The smaller font is 8x12 pixels, and 00008 * the big one is 00009 * 00010 * Copyright (C)2012 Todor Todorov. 00011 * 00012 * This library is free software; you can redistribute it and/or 00013 * modify it under the terms of the GNU Lesser General Public 00014 * License as published by the Free Software Foundation; either 00015 * version 2.1 of the License, or (at your option) any later version. 00016 * 00017 * This library is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00020 * Lesser General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU Lesser General Public 00023 * License along with this library; if not, write to: 00024 * 00025 * Free Software Foundation, Inc. 00026 * 51 Franklin St, 5th Floor, Boston, MA 02110-1301, USA 00027 * 00028 *********************************************************************/ 00029 00030 #ifndef TFTLCD_TERMINUS_H 00031 #define TFTLCD_TERMINUS_H 00032 00033 00034 #ifdef __cplusplus 00035 extern "C" { 00036 #endif 00037 00038 typedef struct FontMetrics_struct 00039 { 00040 uint8_t Offset; 00041 uint8_t Width; 00042 uint8_t Height; 00043 const int16_t* Position; 00044 const char* Data; 00045 } font_t; 00046 00047 extern const font_t TerminusFont; 00048 00049 extern const font_t TerminusBigFont; 00050 00051 #ifdef __cplusplus 00052 } 00053 #endif 00054 00055 #endif /* TFTLCD_TERMINUS_H */
Generated on Wed Jul 13 2022 16:07:34 by 1.7.2