Class TCastlePanel
Unit
CastleControls
Declaration
type TCastlePanel = class(TUIRectangularControl)
Description
Panel inside OpenGL context. Use as a comfortable (and with matching colors) background for other controls like buttons and such. May be used as a toolbar, together with appropriately placed TCastleButton over it.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
constructor Create(AOwner: TComponent); override; |
|
 |
destructor Destroy; override; |
|
 |
procedure Render; override; |
|
 |
function PositionInside(const Position: TVector2Single): boolean; override; |
|
 |
class function SeparatorSize: Cardinal; |
|
Properties
 |
property VerticalSeparators: TCardinalList read FVerticalSeparators; |
Separator lines drawn on panel. Useful if you want to visually separate groups of contols (like a groups of buttons when you use this panel as a toolbar).
Values are the horizontal positions of the separators (with respect to this panel Left). Width of the separator is in SeparatorSize.
|
 |
property Width: Cardinal read FWidth write SetWidth default 0; |
|
 |
property Height: Cardinal read FHeight write SetHeight default 0; |
|
Generated by PasDoc 0.13.0 on 2014-10-26 05:15:11
|