aboutsummaryrefslogtreecommitdiff
path: root/include/ChannelSidePanel.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-23 18:49:45 +0200
committerdec05eba <dec05eba@protonmail.com>2018-04-23 18:49:52 +0200
commit7e7dfd227eacaa80b21ca8ed99e8a99ccbd47769 (patch)
tree016e3907471ae1b588c35cf963ea2551efc57cfc /include/ChannelSidePanel.hpp
parent3ab4127ae3fc3b837f5350509c78db03467500cd (diff)
Add side bar, make submodule public
Diffstat (limited to 'include/ChannelSidePanel.hpp')
-rw-r--r--include/ChannelSidePanel.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ChannelSidePanel.hpp b/include/ChannelSidePanel.hpp
index 604dfcf..8331787 100644
--- a/include/ChannelSidePanel.hpp
+++ b/include/ChannelSidePanel.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <vector>
+#include <SFML/Graphics/RenderWindow.hpp>
namespace dchat
{
@@ -9,7 +10,12 @@ namespace dchat
class ChannelSidePanel
{
public:
+ ChannelSidePanel(float width);
void addChannel(Channel *channel);
+
+ void draw(sf::RenderWindow &window);
+
+ float width;
private:
std::vector<Channel*> channels;
};