diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-12-20 19:46:34 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-12-20 19:46:34 +0100 |
commit | bee9002fcc323e76c9e243424c48f52847f72b67 (patch) | |
tree | 5f1365fb1380bf3d1047ae682f1330861119163d | |
parent | 65aa1d42d6421a47880d826b2cd8e532b17fc55c (diff) | |
download | uGFX-bee9002fcc323e76c9e243424c48f52847f72b67.tar.gz uGFX-bee9002fcc323e76c9e243424c48f52847f72b67.tar.bz2 uGFX-bee9002fcc323e76c9e243424c48f52847f72b67.zip |
small doxygen cleanup
-rw-r--r-- | include/gdisp/fonts.h | 3 | ||||
-rw-r--r-- | include/gdisp/gdisp.h | 7 | ||||
-rw-r--r-- | include/gdisp/options.h | 2 |
3 files changed, 4 insertions, 8 deletions
diff --git a/include/gdisp/fonts.h b/include/gdisp/fonts.h index 34a5b89d..f92f1b81 100644 --- a/include/gdisp/fonts.h +++ b/include/gdisp/fonts.h @@ -71,9 +71,6 @@ struct font { const fontcolumn_t *dataTable;
};
-/**
- * @brief Macros to get to the complex parts of the font structure.
- */
#define _getCharWidth(f,c) (((c) < (f)->minChar || (c) > (f)->maxChar) ? 0 : (f)->widthTable[(c) - (f)->minChar])
#define _getCharOffset(f,c) ((f)->offsetTable[(c) - (f)->minChar])
#define _getCharData(f,c) (&(f)->dataTable[_getCharOffset(f, c)])
diff --git a/include/gdisp/gdisp.h b/include/gdisp/gdisp.h index f8d5745f..da6d859f 100644 --- a/include/gdisp/gdisp.h +++ b/include/gdisp/gdisp.h @@ -52,7 +52,8 @@ typedef int16_t coord_t; /*===========================================================================*/
/**
- * @brief Some basic colors
+ * @name Some basic colors
+ * @{
*/
#define White HTML2COLOR(0xFFFFFF)
#define Black HTML2COLOR(0x000000)
@@ -76,6 +77,7 @@ typedef int16_t coord_t; #define Orange HTML2COLOR(0xFFA500)
#define Pink HTML2COLOR(0xFFC0CB)
#define SkyBlue HTML2COLOR(0x87CEEB)
+/** @} */
/*===========================================================================*/
/* Low Level Driver details and error checks. */
@@ -102,9 +104,6 @@ typedef enum fontmetric {fontHeight, fontDescendersHeight, fontLineSpacing, font /*===========================================================================*/
#if (GDISP_NEED_TEXT && GDISP_OLD_FONT_DEFINITIONS) || defined(__DOXYGEN__)
- /**
- * @brief Predefined fonts.
- */
#if GDISP_INCLUDE_FONT_SMALL
extern const struct font fontSmall;
extern const struct font fontSmallDouble;
diff --git a/include/gdisp/options.h b/include/gdisp/options.h index b53138ca..2fedd34d 100644 --- a/include/gdisp/options.h +++ b/include/gdisp/options.h @@ -163,7 +163,7 @@ #define GDISP_OLD_FONT_DEFINITIONS FALSE
#endif
/**
- * @brief Predefined built in fonts.
+ * @brief Predefined built in fonts
* @note Turning off the ones you are not using can save program size.
*/
#ifndef GDISP_INCLUDE_FONT_SMALL
|