aboutsummaryrefslogtreecommitdiff
path: root/dw/platform.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/platform.hh')
-rw-r--r--dw/platform.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/dw/platform.hh b/dw/platform.hh
index b79b5346..cb714583 100644
--- a/dw/platform.hh
+++ b/dw/platform.hh
@@ -58,6 +58,16 @@ public:
virtual int textWidth (style::Font *font, const char *text, int len) = 0;
/**
+ * \brief Return the string resulting from transforming text to uppercase.
+ */
+ virtual char *textToUpper (const char *text, int len) = 0;
+
+ /**
+ * \brief Return the string resulting from transforming text to lowercase.
+ */
+ virtual char *textToLower (const char *text, int len) = 0;
+
+ /**
* \brief Return the index of the next glyph in string text.
*/
virtual int nextGlyph (const char *text, int idx) = 0;