aboutsummaryrefslogtreecommitdiff
path: root/include/RoomSettingsWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/RoomSettingsWindow.hpp')
-rw-r--r--include/RoomSettingsWindow.hpp30
1 files changed, 30 insertions, 0 deletions
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 <gtkmm/grid.h>
+#include <gtkmm/entry.h>
+#include <gtkmm/label.h>
+#include <dchat/Room.hpp>
+
+namespace Gtk
+{
+ class Paned;
+}
+
+namespace dchat
+{
+ class ChatWindow;
+
+ class RoomSettingsWindow : public Gtk::Grid
+ {
+ public:
+ RoomSettingsWindow(ChatWindow *chatWindow);
+ void selectRoom(std::shared_ptr<Room> 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