Changeset 74 for trunk/Forms
- Timestamp:
- Dec 17, 2016, 6:33:13 PM (8 years ago)
- Location:
- trunk/Forms
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r73 r74 5 5 Width = 860 6 6 Caption = 'LazFuck' 7 ClientHeight = 5 617 ClientHeight = 554 8 8 ClientWidth = 860 9 9 Menu = MainMenu1 … … 18 18 Left = 0 19 19 Height = 28 20 Top = 5 3320 Top = 526 21 21 Width = 860 22 22 Panels = < … … 131 131 object PageControlRight: TPageControl 132 132 Left = 467 133 Height = 50 7133 Height = 500 134 134 Top = 26 135 135 Width = 393 … … 141 141 object TabSheetDebug: TTabSheet 142 142 Caption = 'Debug' 143 ClientHeight = 49 9144 ClientWidth = 3 59143 ClientHeight = 494 144 ClientWidth = 319 145 145 object PanelInput: TPanel 146 146 Left = 0 147 147 Height = 64 148 148 Top = 0 149 Width = 3 59149 Width = 319 150 150 Align = alTop 151 151 BevelOuter = bvNone … … 157 157 Height = 5 158 158 Top = 64 159 Width = 3 59159 Width = 319 160 160 Align = alTop 161 161 ResizeAnchor = akTop … … 165 165 Height = 259 166 166 Top = 69 167 Width = 3 59167 Width = 319 168 168 Align = alTop 169 169 BevelOuter = bvNone … … 175 175 Height = 5 176 176 Top = 328 177 Width = 3 59177 Width = 319 178 178 Align = alTop 179 179 ResizeAnchor = akTop … … 183 183 Height = 86 184 184 Top = 333 185 Width = 3 59185 Width = 319 186 186 Align = alTop 187 187 BevelOuter = bvNone … … 193 193 Height = 5 194 194 Top = 419 195 Width = 3 59195 Width = 319 196 196 Align = alTop 197 197 ResizeAnchor = akTop … … 199 199 object PanelMemory: TPanel 200 200 Left = 0 201 Height = 7 5201 Height = 70 202 202 Top = 424 203 Width = 3 59203 Width = 319 204 204 Align = alClient 205 205 BevelOuter = bvNone … … 210 210 object Splitter1: TSplitter 211 211 Left = 462 212 Height = 50 7212 Height = 500 213 213 Top = 26 214 214 Width = 5 … … 218 218 object PanelLeft: TPanel 219 219 Left = 0 220 Height = 50 7220 Height = 500 221 221 Top = 26 222 222 Width = 462 223 223 Align = alClient 224 224 BevelOuter = bvNone 225 ClientHeight = 50 7225 ClientHeight = 500 226 226 ClientWidth = 462 227 227 TabOrder = 4 228 228 object PageControlMain: TPageControl 229 229 Left = 0 230 Height = 3 84230 Height = 377 231 231 Top = 0 232 232 Width = 462 … … 246 246 Left = 0 247 247 Height = 118 248 Top = 38 9248 Top = 382 249 249 Width = 462 250 250 ActivePage = TabSheetMessages … … 261 261 Left = 0 262 262 Height = 5 263 Top = 3 84263 Top = 377 264 264 Width = 462 265 265 Align = alBottom … … 1005 1005 object AAbout: TAction 1006 1006 Caption = 'About' 1007 OnExecute = AAboutExecute 1007 1008 end 1008 1009 object AHelp: TAction -
trunk/Forms/UFormMain.pas
r73 r74 113 113 ToolButton8: TToolButton; 114 114 ToolButton9: TToolButton; 115 procedure AAboutExecute(Sender: TObject); 115 116 procedure ABreakpointToggleExecute(Sender: TObject); 116 117 procedure AExitExecute(Sender: TObject); … … 170 171 UCore, UFormCPU, UFormOptions, UFormMessages, UFormTargets, UFormOutput, UFormInput, 171 172 UFormMemory, UFormSourceCode, UFormTargetCode, UTargetInterpretter, UFormLog, 172 UBFTarget ;173 UBFTarget, UFormAbout; 173 174 174 175 resourcestring … … 187 188 procedure TFormMain.FormShow(Sender: TObject); 188 189 begin 190 // TODO: Transparent image scaling not working properly under linux Gtk2 191 // Also screen DPI is not correctly detected under linux Gtk2 192 {$IFDEF WINDOWS} 189 193 with Core.ScaleDPI do begin 190 194 ApplyToAll(DesignDPI); 191 195 ScaleImageList(ImageListMain, DesignDPI); 192 196 end; 197 {$ENDIF} 198 193 199 Core.CoolTranslator1.Translate; 194 200 LoadFromRegistry(HKEY(Core.ApplicationInfo.RegistryRoot), Core.ApplicationInfo.RegistryKey); … … 503 509 end; 504 510 511 procedure TFormMain.AAboutExecute(Sender: TObject); 512 begin 513 FormAbout := TFormAbout.Create(nil); 514 try 515 FormAbout.ApplicationInfo := Core.ApplicationInfo; 516 FormAbout.CoolTranslator := Core.CoolTranslator1; 517 FormAbout.ShowModal; 518 finally 519 FreeAndNil(FormAbout); 520 end; 521 end; 522 505 523 procedure TFormMain.AProgramPauseExecute(Sender: TObject); 506 524 begin
Note:
See TracChangeset
for help on using the changeset viewer.