Ignore:
Timestamp:
Jun 23, 2019, 3:15:29 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Use DpiControls package for High DPI support.
File:
1 edited

Legend:

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

    r135 r178  
    44
    55uses
    6   Classes, Graphics, Controls;
     6  Classes, Graphics, Controls, UDpiControls;
    77
    88type
    9   TButtonBase = class(TGraphicControl)
     9  TButtonBase = class(TDpiGraphicControl)
    1010  protected
    1111    FDown, FPermanent: boolean;
    12     FGraphic: TBitmap;
     12    FGraphic: TDpiBitmap;
    1313    // FDownSound, FUpSound: string;
    1414    ClickProc: TNotifyEvent;
     
    2626  public
    2727    constructor Create(aOwner: TComponent); override;
    28     property Graphic: TBitmap read FGraphic write FGraphic;
     28    property Graphic: TDpiBitmap read FGraphic write FGraphic;
    2929    // property DownSound: string read FDownSound write FDownSound;
    3030    // property UpSound: string read FUpSound write FUpSound;
Note: See TracChangeset for help on using the changeset viewer.