Class TCastleControl
Unit
Declaration
type TCastleControl = class(TCustomControl)
Description
Control rendering OpenGL on VCL form.
Hierarchy
- TObject
- TCustomControl
- TCastleControl
Overview
Methods
procedure CreateHandle; override; |
|
procedure DestroyHandle; override; |
|
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
|
procedure MouseMove(Shift: TShiftState; NewX, NewY: Integer); override; |
|
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
|
function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean; override; |
|
procedure KeyDown(var Key: Word; Shift: TShiftState); override; |
|
procedure KeyPress(var Key: Char); override; |
|
procedure KeyUp(var Key: Word; Shift: TShiftState); override; |
|
procedure Resize; override; |
|
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
procedure Paint; override; |
|
procedure PreviewFormKeyDown(var Key: Word; Shift: TShiftState); |
|
procedure PreviewFormKeyUp(var Key: Word; Shift: TShiftState); |
Properties
property Container: TCastleControlContainer read GetContainer; |
|
property Align; |
|
property Anchors; |
|
property OnClick; |
|
property OnDblClick; |
|
property OnMouseDown; |
|
property OnMouseUp; |
|
property OnMouseMove; |
|
property OnMouseWheel; |
Description
Methods
procedure CreateHandle; override; |
|
This item has no description. |
procedure DestroyHandle; override; |
|
This item has no description. |
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
|
// TODO procedure KeyDown(var Key: Word; Shift: TShiftState); override; procedure KeyUp(var Key: Word; Shift: TShiftState); override; procedure KeyPress(var Key: Char); override; |
procedure MouseMove(Shift: TShiftState; NewX, NewY: Integer); override; |
|
This item has no description. |
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
|
This item has no description. |
function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean; override; |
|
This item has no description. |
procedure KeyDown(var Key: Word; Shift: TShiftState); override; |
|
This item has no description. |
procedure KeyPress(var Key: Char); override; |
|
This item has no description. |
procedure KeyUp(var Key: Word; Shift: TShiftState); override; |
|
This item has no description. |
procedure Resize; override; |
|
This item has no description. |
constructor Create(AOwner: TComponent); override; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
procedure Paint; override; |
|
This item has no description. |
procedure PreviewFormKeyDown(var Key: Word; Shift: TShiftState); |
|
To handle some special keys, set on form KeyPreview and call these methods from VCL form's OnKeyDown / OnKeyUp. |
procedure PreviewFormKeyUp(var Key: Word; Shift: TShiftState); |
|
This item has no description. |
Properties
property Container: TCastleControlContainer read GetContainer; |
|
Access Castle Game Engine container properties and events, not specific to VCL. |
property Align; |
|
This item has no description. |
property Anchors; |
|
This item has no description. |
property OnClick; |
|
This item has no description. |
property OnDblClick; |
|
This item has no description. |
property OnMouseDown; |
|
This item has no description. |
property OnMouseUp; |
|
This item has no description. |
property OnMouseMove; |
|
This item has no description. |
property OnMouseWheel; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.