From a201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 20 Aug 2020 03:19:16 -0400 Subject: rudimentary chat --- components/channels.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'components/channels.hpp') diff --git a/components/channels.hpp b/components/channels.hpp index b98f094..1576783 100644 --- a/components/channels.hpp +++ b/components/channels.hpp @@ -21,11 +21,17 @@ protected: Gtk::ScrolledWindow *m_main; struct ListItemInfo { + enum ListItemType { + Guild, + Category, + Channel, + }; int GuildIndex; Snowflake ID; std::unordered_set Children; bool IsUserCollapsed; bool IsHidden; + ListItemType Type; // for categories Gtk::Arrow *CatArrow = nullptr; }; -- cgit v1.2.3