Changeset 79 for trunk/Forms
- Timestamp:
- Nov 4, 2014, 8:57:21 AM (10 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r76 r79 130 130 object MainMenu1: TMainMenu 131 131 Images = Core.ImageListSmall 132 left = 72132 left = 224 133 133 top = 48 134 134 object MenuItem1: TMenuItem -
trunk/Forms/UFormMain.pas
r78 r79 219 219 procedure TFormMain.FormCreate(Sender: TObject); 220 220 begin 221 //PaintBox1.ControlStyle := PaintBox1.ControlStyle + [csOpaque]; 221 {$IFDEF Linux} 222 PaintBox1.ControlStyle := PaintBox1.ControlStyle + [csOpaque]; 223 {$ENDIF} 222 224 //DoubleBuffered := True; 223 225 TempBitmap := TBitmap.Create; … … 295 297 Core.Game.Running := False; 296 298 SaveConfig(Core.XMLConfig1, 'FormMain'); 299 Core.PersistentForm.Save(Self); 297 300 end; 298 301 … … 305 308 begin 306 309 LoadConfig(Core.XMLConfig1, 'FormMain'); 310 Core.PersistentForm.Load(Self, True); 307 311 ReloadView; 308 312 Redraw;
Note:
See TracChangeset
for help on using the changeset viewer.