diff options
author | Neil <nyamatongwe@gmail.com> | 2013-10-23 10:32:08 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-10-23 10:32:08 +1100 |
commit | 1a52270d01ba0ca45c39daa2cd480e3e6b99b2d9 (patch) | |
tree | b0783a1189c204be612107ab2a5f7cda8d0444aa /src | |
parent | ce80b81cbb1080430bb827bae582350982c2c771 (diff) | |
download | scintilla-mirror-1a52270d01ba0ca45c39daa2cd480e3e6b99b2d9.tar.gz |
Explain why symbols are redefined.
Diffstat (limited to 'src')
-rw-r--r-- | src/FontQuality.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FontQuality.h b/src/FontQuality.h index ee9426171..a0ae207f8 100644 --- a/src/FontQuality.h +++ b/src/FontQuality.h @@ -1,6 +1,7 @@ // Scintilla source code edit control /** @file FontQuality.h ** Definitions to control font anti-aliasing. + ** Redefine constants from Scintilla.h to avoid including Scintilla.h in PlatWin.cxx. **/ // Copyright 1998-2009 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. @@ -12,12 +13,14 @@ namespace Scintilla { #endif +// These definitions match Scintilla.h #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 +// These definitions must match SC_TECHNOLOGY_* in Scintilla.h #define SCWIN_TECH_GDI 0 #define SCWIN_TECH_DIRECTWRITE 1 |