Changeset 432
- Timestamp:
- Apr 28, 2022, 10:46:44 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/CityScreen.pas
r431 r432 1204 1204 if iix >= 0 then 1205 1205 if ssShift in Shift then 1206 HelpDlg.ShowNewContent(WindowMode Persistent(FWindowMode), hkImp, iix)1206 HelpDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), hkImp, iix) 1207 1207 else if (ClientMode < scContact) then 1208 1208 with MessgExDlg do … … 1335 1335 Loc1 := dLoc(cLoc, dx, dy); 1336 1336 if (Loc1 >= 0) and (Loc1 < G.lx * G.ly) then 1337 HelpOnTerrain(Loc1, WindowMode Persistent(FWindowMode))1337 HelpOnTerrain(Loc1, WindowModeMakePersistent(FWindowMode)) 1338 1338 end 1339 1339 else if (ClientMode < scContact) and (cGov <> gAnarchy) and -
trunk/LocalPlayer/CityType.pas
r431 r432 246 246 begin 247 247 if ssShift in Shift then 248 HelpDlg.ShowNewContent(WindowMode Persistent(FWindowMode), hkImp,248 HelpDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), hkImp, 249 249 MyData.ImpOrder[ctype, i]) 250 250 else … … 263 263 begin 264 264 if ssShift in Shift then 265 HelpDlg.ShowNewContent(WindowMode Persistent(FWindowMode), hkImp, Pooliix[i])265 HelpDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), hkImp, Pooliix[i]) 266 266 else 267 267 begin -
trunk/LocalPlayer/Draft.pas
r431 r432 532 532 i := (y - yFeature) div LinePitch; 533 533 if (x >= xFeature - 21) and (x < ClientWidth) and (ssShift in Shift) then 534 HelpDlg.ShowNewContent(WindowMode Persistent(FWindowMode), hkFeature, code[i])534 HelpDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), hkFeature, code[i]) 535 535 else if not(code[i] in AutoFeature) then 536 536 begin -
trunk/LocalPlayer/Enhance.pas
r431 r432 384 384 ShortCut := KeyToShortCut(Key, Shift); 385 385 if BHelp.Test(ShortCut) then 386 HelpDlg.ShowNewContent(WindowMode Persistent(FWindowMode), hkText,386 HelpDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), hkText, 387 387 HelpDlg.TextIndex('MACRO')) 388 388 end; -
trunk/LocalPlayer/Nego.pas
r431 r432 648 648 if (X >= xNationPicture0) and (X < xNationPicture0 + 64) and 649 649 (Y >= yNationPicture) and (Y < yNationPicture + 48) then 650 NatStatDlg.ShowNewContent(WindowMode Persistent(FWindowMode), DipMem[me].pContact)650 NatStatDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), DipMem[me].pContact) 651 651 else if (X >= xNationPicture1) and (X < xNationPicture1 + 64) and 652 652 (Y >= yNationPicture) and (Y < yNationPicture + 48) then 653 NatStatDlg.ShowNewContent(WindowMode Persistent(FWindowMode), me)653 NatStatDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), me) 654 654 end; 655 655 -
trunk/LocalPlayer/Wonders.pas
r431 r432 351 351 begin 352 352 if Selection >= 0 then 353 HelpDlg.ShowNewContent(WindowMode Persistent(FWindowMode), hkImp, Selection);353 HelpDlg.ShowNewContent(WindowModeMakePersistent(FWindowMode), hkImp, Selection); 354 354 end; 355 355 -
trunk/Packages/CevoComponents/BaseWin.pas
r431 r432 71 71 72 72 procedure CreateOffscreen(var Offscreen: TBitmap); 73 function WindowMode Persistent(Mode: TWindowMode): TWindowMode;73 function WindowModeMakePersistent(Mode: TWindowMode): TWindowMode; 74 74 procedure Register; 75 75 … … 144 144 if Key = VK_F1 then begin 145 145 if Assigned(ShowNewContentProc) then 146 ShowNewContentProc(WindowMode Persistent(FWindowMode), HelpContext);146 ShowNewContentProc(WindowModeMakePersistent(FWindowMode), HelpContext); 147 147 end else 148 148 if FWindowMode = wmPersistent then begin
Note:
See TracChangeset
for help on using the changeset viewer.