Changeset 179 for branches/highdpi/Packages/CevoComponents/ButtonB.pas
- Timestamp:
- Jun 23, 2019, 9:12:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Packages/CevoComponents/ButtonB.pas
r178 r179 44 44 if FGraphic <> nil then 45 45 begin 46 BitBlt(Canvas.Handle, 0, 0, 25, 25, FGraphic.Canvas.Handle, 169,46 DpiBitBlt(Canvas.Handle, 0, 0, 25, 25, FGraphic.Canvas.Handle, 169, 47 47 243 + 26 * Byte(FDown), SRCCOPY); 48 48 if FIndex >= 0 then 49 49 begin 50 BitBlt(Canvas.Handle, 0, 0, 25, 25, FMask.Canvas.Handle,50 DpiBitBlt(Canvas.Handle, 0, 0, 25, 25, FMask.Canvas.Handle, 51 51 1 + FIndex mod 12 * 26, 337 + FIndex div 12 * 26, SRCAND); 52 BitBlt(Canvas.Handle, 0, 0, 25, 25, FGraphic.Canvas.Handle,52 DpiBitBlt(Canvas.Handle, 0, 0, 25, 25, FGraphic.Canvas.Handle, 53 53 1 + FIndex mod 12 * 26, 337 + FIndex div 12 * 26, SRCPAINT); 54 54 end
Note:
See TracChangeset
for help on using the changeset viewer.