blob: 56f3afafa72868d09daeedec719b0cbc1ed2d625 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "Text.hpp"
#include "Cache.hpp"
#include <vector>
#include <string>
#include <SFML/Graphics/RenderWindow.hpp>
namespace dchat
{
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;
};
}
|