Explorar o código

* define ColorType as LongWord if FPC_GRAPH_SUPPORTS_TRUECOLOR is defined

git-svn-id: trunk@40836 -
nickysn %!s(int64=7) %!d(string=hai) anos
pai
achega
80762bc302
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      packages/graph/src/inc/graphh.inc

+ 4 - 0
packages/graph/src/inc/graphh.inc

@@ -434,7 +434,11 @@ type
 
 
     type
+{$ifdef FPC_GRAPH_SUPPORTS_TRUECOLOR}
+       ColorType = LongWord;
+{$else FPC_GRAPH_SUPPORTS_TRUECOLOR}
        ColorType = Word;
+{$endif FPC_GRAPH_SUPPORTS_TRUECOLOR}
 
        RGBRec = packed record
          Red: smallint;