- Timestamp:
- Sep 20, 2021, 2:37:10 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AcronymDecoder.lpr
r208 r210 26 26 {$ENDIF} 27 27 28 Application.Title :='Acronym Decoder';28 Application.Title:='Acronym Decoder'; 29 29 RequireDerivedFormResource := True; 30 30 Application.Initialize; -
trunk/Install/win/AcronymDecoder.iss
r202 r210 36 36 AppSupportURL={#MyAppURL} 37 37 AppUpdatesURL={#MyAppURL} 38 DefaultDirName={ pf}\{#MyAppPublisherShort}\{#MyAppName}38 DefaultDirName={commonpf}\{#MyAppPublisherShort}\{#MyAppName} 39 39 DefaultGroupName={#MyAppPublisherShort}\{#MyAppName} 40 40 AllowNoIcons=yes … … 51 51 ; installation to run on all architectures (including Itanium, 52 52 ; since it's capable of running 32-bit code too). 53 WizardStyle=modern 53 54 54 55 [Languages] … … 61 62 62 63 [Registry] 63 Root: HK CU; Subkey: "Software\Chronosoft\Acronym Decoder"; Flags: uninsdeletekey64 Root: HKLM; Subkey: "Software\Chronosoft\Acronym Decoder"; Flags: uninsdeletekey 64 65 65 66 #define FileTypeName "Acronym Decoder project" -
trunk/Install/win/build.bat
r169 r210 18 18 copy %MAIN_EXE% %WIN64_EXE% 19 19 20 "c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "%PROJECTNAME%.iss"20 "c:\Program Files (x86)\Inno Setup 6\ISCC.exe" "%PROJECTNAME%.iss" -
trunk/Packages/Common/UScaleDPI.pas
r207 r210 313 313 //AutoSize := False; 314 314 //Anchors := []; 315 Left := ScaleX(Left, FromDPI.X); 316 Top := ScaleY(Top, FromDPI.Y); 317 //if not (akRight in Anchors) then 318 Width := ScaleX(Width, FromDPI.X); 319 //if not (akBottom in Anchors) then 320 Height := ScaleY(Height, FromDPI.Y); 315 BoundsRect := Bounds(ScaleX(Left, FromDPI.X), ScaleY(Top, FromDPI.Y), 316 ScaleX(Width, FromDPI.X), ScaleY(Height, FromDPI.Y)); 321 317 {$IFDEF LCL Qt} 322 318 Font.Size := 0; … … 352 348 ToolBarControl := TToolBar(Control); 353 349 with ToolBarControl do begin 354 ButtonWidth := ScaleX(ButtonWidth, FromDPI.X); 355 ButtonHeight := ScaleY(ButtonHeight, FromDPI.Y); 350 //SetButtonSize(ScaleX(ButtonWidth, FromDPI.X), ScaleY(ButtonHeight, FromDPI.Y)); 356 351 end; 357 352 end; -
trunk/UCore.pas
r209 r210 126 126 127 127 function TCore.GetAppShareDir(Dir: string): string; 128 {$IFDEF Linux} 128 129 var 129 130 NewDir: string; 131 {$ENDIF} 130 132 begin 131 133 Result := ExtractFileDir(Application.ExeName) + DirectorySeparator + Dir; … … 256 258 //Core.ScaleDPI1.DPI := Point(200, 200); 257 259 {$IFDEF WINDOWS} 258 Core.ScaleDPI1.ScaleImageList(ImageList1, Core.ScaleDPI1.DesignDPI);260 Core.ScaleDPI1.ScaleImageList(ImageList1, Core.ScaleDPI1.DesignDPI); 259 261 {$ENDIF} 260 262 end;
Note:
See TracChangeset
for help on using the changeset viewer.