summaryrefslogtreecommitdiff
path: root/windows/guildsettings/infopane.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-11-28 22:48:30 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-11-28 22:48:30 -0500
commite1703aea3fd597b23bde90e6c505278c517be611 (patch)
tree37d98fc90c9cd0844388bfb79beda2204f44af92 /windows/guildsettings/infopane.hpp
parentfd53a76bf6f53a095a639765923a30f2206b2cd6 (diff)
parente02107feea8214a045e6faa969f00dcbc0d2b072 (diff)
downloadabaddon-portaudio-e1703aea3fd597b23bde90e6c505278c517be611.tar.gz
abaddon-portaudio-e1703aea3fd597b23bde90e6c505278c517be611.zip
merge master
Diffstat (limited to 'windows/guildsettings/infopane.hpp')
-rw-r--r--windows/guildsettings/infopane.hpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/windows/guildsettings/infopane.hpp b/windows/guildsettings/infopane.hpp
deleted file mode 100644
index 829fa3b..0000000
--- a/windows/guildsettings/infopane.hpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#pragma once
-#include <gtkmm.h>
-#include "../../discord/guild.hpp"
-
-class GuildSettingsInfoPane : public Gtk::Grid {
-public:
- GuildSettingsInfoPane(Snowflake id);
-
-private:
- void FetchGuildIcon(const GuildData &guild);
-
- void UpdateGuildName();
- void UpdateGuildIconFromData(const std::vector<uint8_t> &data, const std::string &mime);
- void UpdateGuildIconFromPixbuf(Glib::RefPtr<Gdk::Pixbuf> pixbuf);
- void UpdateGuildIconPicker();
- void UpdateGuildIconClipboard();
-
- Gtk::Label m_guild_icon_label;
- Gtk::EventBox m_guild_icon_ev; // necessary to make custom cursor behave properly
- Gtk::Image m_guild_icon;
-
- Gtk::Label m_guild_name_label;
- Gtk::Entry m_guild_name;
-
- Snowflake GuildID;
-};