Skip to content

Commit

Permalink
fixed lazarus compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
digao-dalpiaz committed Jan 27, 2025
1 parent d8adbb5 commit f850969
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CompInstall.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ IniVersion=2

[General]
Name=Digao Dalpiaz - DzHTMLText component
Version=6.6
Version=6.7
DelphiVersions=XE3;XE4;XE5;XE6;XE7;XE8;10;10.1;10.2;10.3;10.4;11;12
Packages=DzHTMLText_VCL;DzHTMLText_FMX;DzHTMLTextDesign_VCL;DzHTMLTextDesign_FMX
AddLibrary=1
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,18 @@

## What's New

- 11/14/2024 (Version 6.6)
- 01/26/2025 (Version 6.7)

- Use GDI painting from Windows API when using VCL + Windows to draw rounded div
- Fix access violation when DPI Scaling in VCL (early access to TForm.Monitor)
- Fixed Lazarus compiling (GDI+ units)

<details>
<summary>Click here to view the entire changelog</summary>

- 11/14/2024 (Version 6.6)

- Use GDI painting from Windows API when using VCL + Windows to draw rounded div
- Fix access violation when DPI Scaling in VCL (early access to TForm.Monitor)

- 10/14/2024 (Version 6.5)

- New Corner Radius ("radius") property for Div tag
Expand Down
4 changes: 3 additions & 1 deletion Source/Defines.inc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
{$DEFINE USE_IMGLST}

{$IFDEF MSWINDOWS}
{$DEFINE USE_GDI}
{$IFDEF DCC}
{$DEFINE USE_GDI}
{$ENDIF}
{$ENDIF}
{$ENDIF}

Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.DzHTMLText.pas
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ implementation
, Winapi.GDIPOBJ, Winapi.GDIPAPI
{$ENDIF};

const STR_VERSION = '6.6';
const STR_VERSION = '6.7';

const DEFAULT_PPI = 96;

Expand Down

0 comments on commit f850969

Please sign in to comment.