aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-09 03:30:41 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-09 03:30:44 +0200
commitcd686f3f6099457a3115e758bf3da7e148ba432d (patch)
tree0f8212ef3d705bfc223990425389f8ad6a4ad733 /include
parent161b5dbbf43d505b727e0ed3cae15458a72147f9 (diff)
Add avatar to users side panel
Diffstat (limited to 'include')
-rw-r--r--include/UsersSidePanel.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/UsersSidePanel.hpp b/include/UsersSidePanel.hpp
index 07e790c..9e48ee6 100644
--- a/include/UsersSidePanel.hpp
+++ b/include/UsersSidePanel.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include "Cache.hpp"
#include <SFML/Graphics/RenderWindow.hpp>
namespace dchat
@@ -9,7 +10,7 @@ namespace dchat
class UsersSidePanel
{
public:
- static void draw(sf::RenderWindow &window);
+ static void draw(sf::RenderWindow &window, Cache &cache);
static float getWidth();
};
}