blob: 3d8199bc5a5a6f09f459fbbf9c77d4f359e43c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include <gtkmm.h>
#include "discord/snowflake.hpp"
#include "profile/userinfopane.hpp"
#include "profile/mutualguildspane.hpp"
#include "profile/mutualfriendspane.hpp"
class ProfileWindow : public Gtk::Window {
public:
ProfileWindow(Snowflake user_id);
Snowflake ID;
private:
void OnFetchProfile(const UserProfileData &data);
Gtk::Box m_main;
Gtk::Box m_upper;
Gtk::Box m_badges;
Gtk::ScrolledWindow m_badges_scroll;
Gtk::EventBox m_avatar_ev;
Gtk::Image m_avatar;
Gtk::Label m_username;
Gtk::ScrolledWindow m_scroll;
Gtk::Stack m_stack;
Gtk::StackSwitcher m_switcher;
ProfileUserInfoPane m_pane_info;
UserMutualGuildsPane m_pane_guilds;
MutualFriendsPane m_pane_friends;
};
|