Explorar o código

* fixed palettype declaration (web bug #2547)

Jonas Maebe %!s(int64=22) %!d(string=hai) anos
pai
achega
c3326c434a
Modificáronse 1 ficheiros con 8 adicións e 3 borrados
  1. 8 3
      docs/graph.tex

+ 8 - 3
docs/graph.tex

@@ -136,9 +136,14 @@ end;
 LineSettingsType = Record
   LineStyle,Pattern, Width : Word;
 end;
-PaletteType = Record
- Size : Byte;
- Colors : array[0..MAxColor] of shortint;
+RGBRec = packed record
+  Red: smallint;
+  Green: smallint;
+  Blue : smallint;
+end;
+PaletteType = record
+  Size   : longint;
+  Colors : array[0..MaxColors] of RGBRec;
 end;
 PointType = Record
   X,Y : Integer;