Ignore:
Timestamp:
Mar 27, 2024, 12:31:14 PM (6 weeks ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Draft.pas

    r530 r531  
    2727    procedure PaintBox1MouseUp(Sender: TObject; Button: TMouseButton;
    2828      Shift: TShiftState; X, Y: Integer);
    29   public
    30     procedure ShowNewContent(NewMode: TWindowMode);
    31   protected
    32     procedure OffscreenPaint; override;
    3329  private
    3430    Domain, MaxLines, Lines, Cut, yDomain, yFeature, yWeight, yTotal, yView,
     
    3834    function IsFeatureInList(D, I: Integer): Boolean;
    3935    procedure SetDomain(D: Integer);
     36  protected
     37    procedure OffscreenPaint; override;
     38  public
     39    procedure ShowNewContent(NewMode: TWindowMode);
    4040  end;
    4141
     
    211211        Y := yTotal + 76;
    212212        LoweredTextOut(Offscreen.Canvas, -1, MainTexture, xTotal - 2, Y,
    213           Phrases.Lookup('COSTDIFF' + char(48 + G.Difficulty[Me])));
     213          Phrases.Lookup('COSTDIFF' + Char(48 + G.Difficulty[Me])));
    214214        LoweredTextOut(Offscreen.Canvas, -1, MainTexture,
    215215          xTotal2 + 148 + 30, Y, '=');
Note: See TracChangeset for help on using the changeset viewer.