aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.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/layout.hh
parent1f0c79090620e09aa281ff9ee14f816efb7d6f4f (diff)
text-transform property
Diffstat (limited to 'dw/layout.hh')
-rw-r--r--dw/layout.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/dw/layout.hh b/dw/layout.hh
index d08eb363..45187490 100644
--- a/dw/layout.hh
+++ b/dw/layout.hh
@@ -297,6 +297,16 @@ public:
return platform->textWidth (font, text, len);
}
+ inline char *textToUpper (const char *text, int len)
+ {
+ return platform->textToUpper (text, len);
+ }
+
+ inline char *textToLower (const char *text, int len)
+ {
+ return platform->textToLower (text, len);
+ }
+
inline int nextGlyph (const char *text, int idx)
{
return platform->nextGlyph (text, idx);