nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: demos/nanox/t1demo.c for HAVE_BIG5_SUPPORT
From: ´¿¬L©ú
Date: Thu, 17 Aug 2000 11:50:33 +0800

+#if HAVE BIG5 SUPPORT
+      /* ENCODING BIG5 test*/
+     GrText(window, gc,x,y, "", -1, GR TFASCII);
+#else
#if HAVE GB2312 SUPPORT
       /* ENCODING GB2312 test*/
       GrText(window, gc,x,y, "\275\241\275\241", -1, GR TFASCII);
#else
       /* ASCII test*/
       GrText(window, gc,x,y, "Microwindows", -1, GR TFASCII);
#endif
+#endif


+#if HAVE BIG5 SUPPORT
+      /* ENCODING BIG5 test*/
+     GrText(window, gc,x,y, "±d±d", -1, GR TFASCII);
+#else
#if HAVE GB2312 SUPPORT
       /* ENCODING GB2312 test*/
       GrText(window, gc,x,y, "\275\241\275\241", -1, GR TFASCII);
#else
       /* ASCII test*/
       GrText(window, gc,x,y, "Microwindows", -1, GR TFASCII);
#endif
+#endif

["application/x-zip-compressed" not shown]

nanogui@linuxhacker.org