diff options
Diffstat (limited to 'include/ChannelSidePanel.hpp')
-rw-r--r-- | include/ChannelSidePanel.hpp | 12 |
1 files changed, 3 insertions, 9 deletions
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 <vector> #include <SFML/Graphics/RenderWindow.hpp> 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<Channel*> channels; + static void addChannel(Channel *channel); + static void draw(sf::RenderWindow &window); + static float getWidth(); }; } |