Changeset 79 for trunk/Forms/UFormMain.pas
- Timestamp:
- Nov 4, 2014, 8:57:21 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.