Ignore:
Timestamp:
Jun 23, 2019, 9:12:54 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Improved scaling support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Packages/CevoComponents/ButtonC.pas

    r178 r179  
    44
    55uses
    6   ButtonBase,
    7   Classes, Graphics, LCLIntf, LCLType;
     6  ButtonBase, Classes, Graphics, LCLIntf, LCLType, UDpiControls;
    87
    98type
     
    4140  with Canvas do
    4241    if FGraphic <> nil then
    43       BitBlt(Canvas.Handle, 0, 0, 12, 12, FGraphic.Canvas.Handle,
     42      DpiBitBlt(Canvas.Handle, 0, 0, 12, 12, FGraphic.Canvas.Handle,
    4443        169 + 13 * Byte(FDown), 159 + 13 * FIndex, SRCCOPY)
    4544    else
Note: See TracChangeset for help on using the changeset viewer.