Changeset 244 for branches/highdpi/LocalPlayer/NatStat.pas
- Timestamp:
- May 21, 2020, 6:42:45 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/NatStat.pas
r210 r244 16 16 ToggleBtn: TButtonB; 17 17 CloseBtn: TButtonB; 18 Popup: T PopupMenu;18 Popup: TDpiPopupMenu; 19 19 ScrollUpBtn: TButtonC; 20 20 ScrollDownBtn: TButtonC; … … 435 435 var 436 436 p1, StartCount: integer; 437 m: T MenuItem;437 m: TDpiMenuItem; 438 438 ExtinctPart: boolean; 439 439 begin … … 443 443 if G.Difficulty[me] <> 0 then 444 444 begin 445 m := T MenuItem.Create(Popup);445 m := TDpiMenuItem.Create(Popup); 446 446 m.RadioItem := true; 447 447 m.Caption := Tribe[me].TPhrase('TITLE_NATION'); … … 462 462 (1 shl p1 and MyRO.Alive <> 0) and (MyRO.Treaty[p1] >= trNone) then 463 463 begin 464 m := T MenuItem.Create(Popup);464 m := TDpiMenuItem.Create(Popup); 465 465 m.RadioItem := true; 466 466 m.Caption := Tribe[p1].TPhrase('TITLE_NATION'); … … 475 475 if (StartCount > 0) and (Popup.Items.Count > StartCount) then 476 476 begin // seperator 477 m := T MenuItem.Create(Popup);477 m := TDpiMenuItem.Create(Popup); 478 478 m.Caption := '-'; 479 479 Popup.Items.Insert(StartCount, m);
Note:
See TracChangeset
for help on using the changeset viewer.