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 TCastleWindow. To use it, you need to also create descendant of TCastleWindow, and override TCastleWindow.CreateContainer. That said, it is much better to use TUIState and override methods there.

Hierarchy

Overview

Methods

Public constructor Create(AParent: TCastleWindow); 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; overload; override;
Public function SettingMousePositionCausesMotion: Boolean; override;

Description

Methods

Public constructor Create(AParent: TCastleWindow); 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; overload; override;
 
Public function SettingMousePositionCausesMotion: Boolean; override;
 

Generated by PasDoc 0.16.0.