Changeset 530 for trunk/Packages/CevoComponents/EOTButton.pas
- Timestamp:
- Feb 24, 2024, 8:04:26 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/EOTButton.pas
r471 r530 21 21 destructor Destroy; override; 22 22 procedure SetButtonIndexFast(X: Integer); 23 procedure SetBack( ca: TCanvas; X, Y: Integer);23 procedure SetBack(Canvas: TCanvas; X, Y: Integer); 24 24 private 25 25 FTemplate: TBitmap; … … 77 77 if FGraphic <> nil then begin 78 78 UnshareBitmap(Buffer); 79 BitBlt Canvas(Buffer.Canvas, 0, 0, 48, 48, Back.Canvas, 0, 0);79 BitBltBitmap(Buffer, 0, 0, 48, 48, Back, 0, 0); 80 80 ImageOp_CBC(Buffer, Template, 0, 0, 133, 149 + 48 * Byte(FDown), 48, 48, 81 81 $000000, $FFFFFF); … … 109 109 end; 110 110 111 procedure TEOTButton.SetBack( ca: TCanvas; X, Y: Integer);111 procedure TEOTButton.SetBack(Canvas: TCanvas; X, Y: Integer); 112 112 begin 113 BitBltCanvas(Back.Canvas, 0, 0, 48, 48, ca, X, Y);113 BitBltCanvas(Back.Canvas, 0, 0, 48, 48, Canvas, X, Y); 114 114 end; 115 115
Note:
See TracChangeset
for help on using the changeset viewer.