Class TCastleControl

Unit

Declaration

type TCastleControl = class(TCustomControl)

Description

Control rendering OpenGL on VCL form.

Hierarchy

  • TObject
  • TCustomControl
  • TCastleControl

Overview

Methods

Protected procedure CreateHandle; override;
Protected procedure DestroyHandle; override;
Protected procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;
Protected procedure MouseMove(Shift: TShiftState; NewX, NewY: Integer); override;
Protected procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;
Protected function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean; override;
Protected procedure KeyDown(var Key: Word; Shift: TShiftState); override;
Protected procedure KeyPress(var Key: Char); override;
Protected procedure KeyUp(var Key: Word; Shift: TShiftState); override;
Protected procedure Resize; override;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure Paint; override;
Public procedure PreviewFormKeyDown(var Key: Word; Shift: TShiftState);
Public procedure PreviewFormKeyUp(var Key: Word; Shift: TShiftState);

Properties

Published property Container: TCastleControlContainer read GetContainer;
Published property Align;
Published property Anchors;
Published property OnClick;
Published property OnDblClick;
Published property OnMouseDown;
Published property OnMouseUp;
Published property OnMouseMove;
Published property OnMouseWheel;

Description

Methods

Protected procedure CreateHandle; override;

This item has no description.

Protected procedure DestroyHandle; override;

This item has no description.

Protected 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;

Protected procedure MouseMove(Shift: TShiftState; NewX, NewY: Integer); override;

This item has no description.

Protected procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;

This item has no description.

Protected function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean; override;

This item has no description.

Protected procedure KeyDown(var Key: Word; Shift: TShiftState); override;

This item has no description.

Protected procedure KeyPress(var Key: Char); override;

This item has no description.

Protected procedure KeyUp(var Key: Word; Shift: TShiftState); override;

This item has no description.

Protected procedure Resize; override;

This item has no description.

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure Paint; override;

This item has no description.

Public 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.

Public procedure PreviewFormKeyUp(var Key: Word; Shift: TShiftState);

This item has no description.

Properties

Published property Container: TCastleControlContainer read GetContainer;

Access Castle Game Engine container properties and events, not specific to VCL.

Published property Align;

This item has no description.

Published property Anchors;

This item has no description.

Published property OnClick;

This item has no description.

Published property OnDblClick;

This item has no description.

Published property OnMouseDown;

This item has no description.

Published property OnMouseUp;

This item has no description.

Published property OnMouseMove;

This item has no description.

Published property OnMouseWheel;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.