diff options
Diffstat (limited to 'src/components/channellist/channellist.hpp')
-rw-r--r-- | src/components/channellist/channellist.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/channellist/channellist.hpp b/src/components/channellist/channellist.hpp index 5863485..692afa7 100644 --- a/src/components/channellist/channellist.hpp +++ b/src/components/channellist/channellist.hpp @@ -2,11 +2,12 @@ #include <gtkmm/box.h> #include <gtkmm/paned.h> #include "channellisttree.hpp" +#include "classic/guildlist.hpp" #include "discord/snowflake.hpp" #include "state.hpp" // Contains the actual ChannelListTree and the classic listing if enabled -class ChannelList : public Gtk::Box { +class ChannelList : public Gtk::HBox { // have to proxy public and signals to underlying tree... ew!!! public: ChannelList(); @@ -20,9 +21,16 @@ public: void UsePanedHack(Gtk::Paned &paned); + void SetClassic(bool value); + private: + void ConnectSignals(); + ChannelListTree m_tree; + Gtk::ScrolledWindow m_guilds_scroll; + GuildList m_guilds; + public: using type_signal_action_channel_item_select = sigc::signal<void, Snowflake>; using type_signal_action_guild_leave = sigc::signal<void, Snowflake>; |