aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-06 08:43:00 +0000
committernyamatongwe <unknown>2000-04-06 08:43:00 +0000
commitf129e6862882879aed3c8338243dbb43c17721ed (patch)
tree1352720978356ddc213962ccf1dc248c3b061491 /include/Platform.h
parentdae4eea6225cd2f3ed9f2e4dfe46606cc9a0743f (diff)
downloadscintilla-mirror-f129e6862882879aed3c8338243dbb43c17721ed.tar.gz
Initial Unicode support code.
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