aboutsummaryrefslogtreecommitdiff
path: root/include/UsersSidePanel.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-28 11:52:04 +0200
committerdec05eba <dec05eba@protonmail.com>2018-04-28 11:53:18 +0200
commit3b03f87070d91f63f0dc3c7152723727781dcccf (patch)
tree7b06163f34248d1e632c032cfaf306787675e585 /include/UsersSidePanel.hpp
parentb0bfb8b8d1479502bd5adf17e6a1b94ec00c63ca (diff)
Add commands, users side panel, improve image download
start using odhtdb
Diffstat (limited to 'include/UsersSidePanel.hpp')
-rw-r--r--include/UsersSidePanel.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/UsersSidePanel.hpp b/include/UsersSidePanel.hpp
new file mode 100644
index 0000000..aebdb34
--- /dev/null
+++ b/include/UsersSidePanel.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "User.hpp"
+#include <SFML/Graphics/RenderWindow.hpp>
+
+namespace dchat
+{
+ class UsersSidePanel
+ {
+ public:
+ static void addUser(User *user);
+ static void draw(sf::RenderWindow &window);
+ static float getWidth();
+ };
+}