summaryrefslogtreecommitdiff
path: root/src/components/channels.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-02-01 23:49:48 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2023-02-01 23:49:48 -0500
commitecc83036c1522a024e1f5a1efc6fe533b907daf1 (patch)
treeceb75059aec90e01a314e59851beefffa733cdb0 /src/components/channels.hpp
parent5a6f8cac09770d315fe4a3258fa6116e65750f24 (diff)
parent3ed51eb155444859c3aa00119857b602066c9c10 (diff)
downloadabaddon-portaudio-ecc83036c1522a024e1f5a1efc6fe533b907daf1.tar.gz
abaddon-portaudio-ecc83036c1522a024e1f5a1efc6fe533b907daf1.zip
Merge branch 'master' into pch
Diffstat (limited to 'src/components/channels.hpp')
-rw-r--r--src/components/channels.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/channels.hpp b/src/components/channels.hpp
index cca2ad5..6c16fcd 100644
--- a/src/components/channels.hpp
+++ b/src/components/channels.hpp
@@ -60,6 +60,7 @@ protected:
Gtk::TreeModelColumn<Glib::RefPtr<Gdk::PixbufAnimation>> m_icon_anim;
Gtk::TreeModelColumn<int64_t> m_sort;
Gtk::TreeModelColumn<bool> m_nsfw;
+ Gtk::TreeModelColumn<std::optional<Gdk::RGBA>> m_color; // for folders right now
// Gtk::CellRenderer's property_is_expanded only works how i want it to if it has children
// because otherwise it doesnt count as an "expander" (property_is_expander)
// so this solution will have to do which i hate but the alternative is adding invisible children
@@ -71,7 +72,8 @@ protected:
ModelColumns m_columns;
Glib::RefPtr<Gtk::TreeStore> m_model;
- Gtk::TreeModel::iterator AddGuild(const GuildData &guild);
+ Gtk::TreeModel::iterator AddFolder(const UserSettingsGuildFoldersEntry &folder);
+ 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);