Commit 7ade34c

Nick committed on
More color constant fixups
commit 7ade34c59ae175dbf41ad30e4668624ad1d0e346 parent 58152d3
1 changed files +8−5
Modifiedtrackergrid.pas +8−5
@@ -28,6 +28,9 @@ const
28 clLineFour = TColor($C3D1D8); 28 clLineFour = TColor($C3D1D8);
29 clLineSixteen = TColor($B5C5CE); 29 clLineSixteen = TColor($B5C5CE);
30 30
31 clDots = clGray;
32 clDividers = TColor($ABB7BC);
33
31 NUM_COLUMNS = 4; 34 NUM_COLUMNS = 4;
32 NUM_ROWS = 64; 35 NUM_ROWS = 64;
33 UNDO_STACK_SIZE = 100; 36 UNDO_STACK_SIZE = 100;
@@ -288,7 +291,7 @@ begin
288 end; 291 end;
289 292
290 // Draw borders between columns 293 // Draw borders between columns
291 Canvas.Pen.Color := TColor($ABB7BC); 294 Canvas.Pen.Color := clDividers;
292 Canvas.Pen.Width := 2; 295 Canvas.Pen.Width := 2;
293 R := TRect.Create(0, 0, ColumnWidth+1, Height); 296 R := TRect.Create(0, 0, ColumnWidth+1, Height);
294 Canvas.Rectangle(R); 297 Canvas.Rectangle(R);
@@ -914,7 +917,7 @@ begin
914 TextOut(PenPos.X, PenPos.Y, NoteString); 917 TextOut(PenPos.X, PenPos.Y, NoteString);
915 end 918 end
916 else begin 919 else begin
917 Font.Color := clGray; 920 Font.Color := clDots;
918 TextOut(PenPos.X, PenPos.Y, '...'); 921 TextOut(PenPos.X, PenPos.Y, '...');
919 end; 922 end;
920 923
@@ -925,12 +928,12 @@ begin
925 TextOut(PenPos.X, PenPos.Y, FormatFloat('00', Cell.Instrument)); 928 TextOut(PenPos.X, PenPos.Y, FormatFloat('00', Cell.Instrument));
926 end 929 end
927 else begin 930 else begin
928 Font.Color := clGray; 931 Font.Color := clDots;
929 TextOut(PenPos.X, PenPos.Y, '..'); 932 TextOut(PenPos.X, PenPos.Y, '..');
930 end; 933 end;
931 934
932 //Font.Color := clDark; //clGreen; 935 //Font.Color := clDark; //clGreen;
933 Font.Color := clGray; 936 Font.Color := clDots;
934 TextOut(PenPos.X, PenPos.Y, '...'); 937 TextOut(PenPos.X, PenPos.Y, '...');
935 938
936 if (Cell.EffectCode <> 0) or (Cell.EffectParams.Value <> 0) then begin 939 if (Cell.EffectCode <> 0) or (Cell.EffectParams.Value <> 0) then begin
@@ -944,7 +947,7 @@ begin
944 ); 947 );
945 end 948 end
946 else begin 949 else begin
947 Font.Color := clGray; 950 Font.Color := clDots;
948 TextOut(PenPos.X, PenPos.Y, '...'); 951 TextOut(PenPos.X, PenPos.Y, '...');
949 end; 952 end;
950 953