diff options
Diffstat (limited to 'include/ChannelSidePanel.hpp')
-rw-r--r-- | include/ChannelSidePanel.hpp | 6 |
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; }; |