diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-03-30 22:31:13 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-03-30 22:31:13 -0400 |
commit | 599a768459074559abed2a57fad789b0d8e48f9d (patch) | |
tree | 47296f72133f6ddccc84f2f8e47a4eed0ab37130 /components/chatmessage.hpp | |
parent | f4366fc0af088d7d78e2e571fb9b81e0c5693b51 (diff) | |
download | abaddon-portaudio-599a768459074559abed2a57fad789b0d8e48f9d.tar.gz abaddon-portaudio-599a768459074559abed2a57fad789b0d8e48f9d.zip |
remove old messages when new ones come in to save resources
Diffstat (limited to 'components/chatmessage.hpp')
-rw-r--r-- | components/chatmessage.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/chatmessage.hpp b/components/chatmessage.hpp index 56f6f5f..d4c36a5 100644 --- a/components/chatmessage.hpp +++ b/components/chatmessage.hpp @@ -110,12 +110,15 @@ public: ChatMessageHeader(const Message *data); void AddContent(Gtk::Widget *widget, bool prepend); void UpdateNameColor(); + std::vector<Gtk::Widget*> GetChildContent(); protected: void AttachUserMenuHandler(Gtk::Widget &widget); bool on_author_button_press(GdkEventButton *ev); + std::vector<Gtk::Widget*> m_content_widgets; + Gtk::Box *m_main_box; Gtk::Box *m_content_box; Gtk::EventBox *m_content_box_ev; |