Class TMenuFloatSlider

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TMenuFloatSlider = class(TMenuSlider)

Description

no description available, TMenuSlider description follows
no description available, TMenuAccessory description follows

Attachment to a specific menu item of TCastleOnScreenMenu, for example may store a value associated with given menu option, and allow to change it by a slider.

Hierarchy

Overview

Methods

Public constructor Create(const ABeginRange, AEndRange, AValue: Single);
Public procedure Draw(const Rectangle: TRectangle); override;
Public function KeyDown(Key: TKey; C: char; ParentMenu: TCastleOnScreenMenu): boolean; override;
Public function MouseDown(const Event: TInputPressRelease; const Rectangle: TRectangle; ParentMenu: TCastleOnScreenMenu): boolean; override;
Public procedure Motion(const Event: TInputMotion; const Rectangle: TRectangle; ParentMenu: TCastleOnScreenMenu); override;
Public function ValueToStr(const AValue: Single): string; virtual;

Properties

Public property BeginRange: Single read FBeginRange;
Public property EndRange: Single read FEndRange;
Public property Value: Single read FValue write FValue;

Description

Methods

Public constructor Create(const ABeginRange, AEndRange, AValue: Single);
 
Public procedure Draw(const Rectangle: TRectangle); override;
 
Public function KeyDown(Key: TKey; C: char; ParentMenu: TCastleOnScreenMenu): boolean; override;
 
Public function MouseDown(const Event: TInputPressRelease; const Rectangle: TRectangle; ParentMenu: TCastleOnScreenMenu): boolean; override;
 
Public procedure Motion(const Event: TInputMotion; const Rectangle: TRectangle; ParentMenu: TCastleOnScreenMenu); override;
 
Public function ValueToStr(const AValue: Single): string; virtual;
 

Properties

Public property BeginRange: Single read FBeginRange;
 
Public property EndRange: Single read FEndRange;
 
Public property Value: Single read FValue write FValue;

Current value. When setting this property, always make sure that it's within the allowed range.


Generated by PasDoc 0.13.0 on 2014-10-26 05:15:13