summaryrefslogtreecommitdiff
path: root/textscreen/examples
diff options
context:
space:
mode:
authorSimon Howard2012-02-03 21:10:36 +0000
committerSimon Howard2012-02-03 21:10:36 +0000
commit85b5a7487d5b44b94e6d2fc74c997ec69e352b1a (patch)
tree2d5c58da8f23deb97b08f1c8e3ed8017197aa7cd /textscreen/examples
parentd745a6409c84a9ffb85e5d2029132642435c5879 (diff)
downloadchocolate-doom-85b5a7487d5b44b94e6d2fc74c997ec69e352b1a.tar.gz
chocolate-doom-85b5a7487d5b44b94e6d2fc74c997ec69e352b1a.tar.bz2
chocolate-doom-85b5a7487d5b44b94e6d2fc74c997ec69e352b1a.zip
Upgrade the input box and label widgets to use UTF-8 strings.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2491
Diffstat (limited to 'textscreen/examples')
-rw-r--r--textscreen/examples/guitest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c
index df79be2d..a5aad93f 100644
--- a/textscreen/examples/guitest.c
+++ b/textscreen/examples/guitest.c
@@ -179,6 +179,10 @@ void Window2(void)
NULL);
TXT_AddWidget(unselectable_table, TXT_NewLabel("* Unselectable table *"));
+ TXT_AddWidget(unselectable_table, TXT_NewLabel(
+ "This is a UTF-8 string:\n"
+ "\xc3\x80 bient\xc3\xb4t na\xc3\xaet "
+ "\xc3\xa9v\xc3\xaaque \xc3\xa0 l'\xc5\x93uvre p\xc3\xa8re."));
TXT_AddWidget(window, TXT_NewSeparator("Input boxes"));
table = TXT_NewTable(2);