aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h
index 021bcf686..1ac931ce2 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -221,6 +221,7 @@ public:
// A surface abstracts a place to draw
class Surface {
private:
+ bool unicodeMode;
#if PLAT_GTK
GdkDrawable *drawable;
GdkGC *gc;
@@ -293,6 +294,10 @@ public:
int SetPalette(Palette *pal, bool inBackGround);
void SetClip(PRectangle rc);
void FlushCachedState();
+
+ void SetUnicodeMode(bool unicodeMode_) {
+ unicodeMode=unicodeMode_;
+ }
};
// Class to hide the details of window manipulation