Changeset 37


Ignore:
Timestamp:
Jan 23, 2016, 5:27:41 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Status text was not drawn on game interface due bad font color.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/UEngine.pas

    r36 r37  
    24362436    TargetCanvas.Height - LineColorsDist - ImageLocomotive.Picture.Bitmap.Height div 2, ImageLocomotive.Picture.Bitmap);
    24372437  TargetCanvas.Brush.Style := bsClear;
     2438  TargetCanvas.Font.Size := 14;
     2439  TargetCanvas.Font.Color := clBlack;
    24382440  TargetCanvas.TextOut(TargetCanvas.Width div 2 - Length(LineColors) div 2 * LineColorsDist - 50 - TargetCanvas.TextWidth(Text),
    24392441    TargetCanvas.Height - LineColorsDist - TargetCanvas.TextHeight(Text) div 2, Text);
     
    24432445  TargetCanvas.Draw(TargetCanvas.Width - 50, TargetCanvas.Height - 60, ImagePassenger.Picture.Bitmap);
    24442446  TargetCanvas.Brush.Style := bsClear;
     2447  TargetCanvas.Font.Size := 14;
     2448  TargetCanvas.Font.Color := clBlack;
    24452449  TargetCanvas.TextOut(TargetCanvas.Width - 70 - TargetCanvas.TextWidth(Text), TargetCanvas.Height - 55, Text);
    24462450
Note: See TracChangeset for help on using the changeset viewer.