aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/FontQuality.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-11-02 04:51:51 +0000
committernyamatongwe <devnull@localhost>2009-11-02 04:51:51 +0000
commit212257e28c87cd6ed2ff244ee6518be0c73fa342 (patch)
tree517893f316edf898a972316bbcd3b7b64c82de0f /src/FontQuality.h
parenta307f5df25fbf8f4e545bdd74a7da6a466568497 (diff)
downloadscintilla-mirror-212257e28c87cd6ed2ff244ee6518be0c73fa342.tar.gz
Added setting for font quality to allow application to choose anti-aliased,
non-anti-aliased or lcd-optimized text.
Diffstat (limited to 'src/FontQuality.h')
-rw-r--r--src/FontQuality.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/FontQuality.h b/src/FontQuality.h
new file mode 100644
index 000000000..2c8d548a8
--- /dev/null
+++ b/src/FontQuality.h
@@ -0,0 +1,12 @@
+// Scintilla source code edit control
+/** @file FontQuality.h
+ ** Definitions to control font anti-aliasing.
+ **/
+// Copyright 1998-2009 by Neil Hodgson <neilh@scintilla.org>
+// The License.txt file describes the conditions under which this software may be distributed.
+
+#define SC_EFF_QUALITY_MASK 0xF
+#define SC_EFF_QUALITY_DEFAULT 0
+#define SC_EFF_QUALITY_NON_ANTIALIASED 1
+#define SC_EFF_QUALITY_ANTIALIASED 2
+#define SC_EFF_QUALITY_LCD_OPTIMIZED 3