aboutsummaryrefslogtreecommitdiff
path: root/dw/platform.hh
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-10-22 21:47:13 +0000
committercorvid <corvid@lavabit.com>2011-10-22 21:47:13 +0000
commit4052822efdebbf56500204bbbd526673acc04841 (patch)
treecc8e180e851fd82ae9b6bd31be814d2e29e34f64 /dw/platform.hh
parent1f0c79090620e09aa281ff9ee14f816efb7d6f4f (diff)
text-transform property
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;