Ignore:
Timestamp:
Apr 6, 2021, 8:11:02 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Merged trunk branch version r348 into highdpi branch.
File:
1 edited

Legend:

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

    r303 r349  
    8686procedure TDrawDlg.OnEraseBkgnd(var Msg: TMessage);
    8787begin
     88  // Full area should be covered by Paint method
    8889end;
    8990
     
    202203    if Components[cix] is TButtonBase then
    203204    begin
    204       TButtonBase(Components[cix]).Graphic := GrExt[HGrSystem].Data;
     205      TButtonBase(Components[cix]).Graphic := HGrSystem.Data;
    205206      // if ButtonDownSound <> '*' then
    206207      // DownSound := GetSoundsDir + DirectorySeparator + ButtonDownSound + '.wav';
     
    210211        TButtonA(Components[cix]).Font := UniFont[ftButton];
    211212      if Components[cix] is TButtonB then
    212         TButtonB(Components[cix]).Mask := GrExt[HGrSystem].Mask;
     213        TButtonB(Components[cix]).Mask := HGrSystem.Mask;
    213214    end;
    214215end;
Note: See TracChangeset for help on using the changeset viewer.