Changeset 24 for trunk/Forms
- Timestamp:
- Sep 28, 2011, 9:14:55 PM (13 years ago)
- Location:
- trunk/Forms
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UMainForm.lfm
r23 r24 51 51 Width = 514 52 52 Align = alClient 53 OnMouseLeave = Image1MouseLeave 53 54 OnResize = Image1Resize 54 55 end -
trunk/Forms/UMainForm.pas
r23 r24 48 48 procedure FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState); 49 49 procedure FormShow(Sender: TObject); 50 procedure Image1MouseLeave(Sender: TObject); 50 51 procedure Image1Resize(Sender: TObject); 51 52 procedure TimerDrawTimer(Sender: TObject); … … 201 202 end; 202 203 204 procedure TMainForm.Image1MouseLeave(Sender: TObject); 205 begin 206 207 end; 208 203 209 procedure TMainForm.Image1Resize(Sender: TObject); 204 210 begin -
trunk/Forms/UMapForm.pas
r21 r24 30 30 31 31 uses 32 UCore ;32 UCore, UMainForm; 33 33 34 34 { TMapForm } … … 37 37 begin 38 38 Image1.Picture.Bitmap.SetSize(Image1.Width, Image1.Height); 39 Engine.World.DrawToBitmap(Image1.Picture.Bitmap);39 MainForm.Engine.World.DrawToBitmap(Image1.Picture.Bitmap); 40 40 end; 41 41 -
trunk/Forms/UNewGameForm.pas
r23 r24 34 34 35 35 uses 36 UCore ;36 UCore, UMainForm; 37 37 38 38 {$R *.lfm} … … 60 60 BeginUpdate; 61 61 Clear; 62 for I := 0 to Engine.PlayerPool.Count - 1 do63 with TPlayer( Engine.PlayerPool[I]) do begin62 for I := 0 to MainForm.Engine.PlayerPool.Count - 1 do 63 with TPlayer(MainForm.Engine.PlayerPool[I]) do begin 64 64 NewItem := Items.Add; 65 65 NewItem.Caption := Name;
Note:
See TracChangeset
for help on using the changeset viewer.