Skip to content

Commit

Permalink
version 4.1.3 (VCL+FMX)
Browse files Browse the repository at this point in the history
- Aligned To latest Image32
- Fixed compilation with MacOSX
- Added support for Delphi 12.1
  • Loading branch information
carloBarazzetta committed Apr 26, 2024
1 parent fe45651 commit 01eae01
Show file tree
Hide file tree
Showing 47 changed files with 3,273 additions and 1,746 deletions.
4 changes: 2 additions & 2 deletions Demo/D12/SVGIconImageListDemo.dproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{DAE3A37C-D7A5-4230-A31E-7E95B5B41269}</ProjectGuid>
<MainSource>SVGIconImageListDemo.dpr</MainSource>
<Config Condition="'$(Config)'==''">Debug</Config>
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
<ProjectVersion>20.0</ProjectVersion>
<ProjectVersion>20.1</ProjectVersion>
<FrameworkType>VCL</FrameworkType>
<Base>True</Base>
<Platform Condition="'$(Platform)'==''">Win32</Platform>
Expand Down
24 changes: 2 additions & 22 deletions Demo/SVGExplorer/FExplorerSVG.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object fmExplorerSVG: TfmExplorerSVG
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Name = 'Segoe UI'
Font.Style = []
ShowHint = True
OnCreate = FormCreate
Expand Down Expand Up @@ -41,7 +41,6 @@ object fmExplorerSVG: TfmExplorerSVG
Height = 509
Align = alLeft
TabOrder = 0
ExplicitHeight = 508
object DirSelection: TDirectoryListBox
Left = 1
Top = 41
Expand All @@ -50,7 +49,6 @@ object fmExplorerSVG: TfmExplorerSVG
Align = alClient
TabOrder = 0
OnChange = DirSelectionChange
ExplicitHeight = 387
end
object DrivePanel: TPanel
Left = 1
Expand All @@ -76,7 +74,6 @@ object fmExplorerSVG: TfmExplorerSVG
Height = 19
Panels = <>
SimplePanel = True
ExplicitTop = 488
end
object TrackBarPanel: TPanel
Left = 1
Expand All @@ -86,11 +83,10 @@ object fmExplorerSVG: TfmExplorerSVG
Align = alBottom
BevelOuter = bvNone
TabOrder = 3
ExplicitTop = 428
object Label1: TLabel
Left = 8
Top = 5
Width = 51
Width = 52
Height = 13
Caption = 'Icons size:'
end
Expand All @@ -117,8 +113,6 @@ object fmExplorerSVG: TfmExplorerSVG
Height = 509
Align = alClient
TabOrder = 1
ExplicitWidth = 581
ExplicitHeight = 508
object ImageListLabel: TLabel
Left = 1
Top = 42
Expand Down Expand Up @@ -154,7 +148,6 @@ object fmExplorerSVG: TfmExplorerSVG
Height = 41
Align = alTop
TabOrder = 0
ExplicitWidth = 579
DesignSize = (
583
41)
Expand All @@ -167,7 +160,6 @@ object fmExplorerSVG: TfmExplorerSVG
TabOrder = 0
TextHint = 'Insert filter with wildcards to search icons by name...'
OnInvokeSearch = SearchBoxInvokeSearch
ExplicitWidth = 562
end
end
object ImageView: TListView
Expand All @@ -184,8 +176,6 @@ object fmExplorerSVG: TfmExplorerSVG
TabOrder = 1
OnKeyDown = ImageViewKeyDown
OnSelectItem = ImageViewSelectItem
ExplicitWidth = 579
ExplicitHeight = 327
end
object StatusBar: TStatusBar
Left = 1
Expand All @@ -194,8 +184,6 @@ object fmExplorerSVG: TfmExplorerSVG
Height = 19
Panels = <>
SimplePanel = True
ExplicitTop = 488
ExplicitWidth = 579
end
object paSVGText: TPanel
Left = 1
Expand All @@ -205,8 +193,6 @@ object fmExplorerSVG: TfmExplorerSVG
Hint = 'SVG Text content'
Align = alBottom
TabOrder = 3
ExplicitTop = 388
ExplicitWidth = 579
object SVGMemo: TMemo
Left = 1
Top = 1
Expand All @@ -222,7 +208,6 @@ object fmExplorerSVG: TfmExplorerSVG
ReadOnly = True
ScrollBars = ssBoth
TabOrder = 0
ExplicitWidth = 577
end
end
end
Expand All @@ -234,8 +219,6 @@ object fmExplorerSVG: TfmExplorerSVG
Align = alRight
TabOrder = 2
OnResize = paPreviewResize
ExplicitLeft = 774
ExplicitHeight = 508
DesignSize = (
136
509)
Expand Down Expand Up @@ -263,7 +246,6 @@ object fmExplorerSVG: TfmExplorerSVG
Action = DeleteAction
Anchors = [akLeft, akRight, akBottom]
TabOrder = 1
ExplicitTop = 477
end
object BtRename: TButton
Left = 5
Expand All @@ -273,7 +255,6 @@ object fmExplorerSVG: TfmExplorerSVG
Action = RenameAction
Anchors = [akLeft, akRight, akBottom]
TabOrder = 0
ExplicitTop = 446
end
object ShowTextCheckBox: TCheckBox
Left = 6
Expand All @@ -286,7 +267,6 @@ object fmExplorerSVG: TfmExplorerSVG
State = cbChecked
TabOrder = 2
OnClick = ShowTextCheckBoxClick
ExplicitTop = 419
end
object grpFactory: TRadioGroup
Left = 1
Expand Down
2 changes: 1 addition & 1 deletion Demo/SVGExplorer/SVGExplorer.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ uses
{$R *.res}

