aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-06-02 18:58:12 +1000
committerinmarket <andrewh@inmarket.com.au>2013-06-02 18:58:12 +1000
commite9f60dae385f1c7b58d1ae26a00d051da40f65d3 (patch)
tree83b8ffad4895aedaaab1738c347711d27a3feedc /include
parent1c258a82738e145953fc9cf40c68dcce6db87d92 (diff)
downloaduGFX-e9f60dae385f1c7b58d1ae26a00d051da40f65d3.tar.gz
uGFX-e9f60dae385f1c7b58d1ae26a00d051da40f65d3.tar.bz2
uGFX-e9f60dae385f1c7b58d1ae26a00d051da40f65d3.zip
Fix license issues and GOS issues in TDISP
Diffstat (limited to 'include')
-rw-r--r--include/tdisp/lld/tdisp_lld.h23
-rw-r--r--include/tdisp/options.h23
-rw-r--r--include/tdisp/tdisp.h70
3 files changed, 38 insertions, 78 deletions
diff --git a/include/tdisp/lld/tdisp_lld.h b/include/tdisp/lld/tdisp_lld.h
index 4c89822e..a71ef76f 100644
--- a/include/tdisp/lld/tdisp_lld.h
+++ b/include/tdisp/lld/tdisp_lld.h
@@ -1,22 +1,9 @@
/*
- ChibiOS/GFX - Copyright (C) 2012, 2013
- Joel Bodenmann aka Tectu <joel@unormal.org>
-
- This file is part of ChibiOS/GFX.
-
- ChibiOS/GFX is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS/GFX is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ * This file is subject to the terms of the GFX License, v1.0. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://chibios-gfx.com/license.html
+ */
/**
* @file include/tdisp/lld/tdisp_lld.h
diff --git a/include/tdisp/options.h b/include/tdisp/options.h
index 6918282e..3ebf686d 100644
--- a/include/tdisp/options.h
+++ b/include/tdisp/options.h
@@ -1,22 +1,9 @@
/*
- ChibiOS/GFX - Copyright (C) 2012, 2013
- Joel Bodenmann aka Tectu <joel@unormal.org>
-
- This file is part of ChibiOS/GFX.
-
- ChibiOS/GFX is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS/GFX is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ * This file is subject to the terms of the GFX License, v1.0. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://chibios-gfx.com/license.html
+ */
/**
* @file include/tdisp/options.h
diff --git a/include/tdisp/tdisp.h b/include/tdisp/tdisp.h
index e0b485d5..4e2dfd92 100644
--- a/include/tdisp/tdisp.h
+++ b/include/tdisp/tdisp.h
@@ -1,31 +1,18 @@
/*
- ChibiOS/GFX - Copyright (C) 2012, 2013
- Joel Bodenmann aka Tectu <joel@unormal.org>
-
- This file is part of ChibiOS/GFX.
-
- ChibiOS/GFX is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS/GFX is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ * This file is subject to the terms of the GFX License, v1.0. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://chibios-gfx.com/license.html
+ */
/**
- * @file include/tdisp/tdisp.h
- * @brief TDISP Graphic Driver subsystem header file.
+ * @file include/tdisp/tdisp.h
+ * @brief TDISP Graphic Driver subsystem header file.
*
- * @addtogroup TDISP
+ * @addtogroup TDISP
*
* @details The TDISP module provides high level abstraction to interface pixel oriented graphic displays.
- * Due the TDISP module is completely encapsulated from the other modules, it's very fast and lightweight.
+ * Due the TDISP module is completely encapsulated from the other modules, it's very fast and lightweight.
*
* @pre GFX_USE_TDISP must be set to TRUE in gfxconf.h
*
@@ -38,10 +25,9 @@
#include "gfx.h"
#if GFX_USE_TDISP || defined(__DOXYGEN__)
-#include <sys/types.h>
/**
- * @brief TDISP cursor shape definitions
+ * @brief TDISP cursor shape definitions
*/
typedef enum cursorshape_e {
cursorOff,
@@ -124,7 +110,7 @@ typedef struct tdispStruct_t {
} tdispStruct;
/**
- * @brief The TDISP structure
+ * @brief The TDISP structure
*/
extern tdispStruct TDISP;
@@ -133,11 +119,11 @@ extern "C" {
#endif
/**
- * @brief TDISP driver initialisation
- * @note This function is not implicitly invoked by @p halInit().
+ * @brief TDISP driver initialisation
+ * @note This function is not implicitly invoked by @p halInit().
* It must be called manually.
*
- * @return TRUE if success, FALSE otherwise
+ * @return TRUE if success, FALSE otherwise
*
* @init
*/
@@ -151,12 +137,12 @@ bool_t tdispInit(void);
void tdispClear(void);
/**
- * @brief Sets the cursor to it's home position ( 0, 0 )
+ * @brief Sets the cursor to it's home position ( 0, 0 )
*/
void tdispHome(void);
/**
- * @brief Set cursor to a specified position
+ * @brief Set cursor to a specified position
*
* @param[in] col The column (x)
* @param[in] row The row (y)
@@ -164,36 +150,36 @@ void tdispHome(void);
void tdispSetCursor(coord_t col, coord_t row);
/**
- * @brief Store a custom character into the display
+ * @brief Store a custom character into the display
*
- * @note This usually must be done after each power-up since most
+ * @note This usually must be done after each power-up since most
* LCDs lose their RAM content.
*
- * @param[in] address On which address to store the character from 0 up to (@p tdispGetNumCustomChars() - 1)
- * @param[in] charmap The character to be stored.
+ * @param[in] address On which address to store the character from 0 up to (@p tdispGetNumCustomChars() - 1)
+ * @param[in] charmap The character to be stored.
*
- * @note The charmap is made up of @p tdispGetCharBitHieght() data values. Each data value is
- * made up of @p tdispGetCharBitWidth() bits of data. Note that bits in multiple rows are not
- * packed.
+ * @note The charmap is made up of @p tdispGetCharBitHieght() data values. Each data value is
+ * made up of @p tdispGetCharBitWidth() bits of data. Note that bits in multiple rows are not
+ * packed.
*/
void tdispCreateChar(uint8_t address, uint8_t *charmap);
/**
- * @brief Draws a single character at the current cursor position and advances the cursor
+ * @brief Draws a single character at the current cursor position and advances the cursor
*
* @param[in] c The character to be drawn
*
- * @note Writing past the end of a row leaves the cursor in an undefined position.
+ * @note Writing past the end of a row leaves the cursor in an undefined position.
*/
void tdispDrawChar(char c);
/**
- * @brief Draws a string at the current cursor position and advances the cursor
+ * @brief Draws a string at the current cursor position and advances the cursor
*
* @param[in] s The string to be drawn
*
- * @note Any characters written past the end of a row may or may not be displayed on
- * the next row. The cursor is also left in an undefined position.
+ * @note Any characters written past the end of a row may or may not be displayed on
+ * the next row. The cursor is also left in an undefined position.
*/
void tdispDrawString(char *s);