diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-07-05 03:51:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-05 03:51:58 -0400 |
commit | 68db143c8939e12dd569d6ac737213ad856c139b (patch) | |
tree | d5e814329fb19912b69b9804fc68b852674d8277 /src/components/channellist/cellrendererchannels.hpp | |
parent | e6191d95341d164eacaf91739c8aa7020dd5c9b6 (diff) | |
parent | b19782c16dffd38ac5651641131a48f8ff961b32 (diff) | |
download | abaddon-portaudio-68db143c8939e12dd569d6ac737213ad856c139b.tar.gz abaddon-portaudio-68db143c8939e12dd569d6ac737213ad856c139b.zip |
Merge pull request #279 from uowuo/stages
Support for stages
Diffstat (limited to 'src/components/channellist/cellrendererchannels.hpp')
-rw-r--r-- | src/components/channellist/cellrendererchannels.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/channellist/cellrendererchannels.hpp b/src/components/channellist/cellrendererchannels.hpp index ebe4957..7059c6f 100644 --- a/src/components/channellist/cellrendererchannels.hpp +++ b/src/components/channellist/cellrendererchannels.hpp @@ -6,7 +6,7 @@ #include <gtkmm/cellrendererpixbuf.h> #include <gtkmm/cellrenderertext.h> #include "discord/snowflake.hpp" -#include "discord/voicestateflags.hpp" +#include "discord/voicestate.hpp" #include "misc/bitwise.hpp" enum class RenderType : uint8_t { @@ -16,6 +16,7 @@ enum class RenderType : uint8_t { TextChannel, Thread, VoiceChannel, + VoiceStage, // identical to non-stage except for icon VoiceParticipant, DMHeader, @@ -112,7 +113,8 @@ protected: Gtk::Widget &widget, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, - Gtk::CellRendererState flags); + Gtk::CellRendererState flags, + const char *emoji); // voice participant void get_preferred_width_vfunc_voice_participant(Gtk::Widget &widget, int &minimum_width, int &natural_width) const; |