begin
Application.Title := 'SVG Icons Explorer - Copyright (c) 2020-2022 Ethea S.r.l.';
Application.Title := 'SVG Icons Explorer - Copyright (c) 2020-2024 Ethea S.r.l.';
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TfmExplorerSVG, fmExplorerSVG);
Expand Down
137 changes: 136 additions & 1 deletion Demo/SVGExplorer/SVGExplorer.dproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{62B8E620-E233-45E4-9FDA-7A955E08C7EC}</ProjectGuid>
<ProjectVersion>19.5</ProjectVersion>
<ProjectVersion>20.1</ProjectVersion>
<FrameworkType>VCL</FrameworkType>
<MainSource>SVGExplorer.dpr</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Release</Config>
<Platform Condition="'$(Platform)'==''">Win64</Platform>
<TargetedPlatforms>3</TargetedPlatforms>
<AppType>Application</AppType>
<ProjectName Condition="'$(ProjectName)'==''">SVGExplorer</ProjectName>
</PropertyGroup>
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
<Base>true</Base>
Expand Down Expand Up @@ -331,6 +332,16 @@
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="AndroidSplashImageDefV21">
<Platform Name="Android">
<RemoteDir>res\drawable-anydpi-v21</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable-anydpi-v21</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="AndroidSplashStyles">
<Platform Name="Android">
<RemoteDir>res\values</RemoteDir>
Expand All @@ -351,6 +362,66 @@
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="AndroidSplashStylesV31">
<Platform Name="Android">
<RemoteDir>res\values-v31</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\values-v31</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_AdaptiveIcon">
<Platform Name="Android">
<RemoteDir>res\drawable-anydpi-v26</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable-anydpi-v26</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_AdaptiveIconBackground">
<Platform Name="Android">
<RemoteDir>res\drawable</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_AdaptiveIconForeground">
<Platform Name="Android">
<RemoteDir>res\drawable</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_AdaptiveIconMonochrome">
<Platform Name="Android">
<RemoteDir>res\drawable</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_AdaptiveIconV33">
<Platform Name="Android">
<RemoteDir>res\drawable-anydpi-v33</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable-anydpi-v33</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_Colors">
<Platform Name="Android">
<RemoteDir>res\values</RemoteDir>
Expand All @@ -361,6 +432,16 @@
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_ColorsDark">
<Platform Name="Android">
<RemoteDir>res\values-night-v21</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\values-night-v21</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_DefaultAppIcon">
<Platform Name="Android">
<RemoteDir>res\drawable</RemoteDir>
Expand Down Expand Up @@ -531,6 +612,56 @@
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_VectorizedNotificationIcon">
<Platform Name="Android">
<RemoteDir>res\drawable-anydpi-v24</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable-anydpi-v24</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_VectorizedSplash">
<Platform Name="Android">
<RemoteDir>res\drawable</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_VectorizedSplashDark">
<Platform Name="Android">
<RemoteDir>res\drawable-night-anydpi-v21</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable-night-anydpi-v21</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_VectorizedSplashV31">
<Platform Name="Android">
<RemoteDir>res\drawable-anydpi-v31</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable-anydpi-v31</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_VectorizedSplashV31Dark">
<Platform Name="Android">
<RemoteDir>res\drawable-night-anydpi-v31</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\drawable-night-anydpi-v31</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="DebugSymbols">
<Platform Name="iOSSimulator">
<Operation>1</Operation>
Expand Down Expand Up @@ -771,6 +902,9 @@
<Platform Name="Win64">
<Operation>1</Operation>
</Platform>
<Platform Name="Win64x">
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="ProjectiOSDeviceDebug">
<Platform Name="iOSDevice32">
Expand Down Expand Up @@ -1063,6 +1197,7 @@
<ProjectRoot Platform="OSXARM64" Name="$(PROJECTNAME).app"/>
<ProjectRoot Platform="Win32" Name="$(PROJECTNAME)"/>
<ProjectRoot Platform="Win64" Name="$(PROJECTNAME)"/>
<ProjectRoot Platform="Win64x" Name="$(PROJECTNAME)"/>
</Deployment>
</BorlandProject>
<ProjectFileVersion>12</ProjectFileVersion>
Expand Down
18 changes: 7 additions & 11 deletions Demo/SvgViewer/FrameViewer.dfm
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
object FrameView: TFrameView
Left = 0
Top = 0
Width = 510
Height = 432
Width = 300
Height = 300
TabOrder = 0
object ClientPanel: TPanel
Left = 0
Top = 0
Width = 510
Height = 432
Width = 300
Height = 300
Align = alClient
BevelOuter = bvNone
BorderWidth = 1
Expand All @@ -18,21 +18,17 @@ object FrameView: TFrameView
object SVGPaintBox: TPaintBox
Left = 1
Top = 24
Width = 508
Height = 407
Width = 298
Height = 275
Align = alClient
Color = clWhite
ParentColor = False
OnPaint = SVGPaintBoxPaint
ExplicitLeft = 145
ExplicitTop = 129
ExplicitWidth = 300
ExplicitHeight = 300
end
object TitlePanel: TPanel
Left = 1
Top = 1
Width = 508
Width = 298
Height = 23
Align = alTop
BevelOuter = bvNone
Expand Down
Loading

0 comments on commit 01eae01

Please sign in to comment.