Unit CastleUIControls
Description
User interface (2D) basic classes.
Uses
Overview
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
Description
Functions and Procedures
function OnGLContextOpen: TGLContextEventList; |
Global callbacks called when OpenGL context (like Lazarus TCastleControl or TCastleWindow) is open/closed. Useful for things that want to be notified about OpenGL context existence, but cannot refer to a particular instance of TCastleControl or TCastleWindow.
Note that we may have many OpenGL contexts (TCastleWindow or TCastleControl) open simultaneously. They all share OpenGL resources. OnGLContextOpen is called when first OpenGL context is open, that is: no previous context was open. OnGLContextClose is called when last OpenGL context is closed, that is: no more contexts remain open. Note that this implies that they may be called many times: e.g. if you open one window, then close it, then open another window then close it.
Callbacks on OnGLContextOpen are called from first to last. Callbacks on OnGLContextClose are called in reverse order, so OnGLContextClose[0] is called last.
|
Types
TContainerObjectEvent = procedure (Container: TUIContainer) of object; |
|
TPositionRelative = (...); |
Warning: this symbol is deprecated.
Position for relative layout of one control in respect to another. Deprecated, rather use cleaner THorizontalPosition and TVerticalPosition.
Values
|
TGLContextEvent = procedure; |
|
Constants
DefaultDpi = 96; |
Default value for container's Dpi, as is usually set on desktops.
|
DefaultTooltipDelay = 1000; |
|
DefaultTooltipDistance = 10; |
|
ds2D = rs2D deprecated; |
Warning: this symbol is deprecated.
Deprecated name for rs2D.
|
ds3D = rs3D deprecated; |
Warning: this symbol is deprecated.
Deprecated name for rs3D.
|
prLeft = prLow deprecated; |
Warning: this symbol is deprecated. |
prRight = prHigh deprecated; |
Warning: this symbol is deprecated. |
prBottom = prLow deprecated; |
Warning: this symbol is deprecated. |
prTop = prHigh deprecated; |
Warning: this symbol is deprecated. |
hpLeft = CastleRectangles.hpLeft ; |
|
hpMiddle = CastleRectangles.hpMiddle; |
|
hpRight = CastleRectangles.hpRight ; |
|
vpBottom = CastleRectangles.vpBottom; |
|
vpMiddle = CastleRectangles.vpMiddle; |
|
vpTop = CastleRectangles.vpTop ; |
|
Generated by PasDoc 0.14.0.
|