aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/output.h
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-09-29 19:12:32 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-09-30 11:35:37 +0200
commitb5dfedd376c2ac89f7c3d14a6f5db0b5ca1d994d (patch)
treedebac6d237969a0d2fa09fb5b0544714d902760c /output.h
parent98d9fc18c782d8fe78e4cd45d807da10ffd0e15d (diff)
downloadopendeco-b5dfedd376c2ac89f7c3d14a6f5db0b5ca1d994d.tar.gz
Initial commitv0.1
Diffstat (limited to 'output.h')
-rw-r--r--output.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/output.h b/output.h
new file mode 100644
index 0000000..0cedcc7
--- /dev/null
+++ b/output.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: MIT-0 */
+
+#ifndef OUTPUT_H
+#define OUTPUT_H
+
+#include <wchar.h>
+
+#include "deco.h"
+
+#define ASC 0x2197 /* Unicode North East Arrow */
+#define LVL 0x2192 /* Unicode Rightwards Arrow */
+#define DEC 0x2198 /* Unicode South East Arrow */
+#define SWI 0x1F5D8 /* Clockwise Right and Left Semicircle Arrows */
+
+void print_planhead();
+void print_planline(const wchar_t sign, const double depth, const double time, const double runtime, const gas_t *gas);
+void print_planfoot(const decostate_t *ds);
+
+#endif /* end of include guard: OUTPUT_H */