Changeset 613 for trunk/LocalPlayer/Term.pas
- Timestamp:
- Sep 14, 2024, 11:02:08 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r612 r613 442 442 procedure UpdateViews(UpdateCityScreen: Boolean = False); 443 443 function ContactRefused(P: Integer; Item: String): Boolean; 444 procedure RepaintAll; 444 445 // Forms 445 446 property WondersDlg: TWondersDlg read GetWondersDlg; … … 4406 4407 MessgText := Format(Phrases.Lookup(MsgItem), [CityName(ID)]); 4407 4408 Kind := mkYesNo; 4408 // BigIcon :=29;4409 // BigIcon := 29; 4409 4410 ShowModal; 4410 4411 Zoom := ModalResult <> mrOK; … … 4787 4788 MiniMapPaint; 4788 4789 PanelPaint; 4790 end; 4791 4792 procedure TMainScreen.RepaintAll; 4793 begin 4794 RectInvalidate(0, TopBarHeight, Width, TopBarHeight + MapHeight); 4795 MapValid := False; 4796 PaintAll; 4789 4797 end; 4790 4798 … … 8378 8386 ManagementArea.Top := TopBarHeight + MapHeight - Overlap + yPalace; 8379 8387 ArrangeMidPanel; 8380 if RepaintOnResize then begin 8381 RectInvalidate(0, TopBarHeight, Width, TopBarHeight + MapHeight); 8382 MapValid := False; 8383 PaintAll; 8384 end; 8388 if RepaintOnResize then RepaintAll; 8385 8389 end; 8386 8390
Note:
See TracChangeset
for help on using the changeset viewer.