diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-02-05 01:32:08 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-02-05 01:32:08 -0500 |
commit | c827bd4943267dec26e2b67d97e2b534b3dbf69a (patch) | |
tree | 3fcaeea8497c818d8b92f78a47522649302fb7b5 /windows/profile/userinfopane.hpp | |
parent | 64adcffe4272d109f296ff46fbc52eea5cf367bd (diff) | |
download | abaddon-portaudio-c827bd4943267dec26e2b67d97e2b534b3dbf69a.tar.gz abaddon-portaudio-c827bd4943267dec26e2b67d97e2b534b3dbf69a.zip |
move connection item to own class, add verified check icon
also try and fix build
Diffstat (limited to 'windows/profile/userinfopane.hpp')
-rw-r--r-- | windows/profile/userinfopane.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/windows/profile/userinfopane.hpp b/windows/profile/userinfopane.hpp index ae88c70..a93387b 100644 --- a/windows/profile/userinfopane.hpp +++ b/windows/profile/userinfopane.hpp @@ -2,6 +2,18 @@ #include <gtkmm.h> #include "../../discord/objects.hpp" +class ConnectionItem : public Gtk::EventBox { +public: + ConnectionItem(const ConnectionData &connection); + +private: + Gtk::Overlay m_overlay; + Gtk::Box m_box; + Gtk::Label m_name; + Gtk::Image *m_image = nullptr; + Gtk::Image *m_check = nullptr; +}; + class ConnectionsContainer : public Gtk::Grid { public: ConnectionsContainer(); |