forked from OpenGamers/abaddon
65943b4bd7
disable gtk's treeview search in bans+invites
32 lines
761 B
C++
32 lines
761 B
C++
#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;
|
|
};
|