Skip to content

Commit deabc0d

Browse files
Version 1.2
Fixed #3 Text editor status bar update issue Fixed #4 Text fonts in the editor cannot be changed Fixed #5 The background color in the preview panel does not change Added Win32 platform support: resolved #6 Icon not rendered correctly with D2D engine
1 parent 5a4aab7 commit deabc0d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1708
-314
lines changed

Bin32/Register32bit.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
%systemroot%\SysWoW64\regsvr32 "D:\ETHEA\SVGShellExtensions\Bin32\SVGShellExtensions32.dll"

Bin32/UnRegister32bit.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
%systemroot%\SysWoW64\regsvr32 /u "D:\ETHEA\SVGShellExtensions\Bin32\SVGShellExtensions32.dll"

Bin64/Register64bit.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
%systemroot%\System32\regsvr32 "D:\ETHEA\SVGShellExtensions\Bin64\SVGShellExtensions.dll"

Bin64/UnRegister64bit.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
%systemroot%\System32\regsvr32 /u "D:\ETHEA\SVGShellExtensions\Bin64\SVGShellExtensions.dll"
2+
rem %systemroot%\System32\regsvr32 /u "C:\Program Files\Ethea\SVGShellExtensions\SVGShellExtensions.dll"

Build.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
call "C:\BDS\Studio\21.0\bin\rsvars.bat"
22
msbuild.exe "Source\SVGShellExtensions.dproj" /target:Clean;Build /p:Platform=Win64 /p:config=release
3+
msbuild.exe "Source\SVGShellExtensions32.dproj" /target:Clean;Build /p:Platform=Win32 /p:config=release
34
msbuild.exe "Source\SVGTextEditor.dproj" /target:Clean;Build /p:Platform=Win64 /p:config=release
45

56
:INNO

Debug/Preview Handlers/PreviewHandler Host/PreviewHost.dproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
33
<ProjectGuid>{4BBCE26D-2844-4147-BD21-3D736FC10602}</ProjectGuid>
4-
<ProjectVersion>19.1</ProjectVersion>
4+
<ProjectVersion>19.2</ProjectVersion>
55
<FrameworkType>VCL</FrameworkType>
66
<MainSource>PreviewHost.dpr</MainSource>
77
<Base>True</Base>
88
<Config Condition="'$(Config)'==''">Debug</Config>
9-
<Platform Condition="'$(Platform)'==''">Win64</Platform>
9+
<Platform Condition="'$(Platform)'==''">Win32</Platform>
1010
<TargetedPlatforms>3</TargetedPlatforms>
1111
<AppType>Application</AppType>
1212
</PropertyGroup>
0 Bytes
Binary file not shown.

Debug/Preview Handlers/PreviewHandler Host_Without_TShellListView/PreviewHost.dproj

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
33
<ProjectGuid>{4BBCE26D-2844-4147-BD21-3D736FC10602}</ProjectGuid>
4-
<ProjectVersion>19.1</ProjectVersion>
4+
<ProjectVersion>19.2</ProjectVersion>
55
<FrameworkType>VCL</FrameworkType>
66
<MainSource>PreviewHost.dpr</MainSource>
77
<Base>True</Base>
88
<Config Condition="'$(Config)'==''">Debug</Config>
9-
<Platform Condition="'$(Platform)'==''">Win32</Platform>
10-
<TargetedPlatforms>1</TargetedPlatforms>
9+
<Platform Condition="'$(Platform)'==''">Win64</Platform>
10+
<TargetedPlatforms>3</TargetedPlatforms>
1111
<AppType>Application</AppType>
1212
</PropertyGroup>
1313
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
@@ -34,11 +34,23 @@
3434
<Cfg_1>true</Cfg_1>
3535
<Base>true</Base>
3636
</PropertyGroup>
37+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win64)'!=''">
38+
<Cfg_1_Win64>true</Cfg_1_Win64>
39+
<CfgParent>Cfg_1</CfgParent>
40+
<Cfg_1>true</Cfg_1>
41+
<Base>true</Base>
42+
</PropertyGroup>
3743
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
3844
<Cfg_2>true</Cfg_2>
3945
<CfgParent>Base</CfgParent>
4046
<Base>true</Base>
4147
</PropertyGroup>
48+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win64)'!=''">
49+
<Cfg_2_Win64>true</Cfg_2_Win64>
50+
<CfgParent>Cfg_2</CfgParent>
51+
<Cfg_2>true</Cfg_2>
52+
<Base>true</Base>
53+
</PropertyGroup>
4254
<PropertyGroup Condition="'$(Base)'!=''">
4355
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace)</DCC_Namespace>
4456
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
@@ -64,6 +76,12 @@
6476
<DCC_UsePackage>vclib;acntDelphiXE2_R;DBXSybaseASEDriver;vclimg;vclshlctrls;vcldb;vcldsnap;DBXDb2Driver;vclribbon;vcl;DBXMSSQLDriver;webdsnap;adortl;DBXOdbcDriver;SynEdit_RXE2;vclactnband;bindcompvcl;vclie;vcltouch;websnap;VclSmp;DataSnapConnectors;dsnapcon;vclx;$(DCC_UsePackage)</DCC_UsePackage>
6577
<UWP_DelphiLogo44>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png</UWP_DelphiLogo44>
6678
<UWP_DelphiLogo150>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png</UWP_DelphiLogo150>
79+
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace)</DCC_Namespace>
80+
<BT_BuildType>Debug</BT_BuildType>
81+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
82+
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
83+
<VerInfo_Locale>1033</VerInfo_Locale>
84+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
6785
</PropertyGroup>
6886
<PropertyGroup Condition="'$(Cfg_1)'!=''">
6987
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
@@ -79,12 +97,20 @@
7997
<VerInfo_Locale>1033</VerInfo_Locale>
8098
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
8199
</PropertyGroup>
100+
<PropertyGroup Condition="'$(Cfg_1_Win64)'!=''">
101+
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
102+
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
103+
</PropertyGroup>
82104
<PropertyGroup Condition="'$(Cfg_2)'!=''">
83105
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
84106
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
85107
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
86108
<DCC_DebugInformation>0</DCC_DebugInformation>
87109
</PropertyGroup>
110+
<PropertyGroup Condition="'$(Cfg_2_Win64)'!=''">
111+
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
112+
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
113+
</PropertyGroup>
88114
<ItemGroup>
89115
<DelphiCompile Include="$(MainSource)">
90116
<MainSource>MainSource</MainSource>
@@ -149,7 +175,7 @@
149175
<Deployment Version="3"/>
150176
<Platforms>
151177
<Platform value="Win32">True</Platform>
152-
<Platform value="Win64">False</Platform>
178+
<Platform value="Win64">True</Platform>
153179
</Platforms>
154180
<ModelSupport>False</ModelSupport>
155181
</BorlandProject>
Binary file not shown.

Debug/Preview Handlers/PreviewHandler Host_Without_TShellListView/uMain.dfm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ object FrmMain: TFrmMain
1212
Font.Style = []
1313
OldCreateOrder = False
1414
OnCreate = FormCreate
15-
OnDestroy = FormDestroy
1615
PixelsPerInch = 96
1716
TextHeight = 13
1817
object Panel3: TPanel

0 commit comments

Comments
 (0)