From 002004cb5f01d22601047433cc868359cf022842 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Fri, 3 Sep 2021 04:04:51 -0400 Subject: add notice for archived threads at top of chatwindow --- components/chatwindow.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components/chatwindow.hpp') diff --git a/components/chatwindow.hpp b/components/chatwindow.hpp index ee2eef6..5ef8bad 100644 --- a/components/chatwindow.hpp +++ b/components/chatwindow.hpp @@ -28,6 +28,7 @@ public: void InsertChatInput(std::string text); Snowflake GetOldestListedMessage(); // oldest message that is currently in the ListBox void UpdateReactions(Snowflake id); + void SetTopic(const std::string &text); protected: bool m_is_replying = false; @@ -49,6 +50,9 @@ protected: //Gtk::ListBox *m_list; //Gtk::ScrolledWindow *m_scroll; + Gtk::EventBox m_topic; // todo probably make everything else go on the stack + Gtk::Label m_topic_text; + ChatList *m_chat; ChatInput *m_input; -- cgit v1.2.3