diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-06-04 02:39:35 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-06-04 02:39:35 -0400 |
commit | 43ea62d444b41e9ffff785ede2620b2e64fbb3b7 (patch) | |
tree | 95ccd96da8a15a4ce6586b8a065277770999087a /windows/profile/userinfopane.hpp | |
parent | 79c00c68e5845b496f6d3163d6fbc6e1c6de56ae (diff) | |
parent | 28b33d1b220aef5558ef58eb1326510ccccf5361 (diff) | |
download | abaddon-portaudio-43ea62d444b41e9ffff785ede2620b2e64fbb3b7.tar.gz abaddon-portaudio-43ea62d444b41e9ffff785ede2620b2e64fbb3b7.zip |
merge
Diffstat (limited to 'windows/profile/userinfopane.hpp')
-rw-r--r-- | windows/profile/userinfopane.hpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/windows/profile/userinfopane.hpp b/windows/profile/userinfopane.hpp index 169ac25..b29cb76 100644 --- a/windows/profile/userinfopane.hpp +++ b/windows/profile/userinfopane.hpp @@ -39,16 +39,27 @@ public: type_signal_update_note signal_update_note(); }; +class BioContainer : public Gtk::Box { +public: + BioContainer(); + void SetBio(const std::string &bio); + +private: + Gtk::Label m_label; + Gtk::Label m_bio; +}; + class ProfileUserInfoPane : public Gtk::Box { public: ProfileUserInfoPane(Snowflake ID); - void SetConnections(const std::vector<ConnectionData> &connections); + void SetProfile(const UserProfileData &data); Snowflake UserID; private: Gtk::Label m_created; + BioContainer m_bio; NotesContainer m_note; ConnectionsContainer m_conns; }; |