summaryrefslogtreecommitdiff
path: root/windows/profile/userinfopane.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-05-26 02:50:22 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-05-26 02:50:22 -0400
commit484e21e693d1a5d25c1ef959ba531bc584ef4eba (patch)
tree5b0e1ba2064b21ca51a3712d94d45488fe53256d /windows/profile/userinfopane.hpp
parent5d8209cf10e007f087ff9c7ce023d0530a76815b (diff)
downloadabaddon-portaudio-484e21e693d1a5d25c1ef959ba531bc584ef4eba.tar.gz
abaddon-portaudio-484e21e693d1a5d25c1ef959ba531bc584ef4eba.zip
display user bio in profile window
Diffstat (limited to 'windows/profile/userinfopane.hpp')
-rw-r--r--windows/profile/userinfopane.hpp13
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;
};