From d0fa9cc289d8398a27ddf2a66783b5d460e2210a Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 14 May 2023 23:55:38 -0400 Subject: make voice channel list UI look better --- src/components/channels.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/channels.hpp') diff --git a/src/components/channels.hpp b/src/components/channels.hpp index 36c7766..8aee733 100644 --- a/src/components/channels.hpp +++ b/src/components/channels.hpp @@ -16,6 +16,7 @@ constexpr static int GuildIconSize = 24; constexpr static int DMIconSize = 20; +constexpr static int VoiceParticipantIconSize = 18; constexpr static int OrphanChannelSortOffset = -100; // forces orphan channels to the top of the list class ChannelList : public Gtk::ScrolledWindow { @@ -84,6 +85,7 @@ protected: Gtk::TreeModel::iterator AddGuild(const GuildData &guild, const Gtk::TreeNodeChildren &root); Gtk::TreeModel::iterator UpdateCreateChannelCategory(const ChannelData &channel); Gtk::TreeModel::iterator CreateThreadRow(const Gtk::TreeNodeChildren &children, const ChannelData &channel); + Gtk::TreeModel::iterator CreateVoiceParticipantRow(const UserData &user, const Gtk::TreeNodeChildren &parent); void UpdateChannelCategory(const ChannelData &channel); -- cgit v1.2.3