aboutsummaryrefslogtreecommitdiff
path: root/include/ChannelSidePanel.hpp
blob: 833178752263a792648003ce8d7cc9ea91806f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <vector>
#include <SFML/Graphics/RenderWindow.hpp>

namespace dchat
{
    class Channel;
    
    class ChannelSidePanel
    {
    public:
        ChannelSidePanel(float width);
        void addChannel(Channel *channel);
        
        void draw(sf::RenderWindow &window);
        
        float width;
    private:
        std::vector<Channel*> channels;
    };
}