Class TCastleControlCustom
Unit
CastleControl
Declaration
type TCastleControlCustom = class(TCastleControlBase, IUIContainer)
Description
OpenGL control, with extensions for "Castle Game Engine", including Controls list for TUIControl instances.
Keeps a Controls list, so you can easily add TUIControl instances to this window (like TCastleOnScreenMenu, TCastleButton and more). We will pass events to these controls, draw them etc.
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
 |
internal const DefaultTooltipDelay = 1000; |
|
 |
internal const DefaultTooltipDistance = 10; |
|
Methods
 |
constructor Create(AOwner: TComponent); override; |
|
 |
destructor Destroy; override; |
|
 |
procedure Idle; override; |
|
 |
function Mouse3dLoaded: boolean; |
|
Properties
 |
property Focus: TUIControl read FFocus; |
Returns the control that should receive input events first, or Nil if none. More precisely, this is the first on Controls list that is enabled and under the mouse cursor. Nil is returned when there's no enabled control under the mouse cursor, or when UseControls = False .
|
 |
property TooltipX: Integer read FTooltipX; |
|
 |
property TooltipY: Integer read FTooltipY; |
|
 |
property Controls: TUIControlList read FControls; |
Controls listening for user input (keyboard / mouse) to this window.
Usually you explicitly add / delete controls to this list. Also, freeing the control that is on this list automatically removes it from this list (using the TComponent.Notification mechanism).
|
 |
property TooltipDistance: Cardinal read FTooltipDistance write FTooltipDistance
default DefaultTooltipDistance; |
|
Generated by PasDoc 0.12.1 on 2013-02-04 20:26:50
|