summaryrefslogtreecommitdiff
path: root/dialogs/editmessage.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-08-30 22:55:36 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-08-30 22:55:36 -0400
commit9b1bc8f14590db0cf460fd62a7eb856e02a531db (patch)
treeede45d77aa834d9c19f3db0b2af6e08e511b1a5d /dialogs/editmessage.hpp
parent44b7989f50d458a8d60024f29e225e40a106d927 (diff)
downloadabaddon-portaudio-9b1bc8f14590db0cf460fd62a7eb856e02a531db.tar.gz
abaddon-portaudio-9b1bc8f14590db0cf460fd62a7eb856e02a531db.zip
add ability to edit messages
Diffstat (limited to 'dialogs/editmessage.hpp')
-rw-r--r--dialogs/editmessage.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/dialogs/editmessage.hpp b/dialogs/editmessage.hpp
new file mode 100644
index 0000000..5427897
--- /dev/null
+++ b/dialogs/editmessage.hpp
@@ -0,0 +1,20 @@
+#pragma once
+#include <gtkmm.h>
+#include <string>
+
+class EditMessageDialog : public Gtk::Dialog {
+public:
+ EditMessageDialog(Gtk::Window &parent);
+ std::string GetContent();
+
+protected:
+ Gtk::Box m_layout;
+ Gtk::Button m_ok;
+ Gtk::Button m_cancel;
+ Gtk::ButtonBox m_bbox;
+ Gtk::ScrolledWindow m_scroll;
+ Gtk::TextView m_text;
+
+private:
+ std::string m_content;
+};