CAST II Game Engine |
||||||||
![]() |
MAIN | FEATURES | SCREENSHOTS | FORUMS | MANUAL | DOWNLOADS | CONTACTS | |
(C) 2006 George "Mirage" Bakhtadze. www.casteng.com
The source code may be used under either MPL 1.1 or LGPL 2.1 license. See included license.txt file
Unit contains basic GUI classes and constants
| Name | Description |
|---|---|
Class TBaseGUIItem | |
Class TGUIBounds | |
Class TGUIItem | |
Class TGUIRootItem | |
Class TTextGUIItem | |
Class TUVGUIItem |
TConstraints = record MinWidth, MinHeight, MaxWidth, MaxHeight: Single; end; |
TGUIStateDelegate = function(Caller: TGUIItem): Boolean of object; |
TConstraints = record MinWidth, MinHeight, MaxWidth, MaxHeight: Single; end; |
TGUIStateDelegate = function(Caller: TGUIItem): Boolean of object; |
TAlign | ||
alNone | ||
alTop | ||
alLeft | ||
alRight | ||
alBottom | ||
alClient | ||
alAbsolute | ||
THOrigin | ||
hoLeft | ||
hoCenter | ||
hoRight | ||
TVOrigin | ||
voTop | ||
voCenter | ||
voBottom | ||
aBottom = 3; |
aLeft = 0; |
AlignEnum = 'None\&Top\&Left\&Right\&Bottom\&Client'; |
aRight = 2; |
aTop = 1; |
BoundValuesEnum = 'Left\&Top\&Width\&Height'; |
frDisabled = 4; |
frFocused = 3; |
frHover = 1; |
frNormal = 0; |
frPushed = 2; |
HOriginEnum = 'Left\&Center\&Right'; |
miDown = -4; |
miLeft = -1; |
miRight = -2; |
miUp = -3; |
pvHeight = 3; |
pvLeft = 0; |
pvTop = 1; |
pvWidth = 2; |
VOriginEnum = 'Top\&Center\&Bottom'; |
aBottom = 3; |
aLeft = 0; |
Anchors
AlignEnum = 'None\&Top\&Left\&Right\&Bottom\&Client'; |
Align
aRight = 2; |
aTop = 1; |
BoundValuesEnum = 'Left\&Top\&Width\&Height'; |
frDisabled = 4; |
frFocused = 3; |
frHover = 1; |
frNormal = 0; |
Frames
frPushed = 2; |
HOriginEnum = 'Left\&Center\&Right'; |
Origins
miDown = -4; |
miLeft = -1; |
GetItemAt results if missed any item
miRight = -2; |
miUp = -3; |
pvHeight = 3; |
pvLeft = 0; |
Bound values
pvTop = 1; |
pvWidth = 2; |
VOriginEnum = 'Top\&Center\&Bottom'; |
AggregatedClass: CItem; |
AggregatedClass: CItem; |
|
Last modified: Jan 6, 2010 |