aboutsummaryrefslogtreecommitdiff
path: root/mapman/src/diffview.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2023-09-09 20:09:50 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2023-09-09 20:09:50 -0400
commit93cf929f29dea490ed60e5300cacdd99886c988e (patch)
tree0f8669c56e22a287047ee20846b92f1580d7364f /mapman/src/diffview.hpp
parent40432e083b11271cf3148b9c38156cf759436699 (diff)
downloadmeteor-trashy-addon-93cf929f29dea490ed60e5300cacdd99886c988e.tar.xz
Add the standalone portion of mapman.
Diffstat (limited to 'mapman/src/diffview.hpp')
-rw-r--r--mapman/src/diffview.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/mapman/src/diffview.hpp b/mapman/src/diffview.hpp
new file mode 100644
index 0000000..d506f3a
--- /dev/null
+++ b/mapman/src/diffview.hpp
@@ -0,0 +1,21 @@
+#ifndef DIFFVIEW_HPP
+#define DIFFVIEW_HPP
+
+#include <QWidget>
+
+#include <vector>
+
+class QTextEdit;
+
+class diff_view : public QWidget
+{
+ Q_OBJECT
+public:
+ diff_view(QWidget* par = nullptr);
+ void set_results(const std::vector<int> &a_b, const std::vector<int> &b_a);
+private:
+ QTextEdit *tea_b;
+ QTextEdit *teb_a;
+};
+
+#endif