Changeset 19 for trunk/Forms


Ignore:
Timestamp:
Oct 5, 2019, 1:00:29 PM (5 years ago)
Author:
chronos
Message:
  • Added: Remember board state between application restarts.
Location:
trunk/Forms
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r17 r19  
    8989  Core.PersistentForm1.RegistryContext := Core.ApplicationInfo1.GetRegistryContext;
    9090  Core.PersistentForm1.Load(Self);
    91   Core.Game.New;
     91  if not Core.Game.Running then
     92    Core.Game.New;
    9293end;
    9394
  • trunk/Forms/UFormSettings.lfm

    r13 r19  
    1616    Height = 26
    1717    Top = 24
    18     Width = 150
    19     Caption = 'Animation speed:'
     18    Width = 172
     19    Caption = 'Animation duration:'
    2020    ParentColor = False
    2121  end
     
    5252  object ComboBoxLanguage: TComboBox
    5353    Left = 208
    54     Height = 43
     54    Height = 42
    5555    Top = 86
    5656    Width = 230
  • trunk/Forms/UFormSettings.lrj

    r13 r19  
    11{"version":1,"strings":[
    22{"hash":213582195,"name":"tformsettings.caption","sourcebytes":[83,101,116,116,105,110,103,115],"value":"Settings"},
    3 {"hash":69745274,"name":"tformsettings.label1.caption","sourcebytes":[65,110,105,109,97,116,105,111,110,32,115,112,101,101,100,58],"value":"Animation speed:"},
     3{"hash":10139450,"name":"tformsettings.label1.caption","sourcebytes":[65,110,105,109,97,116,105,111,110,32,100,117,114,97,116,105,111,110,58],"value":"Animation duration:"},
    44{"hash":1339,"name":"tformsettings.buttonok.caption","sourcebytes":[79,75],"value":"OK"},
    55{"hash":77089212,"name":"tformsettings.buttoncancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"},
Note: See TracChangeset for help on using the changeset viewer.