aboutsummaryrefslogtreecommitdiff
path: root/include/Topbar.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-11-09 09:46:43 +0100
committerdec05eba <dec05eba@protonmail.com>2018-11-09 09:46:47 +0100
commit5fab9a3a2cf048330f687dda48c76c95a3a67d98 (patch)
tree1be0385ef62f5fbf0794d98a697e0ff11fe7a510 /include/Topbar.hpp
parent118277121c8b1767a78f76d19c44aea496121b34 (diff)
Add room joining
Diffstat (limited to 'include/Topbar.hpp')
-rw-r--r--include/Topbar.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/Topbar.hpp b/include/Topbar.hpp
new file mode 100644
index 0000000..ebb7729
--- /dev/null
+++ b/include/Topbar.hpp
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "ImageButton.hpp"
+#include <gtkmm/grid.h>
+#include <gtkmm/searchentry.h>
+#include <gtkmm/label.h>
+
+namespace dchat
+{
+ class Topbar : public Gtk::Grid
+ {
+ public:
+ Topbar();
+ void setTitle(const Glib::ustring &title);
+
+ ImageButton roomSettingsButton;
+ ImageButton roomNotificationsButton;
+ private:
+ Gtk::SearchEntry topbarSearchBar;
+ Gtk::Label currentRoomTitle;
+ };
+} \ No newline at end of file