diff options
-rw-r--r-- | components/chatmessage.hpp | 3 | ||||
-rw-r--r-- | components/chatwindow.hpp | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/components/chatmessage.hpp b/components/chatmessage.hpp index d168969..bf8edf2 100644 --- a/components/chatmessage.hpp +++ b/components/chatmessage.hpp @@ -33,8 +33,7 @@ protected: void HandleChannelMentions(Gtk::TextView *tv); bool OnClickChannel(GdkEventButton *ev); - void - HandleLinks(Gtk::TextView *tv); + void HandleLinks(Gtk::TextView *tv); bool OnLinkClick(GdkEventButton *ev); std::map<Glib::RefPtr<Gtk::TextTag>, std::string> m_link_tagmap; std::map<Glib::RefPtr<Gtk::TextTag>, Snowflake> m_channel_tagmap; diff --git a/components/chatwindow.hpp b/components/chatwindow.hpp index 5ac4ea5..2372f3d 100644 --- a/components/chatwindow.hpp +++ b/components/chatwindow.hpp @@ -17,16 +17,16 @@ public: void Clear(); void SetMessages(const std::set<Snowflake> &msgs); // clear contents and replace with given set void SetActiveChannel(Snowflake id); - void AddNewMessage(Snowflake id); // append new message to bottom - void DeleteMessage(Snowflake id); // add [deleted] indicator - void UpdateMessage(Snowflake id); // add [edited] indicator + void AddNewMessage(Snowflake id); // append new message to bottom + void DeleteMessage(Snowflake id); // add [deleted] indicator + void UpdateMessage(Snowflake id); // add [edited] indicator void AddNewHistory(const std::vector<Snowflake> &id); // prepend messages void InsertChatInput(std::string text); Snowflake GetOldestListedMessage(); // oldest message that is currently in the ListBox protected: ChatMessageItemContainer *CreateMessageComponent(Snowflake id); // to be inserted into header's content box - void ProcessNewMessage(Snowflake id, bool prepend); // creates and adds components + void ProcessNewMessage(Snowflake id, bool prepend); // creates and adds components void SetMessagesInternal(); void AddNewMessageInternal(); |