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

#include "Text.hpp"
#include <vector>
#include <string>
#include <SFML/Graphics/RenderWindow.hpp>

namespace dchat
{
    class Cache;

    class Suggestions
    {
    public:
        void show(const std::vector<std::string> &texts);
        void draw(sf::RenderWindow &window, Cache *cache);
    private:
        std::vector<std::unique_ptr<Text>> texts;
    };
}