summaryrefslogtreecommitdiff
path: root/windows/mainwindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'windows/mainwindow.hpp')
-rw-r--r--windows/mainwindow.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/windows/mainwindow.hpp b/windows/mainwindow.hpp
index 0be4bc0..544e9a3 100644
--- a/windows/mainwindow.hpp
+++ b/windows/mainwindow.hpp
@@ -2,6 +2,7 @@
#include "../components/channels.hpp"
#include "../components/chatwindow.hpp"
#include "../components/memberlist.hpp"
+#include "../components/friendslist.hpp"
#include <gtkmm.h>
class MainWindow : public Gtk::Window {
@@ -74,6 +75,7 @@ protected:
ChannelList m_channel_list;
ChatWindow m_chat;
MemberList m_members;
+ FriendsList m_friends;
Gtk::Stack m_content_stack;
@@ -93,4 +95,9 @@ protected:
Gtk::MenuItem m_menu_file_reload_settings;
Gtk::MenuItem m_menu_file_reload_css;
Gtk::MenuItem m_menu_file_clear_cache;
+
+ Gtk::MenuItem m_menu_view;
+ Gtk::Menu m_menu_view_sub;
+ Gtk::MenuItem m_menu_view_friends;
+ void OnViewSubmenuPopup(const Gdk::Rectangle *flipped_rect, const Gdk::Rectangle *final_rect, bool flipped_x, bool flipped_y);
};