From 7f7e6fe30ef4f9ba4507b89174676f57c42c0000 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 26 Nov 2017 23:36:26 +0100 Subject: Implementation for Structogram iterator and Statement type The interator is not (yet) aware of the scope in which it is iterating. --- .cproject | 6 +- .gitignore | 3 + .project | 2 +- .settings/language.settings.xml | 4 +- .../org.eclipse.cdt.managedbuilder.core.prefs | 13 +++ src/diagram/Statement.cpp | 15 ++- src/diagram/Statement.hpp | 44 +++++--- src/diagram/Structogram.cpp | 111 ++++++++++++++++++++- src/diagram/Structogram.hpp | 53 ++++++++-- src/main.cpp | 26 ++++- src/ui/AsciiRenderer.cpp | 23 +++-- src/ui/AsciiRenderer.h | 33 ------ src/ui/AsciiRenderer.hpp | 37 +++++++ src/ui/Window.cpp | 21 ++++ src/ui/Window.hpp | 27 +++++ 15 files changed, 340 insertions(+), 78 deletions(-) create mode 100644 .gitignore create mode 100644 .settings/org.eclipse.cdt.managedbuilder.core.prefs delete mode 100644 src/ui/AsciiRenderer.h create mode 100644 src/ui/AsciiRenderer.hpp create mode 100644 src/ui/Window.cpp create mode 100644 src/ui/Window.hpp diff --git a/.cproject b/.cproject index 46b958f..153dab5 100644 --- a/.cproject +++ b/.cproject @@ -7,18 +7,16 @@ - - - + - +