rudimentary chat

This commit is contained in:
ouwou
2020-08-20 03:19:16 -04:00
parent 4b903bbd3e
commit a201d5905a
14 changed files with 426 additions and 7 deletions

View File

@@ -21,11 +21,17 @@ protected:
Gtk::ScrolledWindow *m_main;
struct ListItemInfo {
enum ListItemType {
Guild,
Category,
Channel,
};
int GuildIndex;
Snowflake ID;
std::unordered_set<Gtk::ListBoxRow *> Children;
bool IsUserCollapsed;
bool IsHidden;
ListItemType Type;
// for categories
Gtk::Arrow *CatArrow = nullptr;
};