Changeset 63 for trunk/Forms
- Timestamp:
- Jan 5, 2023, 11:03:33 PM (23 months ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r62 r63 82 82 Action = AFullScreen 83 83 end 84 object MenuItem8: TMenuItem 85 Action = AShowRawImageDesc 86 end 84 87 end 85 88 object MenuItem7: TMenuItem … … 112 115 OnExecute = ANewGameExecute 113 116 ShortCut = 16462 117 Visible = False 114 118 end 115 119 object AShowMap: TAction … … 117 121 OnExecute = AShowMapExecute 118 122 ShortCut = 123 123 Visible = False 119 124 end 120 125 object AAbout: TAction … … 125 130 Caption = 'Show RawImage Description' 126 131 OnExecute = AShowRawImageDescExecute 132 Visible = False 127 133 end 128 134 end -
trunk/Forms/UFormMain.pas
r62 r63 31 31 MenuItem6: TMenuItem; 32 32 MenuItem7: TMenuItem; 33 MenuItem8: TMenuItem; 33 34 MenuItem9: TMenuItem; 34 35 StatusBar1: TStatusBar; … … 137 138 {$IFDEF DEBUG} 138 139 StatusBar1.Visible := not FullScreenEnabled; 140 AShowMap.Visible := True; 141 ANewGame.Visible := True; 142 AShowRawImageDesc.Visible := True; 139 143 {$ENDIF} 140 144 end; … … 148 152 begin 149 153 XMLConfig1.Filename := GetAppConfigDir(False) + 'Config.xml'; 154 FullScreenEnabled := True; 150 155 151 156 PersistentForm := TPersistentForm.Create(nil); … … 244 249 PersistentForm.Load(Self, False, True); 245 250 FullScreenEnabled := PersistentForm.FormFullScreen; 246 UpdateInterface 251 PersistentForm.SetFullScreen(FullScreenEnabled); 252 UpdateInterface; 247 253 end; 248 254
Note:
See TracChangeset
for help on using the changeset viewer.