From 7e7dfd227eacaa80b21ca8ed99e8a99ccbd47769 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 23 Apr 2018 18:49:45 +0200 Subject: Add side bar, make submodule public --- include/ChannelSidePanel.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/ChannelSidePanel.hpp') 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 +#include 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 channels; }; -- cgit v1.2.3