aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-03 06:54:57 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-03 06:54:57 +0200
commitacaa77f837af3ea8503888910d7888efd3c6cb3e (patch)
tree5707d7700cd80f41dba4e42ad771e63505a9d2b0 /include/Text.hpp
parentca07c2be3bba3291f59d160eac13831c85d16550 (diff)
4chan: use entry instead of search input, fix posting
Diffstat (limited to 'include/Text.hpp')
-rw-r--r--include/Text.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Text.hpp b/include/Text.hpp
index 59693a2..6a4ed9c 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -58,10 +58,11 @@ namespace QuickMedia
{
public:
Text(const sf::Font *font, const sf::Font *cjk_font);
- Text(sf::String str, const sf::Font *font, const sf::Font *cjk_font, unsigned int characterSize, float maxWidth, bool plainText = true);
+ Text(sf::String str, const sf::Font *font, const sf::Font *cjk_font, unsigned int characterSize, float maxWidth);
void setString(sf::String str);
const sf::String& getString() const;
+ void appendText(sf::String str);
void setPosition(float x, float y);
void setPosition(const sf::Vector2f &position);
@@ -137,7 +138,6 @@ namespace QuickMedia
bool dirty;
bool dirtyText;
bool dirtyCaret;
- bool plainText;
bool editable;
bool visible;
CaretMoveDirection caretMoveDirection;