aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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
+/** @} */