aboutsummaryrefslogtreecommitdiff
path: root/include/Suggestions.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-08-08 23:17:10 +0200
committerdec05eba <dec05eba@protonmail.com>2018-08-08 23:17:14 +0200
commit06f30543730c372226c398c11b3de0213d711d13 (patch)
treed6229ff224a9e7e5457c856747c2f8726e7a3868 /include/Suggestions.hpp
parent26edc563cb0ba1a9fb35507e7f32d2d43a845e68 (diff)
Add support for discord
Diffstat (limited to 'include/Suggestions.hpp')
-rw-r--r--include/Suggestions.hpp19
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