From f51a76e6febb27923e3ca8e853974a24465c4739 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 13 Jun 2021 04:21:35 +0200 Subject: Support braille, temporary disable video cache to support seeking in long videos on youtube... --- include/Text.hpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/Text.hpp') diff --git a/include/Text.hpp b/include/Text.hpp index a39b2ba..72fdd66 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -42,6 +42,7 @@ namespace QuickMedia enum class TextType { LATIN, CJK, + SYMBOL, EMOJI }; @@ -146,11 +147,8 @@ 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 - std::array vertices; - std::array vertex_buffers; + std::array vertices; + std::array vertex_buffers; float maxWidth; sf::Vector2f position; sf::Color color; -- cgit v1.2.3