diff options
Diffstat (limited to 'include/Suggestions.hpp')
-rw-r--r-- | include/Suggestions.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/Suggestions.hpp b/include/Suggestions.hpp new file mode 100644 index 0000000..56f3afa --- /dev/null +++ b/include/Suggestions.hpp @@ -0,0 +1,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; + }; +}
\ No newline at end of file |