Class TWindowContainer

Unit

Declaration

type TWindowContainer = class(TCastleContainer)

Description

Warning: this symbol is deprecated: do not descend from this, instead use custom TUIState descendants

Non-abstract implementation of TCastleContainer that cooperates with TCastleWindowBase. To use it, you need to also create descendant of TCastleWindowBase, and override TCastleWindowBase.CreateContainer. That said, it is much better to use TUIState and override methods there.

Hierarchy

  • TWindowContainer

Overview

Methods

Public constructor Create(AParent: TCastleWindowBase); reintroduce;
Public procedure Invalidate; override;
Public function GLInitialized: boolean; override;
Public function Width: Integer; override;
Public function Height: Integer; override;
Public function Rect: TRectangle; override;
Public function ScaledStatusBarHeight: Cardinal; override;
Public function GetMousePosition: TVector2; override;
Public procedure SetMousePosition(const Value: TVector2); override;
Public function Dpi: Single; override;
Public function Focused: boolean; override;
Public procedure SetInternalCursor(const Value: TMouseCursor); override;
Public function GetTouches(const Index: Integer): TTouch; override;
Public function TouchesCount: Integer; override;
Public function SaveScreen(const SaveRect: TRectangle): TRGBImage; override; overload;
Public function SettingMousePositionCausesMotion: Boolean; override;

Description

Methods

Public constructor Create(AParent: TCastleWindowBase); reintroduce;
 
Public procedure Invalidate; override;
 
Public function GLInitialized: boolean; override;
 
Public function Width: Integer; override;
 
Public function Height: Integer; override;
 
Public function Rect: TRectangle; override;
 
Public function ScaledStatusBarHeight: Cardinal; override;
 
Public function GetMousePosition: TVector2; override;
 
Public procedure SetMousePosition(const Value: TVector2); override;
 
Public function Dpi: Single; override;
 
Public function Focused: boolean; override;
 
Public procedure SetInternalCursor(const Value: TMouseCursor); override;
 
Public function GetTouches(const Index: Integer): TTouch; override;
 
Public function TouchesCount: Integer; override;
 
Public function SaveScreen(const SaveRect: TRectangle): TRGBImage; override; overload;
 
Public function SettingMousePositionCausesMotion: Boolean; override;
 

Generated by PasDoc 0.16.0.