From 5fab9a3a2cf048330f687dda48c76c95a3a67d98 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 9 Nov 2018 09:46:43 +0100 Subject: Add room joining --- include/RoomSettingsWindow.hpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/RoomSettingsWindow.hpp (limited to 'include/RoomSettingsWindow.hpp') diff --git a/include/RoomSettingsWindow.hpp b/include/RoomSettingsWindow.hpp new file mode 100644 index 0000000..9ffd808 --- /dev/null +++ b/include/RoomSettingsWindow.hpp @@ -0,0 +1,30 @@ +#pragma once + +#include +#include +#include +#include + +namespace Gtk +{ + class Paned; +} + +namespace dchat +{ + class ChatWindow; + + class RoomSettingsWindow : public Gtk::Grid + { + public: + RoomSettingsWindow(ChatWindow *chatWindow); + void selectRoom(std::shared_ptr room); + + void setupLeftPanel(Gtk::Paned *sidePanels); + void setupRightPanel(Gtk::Paned *sidePanels); + private: + ChatWindow *chatWindow; + Gtk::Entry roomNameEntry; + Gtk::Label inviteKey; + }; +} \ No newline at end of file -- cgit v1.2.3