Skip to content

Commit bc2e4b4

Browse files
ver. 2.3.0
- Updated Settings for Buttons Rendering - Built with StyledComponents + SKIA (Delphi 12.1)
1 parent 4af4e84 commit bc2e4b4

Some content is hidden

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

55 files changed

+4259
-907
lines changed

Ext/StyledComponents/source/Skia.Vcl.StyledTaskDialogAnimatedUnit.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{******************************************************************************}
22
{ }
3-
{ StyledTaskDialogAnimated: an example of Task Dialog Form }
4-
{ using a TSkAnimatedImage with Lottie Animations }
3+
{ StyledTaskDialogAnimated: an example of Task Dialog Form }
4+
{ using a TSkAnimatedImage with Lottie Animations }
55
{ }
6-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7-
{ Author: Carlo Barazzetta }
8-
{ Contributors: }
6+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7+
{ Author: Carlo Barazzetta }
8+
{ Contributors: }
99
{ }
10-
{ https://github.com/EtheaDev/StyledComponents }
10+
{ https://github.com/EtheaDev/StyledComponents }
1111
{ }
1212
{******************************************************************************}
1313
{ }

Ext/StyledComponents/source/Vcl.AngularButtonStyles.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{******************************************************************************}
22
{ }
3-
{ AngulaButtonStyles: Button Styles inspired to Material/angular }
4-
{ https://material.angular.io/components/button/overview }
3+
{ AngulaButtonStyles: Button Styles inspired to Material/angular }
4+
{ https://material.angular.io/components/button/overview }
55
{ }
6-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7-
{ Author: Carlo Barazzetta }
8-
{ Contributors: }
6+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7+
{ Author: Carlo Barazzetta }
8+
{ Contributors: }
99
{ }
10-
{ https://github.com/EtheaDev/StyledComponents }
10+
{ https://github.com/EtheaDev/StyledComponents }
1111
{ }
1212
{******************************************************************************}
1313
{ }

Ext/StyledComponents/source/Vcl.BootstrapButtonStyles.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{******************************************************************************}
22
{ }
3-
{ BootstrapButtonStyles: Button Styles inspired to Bootstrap }
4-
{ https://getbootstrap.com/docs/4.0/components/buttons/ }
3+
{ BootstrapButtonStyles: Button Styles inspired to Bootstrap }
4+
{ https://getbootstrap.com/docs/4.0/components/buttons/ }
55
{ }
6-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7-
{ Author: Carlo Barazzetta }
8-
{ Contributors: }
6+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7+
{ Author: Carlo Barazzetta }
8+
{ Contributors: }
99
{ }
10-
{ https://github.com/EtheaDev/StyledComponents }
10+
{ https://github.com/EtheaDev/StyledComponents }
1111
{ }
1212
{******************************************************************************}
1313
{ }

Ext/StyledComponents/source/Vcl.ButtonStylesAttributes.pas

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{******************************************************************************}
22
{ }
3-
{ TStyledButtonAttributes: a collection of Rendering attributes }
4-
{ for Styled Components }
3+
{ TStyledButtonAttributes: a collection of Rendering attributes }
4+
{ for Styled Components }
5+
{ TNotificationBadgeAttributes: a set of Rendering attributes for Badge }
56
{ }
6-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7-
{ Author: Carlo Barazzetta }
8-
{ Contributors: }
7+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
8+
{ Author: Carlo Barazzetta }
9+
{ Contributors: }
910
{ }
10-
{ https://github.com/EtheaDev/StyledComponents }
11+
{ https://github.com/EtheaDev/StyledComponents }
1112
{ }
1213
{******************************************************************************}
1314
{ }
@@ -1380,7 +1381,7 @@ procedure CalcImageAndTextRect(const ASurfaceRect: TRect;
13801381
Inc(IX, AImageMargins.Left);
13811382
Inc(IY, AImageMargins.Top);
13821383
Dec(IY, AImageMargins.Bottom);
1383-
Inc(ATextRect.Left, IX + IW + AImageMargins.Right);
1384+
ATextRect.Left := IX + IW + AImageMargins.Right;
13841385
end;
13851386
iaRight:
13861387
begin
@@ -1398,7 +1399,7 @@ procedure CalcImageAndTextRect(const ASurfaceRect: TRect;
13981399
Dec(IX, AImageMargins.Right);
13991400
IY := Round(ATextRect.Top + (2*AScale));
14001401
Inc(IY, AImageMargins.Top);
1401-
Inc(ATextRect.Top, IY + IH + AImageMargins.Bottom);
1402+
ATextRect.Top := IY + IH + AImageMargins.Bottom;
14021403
end;
14031404
iaBottom:
14041405
begin

Ext/StyledComponents/source/Vcl.ColorButtonStyles.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{******************************************************************************}
22
{ }
3-
{ ColorButtonStyles: Button Styles based on VCL color names }
4-
{ Unit System.UIConsts }
3+
{ ColorButtonStyles: Button Styles based on VCL color names }
4+
{ Unit System.UIConsts }
55
{ }
6-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7-
{ Author: Carlo Barazzetta }
8-
{ Contributors: }
6+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7+
{ Author: Carlo Barazzetta }
8+
{ Contributors: }
99
{ }
10-
{ https://github.com/EtheaDev/StyledComponents }
10+
{ https://github.com/EtheaDev/StyledComponents }
1111
{ }
1212
{******************************************************************************}
1313
{ }

Ext/StyledComponents/source/Vcl.SkAnimatedImageHelper.pas

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{******************************************************************************}
22
{ }
3-
{ SkAnimatedImageHelper: an helper class for TSkAnimatedImage }
3+
{ SkAnimatedImageHelper: an helper class for TSkAnimatedImage }
44
{ }
5-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
6-
{ Author: Carlo Barazzetta }
7-
{ Contributors: }
5+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
6+
{ Author: Carlo Barazzetta }
7+
{ Contributors: }
88
{ }
9-
{ https://github.com/EtheaDev/StyledComponents }
9+
{ https://github.com/EtheaDev/StyledComponents }
1010
{ }
1111
{******************************************************************************}
1212
{ }

Ext/StyledComponents/source/Vcl.StandardButtonStyles.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{******************************************************************************}
22
{ }
3-
{ Standard Button Family: implementation of "standard" Family }
4-
{ attributes for StyledButton similar to VCL Styled Buttons }
3+
{ Standard Button Family: implementation of "standard" Family }
4+
{ attributes for StyledButton similar to VCL Styled Buttons }
55
{ }
6-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7-
{ Author: Carlo Barazzetta }
8-
{ Contributors: Ariel Montes }
6+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7+
{ Author: Carlo Barazzetta }
8+
{ Contributors: Ariel Montes }
99
{ }
10-
{ https://github.com/EtheaDev/StyledComponents }
10+
{ https://github.com/EtheaDev/StyledComponents }
1111
{ }
1212
{******************************************************************************}
1313
{ }

Ext/StyledComponents/source/Vcl.StyledAnimatedButton.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{******************************************************************************}
22
{ }
3-
{ TStyledAnimatedButton: a StyledButton with "animated icon" }
4-
{ using a Skia TSkAnimatedImage component }
3+
{ TStyledAnimatedButton: a StyledButton with "animated icon" }
4+
{ using a Skia TSkAnimatedImage component }
55
{ }
6-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7-
{ Author: Carlo Barazzetta }
8-
{ Contributors: }
6+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7+
{ Author: Carlo Barazzetta }
8+
{ Contributors: }
99
{ }
10-
{ https://github.com/EtheaDev/StyledComponents }
10+
{ https://github.com/EtheaDev/StyledComponents }
1111
{ }
1212
{******************************************************************************}
1313
{ }

Ext/StyledComponents/source/Vcl.StyledAnimatedTaskDialog.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{******************************************************************************}
22
{ }
3-
{ StyledAnimatedTaskDialog: a Task Dialog Component with StyleButtons }
4-
{ and animations using Skia4Delphi }
3+
{ StyledAnimatedTaskDialog: a Task Dialog Component with StyleButtons }
4+
{ and animations using Skia4Delphi }
55
{ }
6-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7-
{ Author: Carlo Barazzetta }
8-
{ Contributors: }
6+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7+
{ Author: Carlo Barazzetta }
8+
{ Contributors: }
99
{ }
10-
{ https://github.com/EtheaDev/StyledComponents }
10+
{ https://github.com/EtheaDev/StyledComponents }
1111
{ }
1212
{******************************************************************************}
1313
{ }

Ext/StyledComponents/source/Vcl.StyledAnimatedToolbar.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{******************************************************************************}
22
{ }
3-
{ StyledToolbar: a Toolbar with TStyledAnimatedToolButtons inside }
4-
{ Based on TStyledToolbar and animations using Skia4Delphi }
3+
{ StyledToolbar: a Toolbar with TStyledAnimatedToolButtons inside }
4+
{ Based on TStyledToolbar and animations using Skia4Delphi }
55
{ }
6-
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7-
{ Author: Carlo Barazzetta }
8-
{ Contributors: }
6+
{ Copyright (c) 2022-2024 (Ethea S.r.l.) }
7+
{ Author: Carlo Barazzetta }
8+
{ Contributors: }
99
{ }
10-
{ https://github.com/EtheaDev/StyledComponents }
10+
{ https://github.com/EtheaDev/StyledComponents }
1111
{ }
1212
{******************************************************************************}
1313
{ }

0 commit comments

Comments
 (0)