Class TCastleAbstractSlider
Unit
CastleControls
Declaration
type TCastleAbstractSlider = class(TUIControlFont)
Description
An abstract slider user interface. Usually you want to use of its descendants, like TCastleFloatSlider or TCastleIntegerSlider.
Hierarchy
Overview
Fields
Methods
 |
constructor Create(AOwner: TComponent); override; |
 |
procedure Render; override; |
 |
function Rect: TRectangle; override; |
 |
procedure Update(const SecondsPassed: Single; var HandleInput: boolean); override; |
Properties
 |
property Width: Cardinal read FWidth write SetWidth default DefaultWidth; |
 |
property Height: Cardinal read FHeight write SetHeight default DefaultHeight; |
 |
property SmallFont default true; |
 |
property DisplayValue: boolean
read FDisplayValue write FDisplayValue default true; |
 |
property Caption: string read FCaption write SetCaption; |
 |
property OnChange: TNotifyEvent read FOnChange write FOnChange; |
Description
Fields
 |
internal const DefaultWidth = 200; |
|
 |
internal const DefaultHeight = 20; |
|
Methods
 |
constructor Create(AOwner: TComponent); override; |
|
 |
procedure Render; override; |
|
 |
procedure Update(const SecondsPassed: Single; var HandleInput: boolean); override; |
|
Properties
 |
property Width: Cardinal read FWidth write SetWidth default DefaultWidth; |
|
 |
property Height: Cardinal read FHeight write SetHeight default DefaultHeight; |
|
 |
property SmallFont default true; |
|
 |
property Caption: string read FCaption write SetCaption; |
Displayed on the slider. Right before value, if DisplayValue.
|
 |
property OnChange: TNotifyEvent read FOnChange write FOnChange; |
|
Generated by PasDoc 0.15.0.
|