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/ButtonN.pas

    r165 r178  
    44
    55uses
    6   Classes, Graphics, Controls, LCLIntf, LCLType;
     6  Classes, Graphics, Controls, LCLIntf, LCLType, UDpiControls;
    77
    88type
     
    1111  private
    1212    FPossible, FLit: boolean;
    13     FGraphic, FMask, FBackGraphic: TBitmap;
     13    FGraphic, FMask, FBackGraphic: TDpiBitmap;
    1414    FIndex, BackIndex: integer;
    1515    FSmartHint: string;
     
    2323    property Lit: boolean read FLit write SetLit;
    2424    property SmartHint: string read FSmartHint write SetSmartHint;
    25     property Graphic: TBitmap read FGraphic write FGraphic;
    26     property Mask: TBitmap read FMask write FMask;
    27     property BackGraphic: TBitmap read FBackGraphic write FBackGraphic;
     25    property Graphic: TDpiBitmap read FGraphic write FGraphic;
     26    property Mask: TDpiBitmap read FMask write FMask;
     27    property BackGraphic: TDpiBitmap read FBackGraphic write FBackGraphic;
    2828    property ButtonIndex: integer read FIndex write SetIndex;
    2929    property OnClick: TNotifyEvent read ChangeProc write ChangeProc;
     
    4040procedure Register;
    4141begin
    42   RegisterComponents('C-evo', [TButtonN]);
     42  RegisterComponents('Samples', [TButtonN]);
    4343end;
    4444
Note: See TracChangeset for help on using the changeset viewer.