Ignore:
Timestamp:
May 21, 2020, 6:42:45 PM (4 years ago)
Author:
chronos
Message:
  • Added: TDpiPopupMenu and TDpiMenuItem support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/LocalPlayer/Diagram.pas

    r210 r244  
    1212    CloseBtn: TButtonB;
    1313    ToggleBtn: TButtonB;
    14     Popup: TPopupMenu;
     14    Popup: TDpiPopupMenu;
    1515    procedure CloseBtnClick(Sender: TObject);
    1616    procedure FormPaint(Sender: TObject);
     
    330330var
    331331  p1: integer;
    332   m: TMenuItem;
     332  m: TDpiMenuItem;
    333333begin
    334334  if Kind = dkChart then
     
    345345        MyRO.Ship[p1].Parts[spHab] > 0 then
    346346      begin
    347         m := TMenuItem.Create(Popup);
     347        m := TDpiMenuItem.Create(Popup);
    348348        m.RadioItem := true;
    349349        m.Caption := Tribe[p1].TPhrase('SHORTNAME');
Note: See TracChangeset for help on using the changeset viewer.