Skip to content

Commit 5f74b34

Browse files
committed
Small fix
1 parent d4d8050 commit 5f74b34

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

packages/CVClass.pas

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ interface
3636
System.SyncObjs,
3737
VCL.Controls,
3838
VCL.Graphics,
39-
VCL.Themes,
4039
VCL.Direct2D,
4140
D2D1,
4241
cpp.utils,
@@ -472,7 +471,7 @@ implementation
472471

473472
uses
474473
System.UITypes,
475-
WinApi.DxgiFormat,
474+
476475
cv.utils;
477476

478477
var

packages/Delphi 12.0 Athens/dclCVClass.dpk

+5-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ requires
3939
contains
4040
CVClass in '..\CVClass.pas',
4141
CVProp in '..\CVProp.pas',
42-
CVRegVCL in '..\CVRegVCL.pas';
42+
CVRegVCL in '..\CVRegVCL.pas',
43+
cpp.utils in '..\..\source\cpp.utils.pas',
44+
cv.external in '..\..\source\cv.external.pas',
45+
cv.opencv in '..\..\source\cv.opencv.pas',
46+
cv.utils in '..\..\source\cv.utils.pas';
4347

4448
end.

packages/Delphi 12.0 Athens/dclCVClass.dproj

+5
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
<DCC_UnitSearchPath>..\..\source\;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
8585
<DCC_Define>PACKAGE;$(DCC_Define)</DCC_Define>
8686
<DCC_OutputXMLDocumentation>true</DCC_OutputXMLDocumentation>
87+
<DCC_NO_RETVAL>false</DCC_NO_RETVAL>
8788
</PropertyGroup>
8889
<PropertyGroup Condition="'$(Base_Android)'!=''">
8990
<VerInfo_Keys>package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey=</VerInfo_Keys>
@@ -145,6 +146,10 @@
145146
<DCCReference Include="..\CVClass.pas"/>
146147
<DCCReference Include="..\CVProp.pas"/>
147148
<DCCReference Include="..\CVRegVCL.pas"/>
149+
<DCCReference Include="..\..\source\cpp.utils.pas"/>
150+
<DCCReference Include="..\..\source\cv.external.pas"/>
151+
<DCCReference Include="..\..\source\cv.opencv.pas"/>
152+
<DCCReference Include="..\..\source\cv.utils.pas"/>
148153
<RcItem Include="..\resource\DCV32x32.bmp">
149154
<ResourceType>BITMAP</ResourceType>
150155
<ResourceId>DOCVSPLASH</ResourceId>

packages/Delphi 12.0 Athens/dclCVClass.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<namespace name=".dclCVClass" platform="Win32">
3-
<contains name="cv.external" />
43
<contains name="cv.utils" />
5-
<contains name="cpp.utils" />
64
<contains name="cv.opencv" />
5+
<contains name="cv.external" />
6+
<contains name="cpp.utils" />
77
<contains name="CVRegVCL" />
88
<contains name="CVProp" />
99
<contains name="CVClass" />

source/core/check.impl.inc

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ function depthToString(depth: int): pCVChar;
2727
begin
2828
{$IF not defined(PACKAGE)}
2929
Result := func_depthToString(depth);
30-
//{$ELSE}
31-
// Result := nil;
3230
{$IFEND}
3331
end;
3432

source/imgproc.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2859,7 +2859,7 @@ function morphologyDefaultBorderValue(): TScalar; {$IFDEF USE_INLINE}inline; {$E
28592859
function getAffineTransform(const src,dst:TArray<TPoint2f>):TMat; overload; {$IFDEF USE_INLINE}inline; {$ENDIF}
28602860
Type
28612861
TAffineTransformPoints = array[0..2] of TPoint2f;
2862-
pPoint2f = TPoint2f;
2862+
pPoint2f = ^TPoint2f;
28632863
function getAffineTransform(const src,dst:TAffineTransformPoints):TMat; overload; {$IFDEF USE_INLINE}inline; {$ENDIF}
28642864
function getAffineTransform(const src,dst:pPoint2f):TMat; overload; {$IFDEF USE_INLINE}inline; {$ENDIF}
28652865

0 commit comments

Comments
 (0)