Changeset 188 for trunk/Packages/CevoComponents/ButtonA.pas
- Timestamp:
- May 6, 2020, 11:21:12 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/ButtonA.pas
r184 r188 4 4 5 5 uses 6 ButtonBase, Classes, Graphics, LCLIntf, LCLType ;6 ButtonBase, Classes, Graphics, LCLIntf, LCLType, ScreenTools; 7 7 8 8 type … … 45 45 if FGraphic <> nil then 46 46 begin 47 BitBlt (Canvas.Handle, 0, 0, 100, 25, Graphic.Canvas.Handle, 195,48 243 + 26 * Byte(Down) , SRCCOPY);47 BitBltCanvas(Canvas, 0, 0, 100, 25, Graphic.Canvas, 195, 48 243 + 26 * Byte(Down)); 49 49 Canvas.Brush.Style := bsClear; 50 50 Textout(50 - (TextWidth(FCaption) + 1) div 2, 12 - textheight(FCaption)
Note:
See TracChangeset
for help on using the changeset viewer.