aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-11-25 20:02:46 +0100
committerNao Pross <naopross@thearcway.org>2017-11-25 20:02:46 +0100
commit004fa309d6ede28ec8ab195647a2cbee490e104f (patch)
tree77caa08e70ba6ad02e3af0f143f3c5a24970ccd5 /src/main.cpp
downloadOrbitingYeti-004fa309d6ede28ec8ab195647a2cbee490e104f.tar.gz
OrbitingYeti-004fa309d6ede28ec8ab195647a2cbee490e104f.zip
First commit
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..5ea2172
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,16 @@
+#include "diagram/Structogram.h"
+#include <iostream>
+#include "ui/AsciiRenderer.h"
+
+int main(int argc, char *argv[]) {
+ samb::Structogram st("Demo");
+ samb::AsciiRenderer renderer(st, 60);
+
+ renderer.render();
+
+ return 0;
+}
+
+
+
+