Class TCastleProgressBar
Unit
Declaration
type TCastleProgressBar = class(TCastleUserInterfaceFont)
Description
Progress bar user interface. This is usually used through the CastleWindowProgress and CastleProgress features. There is no need to directly create and access the TCastleProgressBar instance in this case.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TInputListener
- TCastleUserInterface
- TCastleUserInterfaceFont
- TCastleProgressBar
Overview
Methods
![]() |
procedure PreferredSize(var PreferredWidth, PreferredHeight: Single); override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure Render; override; |
Properties
![]() |
property HorizontalAnchorSelf default hpMiddle; |
![]() |
property HorizontalAnchorParent default hpMiddle; |
![]() |
property VerticalAnchorSelf default vpMiddle; |
![]() |
property VerticalAnchorParent default vpMiddle; |
![]() |
property Progress: TProgress read FProgress write FProgress; |
![]() |
property Background: TCastleImage read FBackground write SetBackground; |
![]() |
property YPosition: Single read FYPosition write FYPosition
default TProgressUserInterface.DefaultBarYPosition; |
Description
Methods
![]() |
procedure PreferredSize(var PreferredWidth, PreferredHeight: Single); override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure Render; override; |
Properties
![]() |
property HorizontalAnchorSelf default hpMiddle; |
![]() |
property HorizontalAnchorParent default hpMiddle; |
![]() |
property VerticalAnchorSelf default vpMiddle; |
![]() |
property VerticalAnchorParent default vpMiddle; |
![]() |
property Progress: TProgress read FProgress write FProgress; |
|
Progress that rules the position and title displayed. | |
![]() |
property Background: TCastleImage read FBackground write SetBackground; |
|
Background drawn under the progress bar. When it's assigned, it's always drawn scaled to cover the whole screen (container). It's owner by this component (it will be automatically freed when necessary). | |
![]() |
property YPosition: Single read FYPosition write FYPosition
default TProgressUserInterface.DefaultBarYPosition; |
|
Vertical positon of the progress bar. 0 means the middle of progress bar is at the bottom of the container, 1 means at the top. 0.5 indicates the middle, and it's the default. Note that extreme values (0 or 1) mean that bottom or top half of the progress bar doesn't fit on the screen, as this property positions the middle of the progress bar. | |
Generated by PasDoc 0.16.0.

