From 3b03f87070d91f63f0dc3c7152723727781dcccf Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 28 Apr 2018 11:52:04 +0200 Subject: Add commands, users side panel, improve image download start using odhtdb --- include/ChannelSidePanel.hpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'include/ChannelSidePanel.hpp') diff --git a/include/ChannelSidePanel.hpp b/include/ChannelSidePanel.hpp index 8331787..c1ed5d6 100644 --- a/include/ChannelSidePanel.hpp +++ b/include/ChannelSidePanel.hpp @@ -1,6 +1,5 @@ #pragma once -#include #include namespace dchat @@ -10,13 +9,8 @@ namespace dchat class ChannelSidePanel { public: - ChannelSidePanel(float width); - void addChannel(Channel *channel); - - void draw(sf::RenderWindow &window); - - float width; - private: - std::vector channels; + static void addChannel(Channel *channel); + static void draw(sf::RenderWindow &window); + static float getWidth(); }; } -- cgit v1.2.3