+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * SAM Software Package License\r
- * ----------------------------------------------------------------------------\r
- * Copyright (c) 2011, Atmel Corporation\r
- *\r
- * All rights reserved.\r
- *\r
- * Redistribution and use in source and binary forms, with or without\r
- * modification, are permitted provided that the following conditions are met:\r
- *\r
- * - Redistributions of source code must retain the above copyright notice,\r
- * this list of conditions and the disclaimer below.\r
- *\r
- * Atmel's name may not be used to endorse or promote products derived from\r
- * this software without specific prior written permission.\r
- *\r
- * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR\r
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\r
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE\r
- * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,\r
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\r
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\r
- * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
- * ----------------------------------------------------------------------------\r
- */\r
-\r
-/**\r
- * \file\r
- *\r
- * Interface for draw font on LCD.\r
- *\r
- */\r
-\r
-/**\r
- *\r
- * \section Purpose\r
- *\r
- * The font.h files declares a font structure and a LCDD_DrawChar function\r
- * that must be implemented by a font definition file to be used with the\r
- * LCDD_DrawString method of draw.h.\r
- *\r
- * The font10x14.c implements the necessary variable and function for a 10x14\r
- * font.\r
- *\r
- * \section Usage\r
- *\r
- * -# Declare a gFont global variable with the necessary Font information.\r
- * -# Implement an LCDD_DrawChar function which displays the specified\r
- * character on the LCD.\r
- * -# Use the LCDD_DrawString method defined in draw.h to display a complete\r
- * string.\r
- */\r
-\r
-#ifndef _LCD_FONT_\r
-#define _LCD_FONT_\r
-\r
-/*----------------------------------------------------------------------------\r
- * Headers\r
- *----------------------------------------------------------------------------*/\r
-\r
-#include <stdint.h>\r
-\r
-/*----------------------------------------------------------------------------\r
- * Types\r
- *----------------------------------------------------------------------------*/\r
-\r
-\r
-/** \brief Describes the font (width, height, supported characters, etc.) used by\r
- * the LCD driver draw API.\r
- */\r
-typedef struct _Font {\r
- /* Font width in pixels. */\r
- uint8_t width;\r
- /* Font height in pixels. */\r
- uint8_t height;\r
-} Font;\r
-\r
-/*----------------------------------------------------------------------------\r
- * Variables\r
- *----------------------------------------------------------------------------*/\r
-\r
-/** Global variable describing the font being instancied. */\r
-extern const Font gFont;\r
-\r
-/*----------------------------------------------------------------------------\r
- * Exported functions\r
- *----------------------------------------------------------------------------*/\r
-\r
-extern void LCDD_DrawChar( uint32_t x, uint32_t y, uint8_t c, uint32_t color ) ;\r
-\r
-extern void LCD_DrawString( uint32_t dwX, uint32_t dwY, const uint8_t *pString, uint32_t color );\r
-\r
-extern void LCDD_DrawCharWithBGColor( uint32_t x, uint32_t y, uint8_t c, uint32_t fontColor, uint32_t bgColor ) ;\r
-\r
-#endif /* #ifndef LCD_FONT_ */\r
-\r