Class TDGEFMXHelpBar
Unit
Declaration
type TDGEFMXHelpBar = class(TFMXObject)
Description
Help bar component
Attributes
ComponentPlatformsAttribute
(pfidWindows or pfidOSX or pfidLinux or pfidAndroid or pfidiOS)
Hierarchy
- TFMXObject
- TDGEFMXHelpBar
Overview
Fields
![]() |
lGlobal: TLayout; |
![]() |
lHelpBar: TLayout; |
![]() |
lContent: TLayout; |
![]() |
rBackground: TRectangle; |
![]() |
imgImage: TImage; |
Methods
![]() |
procedure GamepadLost(const GamepadID: integer); |
![]() |
procedure GamepadDetected(const GamepadID: integer); |
![]() |
function GetNewX(const WithRightMargin: boolean = true): single; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
procedure AfterConstruction; override; |
![]() |
destructor Destroy; override; |
![]() |
procedure RefreshHelpBar; |
![]() |
procedure OpenHelpBar; |
![]() |
procedure CloseHelpBar; |
![]() |
procedure AddItem(const SVGKeyIndex, SVGGamepadIndex: integer); overload; |
![]() |
procedure AddItem(const SVGKeyIndex, SVGGamepadIndex: integer; const Text: string); overload; |
![]() |
procedure Clear; |
Properties
![]() |
property GamepadMode: boolean read FGamepadMode write SetGamepadMode; |
![]() |
property TextSettings: TTextSettings read FTextSettings
write SetTextSettings; |
![]() |
property IconMarginRight: single read FIconMarginRight
write SetIconMarginRight; |
![]() |
property IconKeyBitmapListIndex: word read FIconKeyBitmapListIndex
write SetIconKeyBitmapListIndex default 0; |
![]() |
property IconGamepadBitmapListIndex: word read FIconGamepadBitmapListIndex
write SetIconGamepadBitmapListIndex default 0; |
![]() |
property TextMarginRight: single read FTextMarginRight
write SetTextMarginRight; |
![]() |
property BackgroundFill: TBrush read FBackgroundFill
write SetBackgroundFill; |
![]() |
property BackgroundOpacity: single read FBackgroundOpacity
write SetBackgroundOpacity; |
![]() |
property BackgroundXRadius: single read FBackgroundXRadius
write SetBackgroundXRadius; |
![]() |
property BackgroundYRadius: single read FBackgroundYRadius
write SetBackgroundYRadius; |
![]() |
property BackgroundPadding: TBounds read FBackgroundPadding
write SetBackgroundPadding; |
![]() |
property BackgroundStroke: TStrokeBrush read FBackgroundStroke
write SetBackgroundStroke; |
![]() |
property HorzAlign: TDGEFMXHelpBarHorzAlign read FHorzAlign
write SetHorzAlign default TDGEFMXHelpBarHorzAlign.Center; |
![]() |
property VertAlign: TDGEFMXHelpBarVertAlign read FVertAlign
write SetVertAlign default TDGEFMXHelpBarVertAlign.Bottom; |
![]() |
property Margins: TBounds read FMargins write SetMargins; |
![]() |
property Height: single read FHeight write SetHeight; |
Description
Fields
![]() |
lGlobal: TLayout; |
![]() |
lHelpBar: TLayout; |
![]() |
lContent: TLayout; |
![]() |
rBackground: TRectangle; |
![]() |
imgImage: TImage; |
Methods
![]() |
procedure GamepadLost(const GamepadID: integer); |
![]() |
procedure GamepadDetected(const GamepadID: integer); |
![]() |
function GetNewX(const WithRightMargin: boolean = true): single; |
![]() |
constructor Create(AOwner: TComponent); override; |
|
![]() |
procedure AfterConstruction; override; |
|
![]() |
destructor Destroy; override; |
|
![]() |
procedure RefreshHelpBar; |
|
![]() |
procedure OpenHelpBar; |
Clear the help bar content and show it |
![]() |
procedure CloseHelpBar; |
Hide the help bar |
![]() |
procedure AddItem(const SVGKeyIndex, SVGGamepadIndex: integer); overload; |
Add an image to the Help Bar |
![]() |
procedure AddItem(const SVGKeyIndex, SVGGamepadIndex: integer; const Text: string); overload; |
Add an image and text to the Help Bar |
![]() |
procedure Clear; |
Empty the Help bar content layout |
Properties
![]() |
property GamepadMode: boolean read FGamepadMode write SetGamepadMode; |
|
![]() |
property TextSettings: TTextSettings read FTextSettings
write SetTextSettings; |
|
![]() |
property IconMarginRight: single read FIconMarginRight
write SetIconMarginRight; |
Icons properties <summary> </summary> |
![]() |
property IconKeyBitmapListIndex: word read FIconKeyBitmapListIndex
write SetIconKeyBitmapListIndex default 0; |
|
![]() |
property IconGamepadBitmapListIndex: word read FIconGamepadBitmapListIndex
write SetIconGamepadBitmapListIndex default 0; |
|
![]() |
property TextMarginRight: single read FTextMarginRight
write SetTextMarginRight; |
Texts properties <summary> </summary> |
![]() |
property BackgroundFill: TBrush read FBackgroundFill
write SetBackgroundFill; |
Background properties <summary> </summary> |
![]() |
property BackgroundOpacity: single read FBackgroundOpacity
write SetBackgroundOpacity; |
|
![]() |
property BackgroundXRadius: single read FBackgroundXRadius
write SetBackgroundXRadius; |
|
![]() |
property BackgroundYRadius: single read FBackgroundYRadius
write SetBackgroundYRadius; |
|
![]() |
property BackgroundPadding: TBounds read FBackgroundPadding
write SetBackgroundPadding; |
|
![]() |
property BackgroundStroke: TStrokeBrush read FBackgroundStroke
write SetBackgroundStroke; |
Background stroke properties <summary> </summary> |
![]() |
property HorzAlign: TDGEFMXHelpBarHorzAlign read FHorzAlign
write SetHorzAlign default TDGEFMXHelpBarHorzAlign.Center; |
Help bar properties <summary> </summary> |
![]() |
property VertAlign: TDGEFMXHelpBarVertAlign read FVertAlign
write SetVertAlign default TDGEFMXHelpBarVertAlign.Bottom; |
|
![]() |
property Margins: TBounds read FMargins write SetMargins; |
|
![]() |
property Height: single read FHeight write SetHeight; |
|
Generated by PasDoc 0.16.0.