From 1a52270d01ba0ca45c39daa2cd480e3e6b99b2d9 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 23 Oct 2013 10:32:08 +1100 Subject: Explain why symbols are redefined. --- src/FontQuality.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 // 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 -- cgit v1.2.3