|
@@ -41,6 +41,7 @@ type
|
|
|
procedure SetFShadowSize(AValue: integer);
|
|
procedure SetFShadowSize(AValue: integer);
|
|
|
procedure SetFTextColor(AValue: TColor);
|
|
procedure SetFTextColor(AValue: TColor);
|
|
|
procedure SetFTextFont(AValue: string);
|
|
procedure SetFTextFont(AValue: string);
|
|
|
|
|
+ procedure SetFTextQuality(AValue: TBGRAFontQuality);
|
|
|
procedure SetFTextShadowColor(AValue: TColor);
|
|
procedure SetFTextShadowColor(AValue: TColor);
|
|
|
procedure SetFTextShadowOffsetX(AValue: integer);
|
|
procedure SetFTextShadowOffsetX(AValue: integer);
|
|
|
procedure SetFTextShadowOffsetY(AValue: integer);
|
|
procedure SetFTextShadowOffsetY(AValue: integer);
|
|
@@ -79,7 +80,7 @@ type
|
|
|
property TextStyle: TFontStyles read FTextStyle write SetFTextStyle default [];
|
|
property TextStyle: TFontStyles read FTextStyle write SetFTextStyle default [];
|
|
|
property TextFont: string read FTextFont write SetFTextFont;
|
|
property TextFont: string read FTextFont write SetFTextFont;
|
|
|
property TextQuality: TBGRAFontQuality read FTextQuality
|
|
property TextQuality: TBGRAFontQuality read FTextQuality
|
|
|
- write FTextQuality default fqFineAntialiasing;
|
|
|
|
|
|
|
+ write SetFTextQuality default fqFineAntialiasing;
|
|
|
published
|
|
published
|
|
|
property Action;
|
|
property Action;
|
|
|
property Align;
|
|
property Align;
|
|
@@ -170,6 +171,13 @@ begin
|
|
|
Invalidate;
|
|
Invalidate;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|
|
+procedure TBCMaterialDesignButton.SetFTextQuality(AValue: TBGRAFontQuality);
|
|
|
|
|
+begin
|
|
|
|
|
+ if FTextQuality=AValue then Exit;
|
|
|
|
|
+ FTextQuality:=AValue;
|
|
|
|
|
+ Invalidate;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
procedure TBCMaterialDesignButton.SetFTextShadowColor(AValue: TColor);
|
|
procedure TBCMaterialDesignButton.SetFTextShadowColor(AValue: TColor);
|
|
|
begin
|
|
begin
|
|
|
if FTextShadowColor = AValue then
|
|
if FTextShadowColor = AValue then
|