let channel list manage itself instead of window

This commit is contained in:
ouwou
2021-07-26 00:56:14 -04:00
parent 30391836d0
commit df243a40b5
6 changed files with 15 additions and 76 deletions

View File

@@ -118,17 +118,18 @@ private:
class ChannelList : public Gtk::ScrolledWindow {
public:
ChannelList();
void UpdateListing();
void UpdateNewGuild(Snowflake id);
void SetActiveChannel(Snowflake id);
protected:
void UpdateNewGuild(const GuildData &guild);
void UpdateRemoveGuild(Snowflake id);
void UpdateRemoveChannel(Snowflake id);
void UpdateChannel(Snowflake id);
void UpdateCreateChannel(Snowflake id);
void UpdateGuild(Snowflake id);
void SetActiveChannel(Snowflake id);
protected:
Gtk::TreeView m_view;
class ModelColumns : public Gtk::TreeModel::ColumnRecord {