summaryrefslogtreecommitdiff
path: root/components/chatinput.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-03-14 17:59:52 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-03-14 17:59:52 -0500
commit927acfb9fe9232ae05cdae165393a60e9419d30f (patch)
treebec06902567ef7d925eada38c482b6d831c61948 /components/chatinput.hpp
parentba6b8b27734ed92928fa5aace9b9291dabd4f7c1 (diff)
downloadabaddon-portaudio-927acfb9fe9232ae05cdae165393a60e9419d30f.tar.gz
abaddon-portaudio-927acfb9fe9232ae05cdae165393a60e9419d30f.zip
add ability to create replies
Diffstat (limited to 'components/chatinput.hpp')
-rw-r--r--components/chatinput.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/chatinput.hpp b/components/chatinput.hpp
index a01b6ab..abb7a18 100644
--- a/components/chatinput.hpp
+++ b/components/chatinput.hpp
@@ -9,15 +9,20 @@ public:
Glib::RefPtr<Gtk::TextBuffer> GetBuffer();
bool ProcessKeyPress(GdkEventKey *event);
-private:
+protected:
+ void on_grab_focus() override;
+private:
Gtk::TextView m_textview;
public:
typedef sigc::signal<void, Glib::ustring> type_signal_submit;
+ typedef sigc::signal<void> type_signal_escape;
type_signal_submit signal_submit();
+ type_signal_escape signal_escape();
private:
type_signal_submit m_signal_submit;
+ type_signal_escape m_signal_escape;
};