Ignore:
Timestamp:
Apr 28, 2022, 10:40:37 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Changed WindowMode numerical constants to enumeration.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Draft.pas

    r352 r431  
    2828      Shift: TShiftState; x, y: integer);
    2929  public
    30     procedure ShowNewContent(NewMode: integer);
     30    procedure ShowNewContent(NewMode: TWindowMode);
    3131  protected
    3232    procedure OffscreenPaint; override;
     
    502502end;
    503503
    504 procedure TDraftDlg.ShowNewContent(NewMode: integer);
     504procedure TDraftDlg.ShowNewContent(NewMode: TWindowMode);
    505505begin
    506506  inherited ShowNewContent(NewMode);
     
    532532      i := (y - yFeature) div LinePitch;
    533533      if (x >= xFeature - 21) and (x < ClientWidth) and (ssShift in Shift) then
    534         HelpDlg.ShowNewContent(FWindowMode or wmPersistent, hkFeature, code[i])
     534        HelpDlg.ShowNewContent(WindowModePersistent(FWindowMode), hkFeature, code[i])
    535535      else if not(code[i] in AutoFeature) then
    536536      begin
Note: See TracChangeset for help on using the changeset viewer.