aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-10-31 01:14:11 +0100
committerJoel Bodenmann <joel@unormal.org>2012-10-31 01:14:11 +0100
commita922a268fd6fa224ce3c9199e30362203e409438 (patch)
tree452f0b94df0c2a84eaa79b70a13a11716e90ecb4 /include
parent377f80d0cae500e49d103aafe7e1532ba8d40ca0 (diff)
downloaduGFX-a922a268fd6fa224ce3c9199e30362203e409438.tar.gz
uGFX-a922a268fd6fa224ce3c9199e30362203e409438.tar.bz2
uGFX-a922a268fd6fa224ce3c9199e30362203e409438.zip
doxygen for graph
Diffstat (limited to 'include')
-rw-r--r--include/graph.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/graph.h b/include/graph.h
index 9b4603bd..32995064 100644
--- a/include/graph.h
+++ b/include/graph.h
@@ -18,6 +18,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/**
+ * @file graph.h
+ * @brief GRAPH module header file.
+ *
+ * @addtogroup GRAPH
+ * @{
+ */
#ifndef GRAPH_H
#define GRAPH_H
@@ -27,6 +34,10 @@
#if GFX_USE_GRAPH
+/*===========================================================================*/
+/* Type definitions */
+/*===========================================================================*/
+
typedef struct _Graph {
coord_t origin_x;
coord_t origin_y;
@@ -52,6 +63,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 +79,5 @@ void graphDrawNet(Graph *g, int coord[][2], uint16_t entries, uint16_t radius, u
#endif /* GFX_USE_GRAPH */
#endif
+/** @} */