diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-03-12 19:28:48 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-03-12 19:28:48 +0200 |
commit | 4fde2f427fd8f0997fa3fa8573894d62a944ca2c (patch) | |
tree | 66c6d2b29b043cddec8afb3716536ef4610ba463 /src/corelib | |
parent | fc58688d815b6f7f569e485f7b352a728327b787 (diff) | |
download | fpGUI-4fde2f427fd8f0997fa3fa8573894d62a944ca2c.tar.xz |
agg: fixes the uses clause for compilation under Windows.
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/render/software/Agg2D.pas | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas index a843ae1d..432ac44f 100644 --- a/src/corelib/render/software/Agg2D.pas +++ b/src/corelib/render/software/Agg2D.pas @@ -24,10 +24,9 @@ interface {$I agg_mode.inc } // With this define you can switch use of FreeType or Win32 TrueType font engine -{DEFINE AGG2D_USE_FREETYPE } +{off DEFINE AGG2D_USE_FREETYPE } uses - SysUtils, agg_basics , agg_array , agg_trans_affine , @@ -69,8 +68,12 @@ uses agg_font_win32_tt , {$ENDIF } - Math, + Math , + {$IFDEF WINDOWS} + Windows , + {$ENDIF} Classes, + SysUtils, fpg_main; { GLOBAL VARIABLES & CONSTANTS } |