Class TCastleProgressBar
Unit
Declaration
type TCastleProgressBar = class(TCastleUserInterfaceFont)
Description
Warning: this symbol is deprecated: use own UI to display progress bar (e.g. one rectangle using WidthFraction within a bigger rectangle)
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
- 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). |
Generated by PasDoc 0.16.0.