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

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/EOTButton.pas

    r530 r531  
    1717  // EndOfTurn button
    1818  TEOTButton = class(TButtonBase)
     19  private
     20    FTemplate: TBitmap;
     21    FIndex: Integer;
     22    procedure SetIndex(X: Integer);
     23  protected
     24    Buffer, Back: TBitmap;
     25    procedure Paint; override;
    1926  public
    2027    constructor Create(aOwner: TComponent); override;
     
    2229    procedure SetButtonIndexFast(X: Integer);
    2330    procedure SetBack(Canvas: TCanvas; X, Y: Integer);
    24   private
    25     FTemplate: TBitmap;
    26     FIndex: Integer;
    27     procedure SetIndex(X: Integer);
    28   public
    2931    property Template: TBitmap read FTemplate write FTemplate;
    3032  published
     
    3234    property ButtonIndex: Integer read FIndex write SetIndex;
    3335    property OnClick;
    34   protected
    35     Buffer, Back: TBitmap;
    36     procedure Paint; override;
    3736  end;
    3837
Note: See TracChangeset for help on using the changeset viewer.