Ignore:
Timestamp:
May 9, 2020, 4:02:07 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved HighDPI branch. Imported new changes from trunk branch.
File:
1 edited

Legend:

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

    r179 r210  
    44
    55uses
    6   Classes, Graphics, Controls, UDpiControls;
     6  UDpiControls, Classes, Graphics, Controls;
    77
    88type
    9 
    10   { TButtonBase }
    11 
    129  TButtonBase = class(TDpiGraphicControl)
    1310  protected
     
    2724  private
    2825    Active: boolean;
    29     procedure SetGraphic(AValue: TDpiBitmap);
    3026  public
    3127    constructor Create(aOwner: TComponent); override;
    32     property Graphic: TDpiBitmap read FGraphic write SetGraphic;
     28    property Graphic: TDpiBitmap read FGraphic write FGraphic;
    3329    // property DownSound: string read FDownSound write FDownSound;
    3430    // property UpSound: string read FUpSound write FUpSound;
     
    123119end;
    124120
    125 procedure TButtonBase.SetGraphic(AValue: TDpiBitmap);
    126 begin
    127   if FGraphic = AValue then Exit;
    128   FGraphic := AValue;
    129 end;
    130 
    131121procedure TButtonBase.SetDown(x: boolean);
    132122begin
Note: See TracChangeset for help on using the changeset viewer.