Ignore:
Timestamp:
Mar 17, 2021, 11:11:55 AM (4 years ago)
Author:
chronos
Message:
  • Modified: LoadGraphicSet now returns TGrExtDescr reference. Replaced integer index references to GrExt with with direct class reference to TGrExtDescr.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/DrawDlg.pas

    r297 r313  
    202202    if Components[cix] is TButtonBase then
    203203    begin
    204       TButtonBase(Components[cix]).Graphic := GrExt[HGrSystem].Data;
     204      TButtonBase(Components[cix]).Graphic := HGrSystem.Data;
    205205      // if ButtonDownSound <> '*' then
    206206      // DownSound := GetSoundsDir + DirectorySeparator + ButtonDownSound + '.wav';
     
    210210        TButtonA(Components[cix]).Font := UniFont[ftButton];
    211211      if Components[cix] is TButtonB then
    212         TButtonB(Components[cix]).Mask := GrExt[HGrSystem].Mask;
     212        TButtonB(Components[cix]).Mask := HGrSystem.Mask;
    213213    end;
    214214end;
Note: See TracChangeset for help on using the changeset viewer.