aboutsummaryrefslogtreecommitdiffstats
path: root/include/graph.h
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2012-11-09 18:47:05 -0800
committerAndrew Hannam <andrewh@inmarket.com.au>2012-11-09 18:47:05 -0800
commit0eeb2a2b8f0c6bfb77256522c720e6915d57c217 (patch)
tree03ce8e6d759d5482185ae4a4797555ac0a922bfa /include/graph.h
parentd3b4c499ab0267dbcad3d5972bb0317fdba9043e (diff)
parentaffd9792ff42fab8f376bd2c87a71b25fd52baf7 (diff)
downloaduGFX-0eeb2a2b8f0c6bfb77256522c720e6915d57c217.tar.gz
uGFX-0eeb2a2b8f0c6bfb77256522c720e6915d57c217.tar.bz2
uGFX-0eeb2a2b8f0c6bfb77256522c720e6915d57c217.zip
Merge pull request #1 from Tectu/master
Included Tectu changes
Diffstat (limited to 'include/graph.h')
-rw-r--r--include/graph.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/include/graph.h b/include/graph.h
index 9b4603bd..bc0d3d15 100644
--- a/include/graph.h
+++ b/include/graph.h
@@ -18,6 +18,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/**
+ * @file include/graph.h
+ * @brief GRAPH module header file.
+ *
+ * @addtogroup GRAPH
+ * @{
+ */
+
#ifndef GRAPH_H
#define GRAPH_H
@@ -25,7 +33,11 @@
#define GFX_USE_GRAPH FALSE
#endif
-#if GFX_USE_GRAPH
+#if GFX_USE_GRAPH || defined(__DOXYGEN__)
+
+/*===========================================================================*/
+/* Type definitions */
+/*===========================================================================*/
typedef struct _Graph {
coord_t origin_x;
@@ -52,6 +64,10 @@ typedef struct _Graph {
extern "C" {
#endif
+/*===========================================================================*/
+/* Type definitions */
+/*===========================================================================*/
+
void graphDrawSystem(Graph *g);
void graphDrawDot(Graph *g, coord_t x, coord_t y, uint16_t radius, color_t color);
void graphDrawDots(Graph *g, int coord[][2], uint16_t entries, uint16_t radius, uint16_t color);
@@ -64,4 +80,5 @@ void graphDrawNet(Graph *g, int coord[][2], uint16_t entries, uint16_t radius, u
#endif /* GFX_USE_GRAPH */
#endif
+/** @} */