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/Help.pas

    r424 r431  
    108108    procedure Line(ca: TCanvas; i: Integer; lit: Boolean);
    109109    procedure Prepare(sbPos: Integer = 0);
    110     procedure ShowNewContentProcExecute(NewMode: Integer; HelpContext: string);
     110    procedure ShowNewContentProcExecute(NewMode: TWindowMode; HelpContext: string);
    111111    procedure WaterSign(x0, y0, iix: Integer);
    112112    procedure Search(SearchString: string);
     
    117117    Difficulty: Integer;
    118118    procedure ClearHistory;
    119     procedure ShowNewContent(NewMode, Category, Index: Integer);
     119    procedure ShowNewContent(NewMode: TWindowMode; Category, Index: Integer);
    120120    function TextIndex(Item: string): Integer;
    121121  end;
     
    316316end;
    317317
    318 procedure THelpDlg.ShowNewContentProcExecute(NewMode: Integer;
     318procedure THelpDlg.ShowNewContentProcExecute(NewMode: TWindowMode;
    319319  HelpContext: string);
    320320begin
     
    19311931end;
    19321932
    1933 procedure THelpDlg.ShowNewContent(NewMode, Category, Index: Integer);
     1933procedure THelpDlg.ShowNewContent(NewMode: TWindowMode; Category, Index: Integer);
    19341934begin
    19351935  if (Category <> Kind) or (Index <> no) or (Category = hkMisc) and
Note: See TracChangeset for help on using the changeset viewer.