diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Text.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Text.hpp b/include/Text.hpp index 60d0db1..d25d47b 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -2,6 +2,7 @@ #include "NetUtils.hpp" #include <SFML/Graphics/VertexArray.hpp> +#include <SFML/Graphics/VertexBuffer.hpp> #include <SFML/System/String.hpp> #include <SFML/System/Clock.hpp> #include <vector> @@ -140,7 +141,11 @@ namespace QuickMedia sf::String str; // TODO: Remove this for non-editable text??? also replace with std::string? then we get more efficient editing of text const bool bold_font; unsigned int characterSize; + // 1: Normal text + // 2: CJK + // 3: Emoji sf::VertexArray vertices[3]; + sf::VertexBuffer vertex_buffers[3]; float maxWidth; sf::Vector2f position; sf::Color color; |