Castle Game Engine: CastleUIControls

# Unit CastleUIControls
Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables
## Description User interface (2D) basic classes. ## Uses SysUtils Classes CastleKeysMouse CastleUtils CastleClassUtils CastleGenericLists ## Overview ### Classes, Interfaces, Objects and Records
Name | Description
--- | ---
Interface `IUIContainer` | Basic user interface container.
Class `TInputListener` | Base class for things that listen to user input: cameras and 2D controls.
Class `TUIControl` | Basic user interface control class.
Class `TUIControlPos` | TUIControl with position (in Left, Bottom fields).
Class `TUIControlList` |
Class `TGLContextEventList` |
### Functions and Procedures
`function OnGLContextOpen: TGLContextEventList;`
`function OnGLContextClose: TGLContextEventList;`
### Types
`TUIControlDrawStyle = (...);`
`TGLContextEvent = procedure (const Container: IUIContainer);`
## Description ### Functions and Procedures
`function OnGLContextOpen: TGLContextEventList;`
Global list of callbacks called when any OpenGL context (Lazarus TCastleControl or TCastleWindow) is opened/closed. Useful for things that want to be notified about OpenGL context existence, but cannot refer to particular instance of TCastleControl or TCastleWindow.
`function OnGLContextClose: TGLContextEventList;`
### Types
`TUIControlDrawStyle = (...);`
In what projection TUIControl.Draw will be called. See TUIControl.Draw, TUIControl.DrawStyle. ###### Values dsNone: ds2D: ds3D:
`TGLContextEvent = procedure (const Container: IUIContainer);`
Generated by PasDoc 0.13.0 on 2013-08-17 21:27:14