Changeset 531 for trunk/Packages/CevoComponents/EOTButton.pas
- Timestamp:
- Mar 27, 2024, 12:31:14 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/EOTButton.pas
r530 r531 17 17 // EndOfTurn button 18 18 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; 19 26 public 20 27 constructor Create(aOwner: TComponent); override; … … 22 29 procedure SetButtonIndexFast(X: Integer); 23 30 procedure SetBack(Canvas: TCanvas; X, Y: Integer); 24 private25 FTemplate: TBitmap;26 FIndex: Integer;27 procedure SetIndex(X: Integer);28 public29 31 property Template: TBitmap read FTemplate write FTemplate; 30 32 published … … 32 34 property ButtonIndex: Integer read FIndex write SetIndex; 33 35 property OnClick; 34 protected35 Buffer, Back: TBitmap;36 procedure Paint; override;37 36 end; 38 37
Note:
See TracChangeset
for help on using the changeset viewer.