This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
built_in:layouts [2015/11/22 18:54] 193.151.102.243 [Description] |
built_in:layouts [2018/12/07 17:22] 176.59.39.186 [Table] |
||
---|---|---|---|
Line 174: | Line 174: | ||
^ Method | ^ Method | ||
| Layout.AddChild( child,order ) | child is the object to add to the Layout. Order is the rang option to make an object behind an other Object. | | Layout.AddChild( child,order ) | child is the object to add to the Layout. Order is the rang option to make an object behind an other Object. | ||
- | | Layout.Animate( type, | + | | Layout.Animate( type, callback, time ) | known types: SlideFromLeft,SlideFromRight,SlideFromTop,SlideFromBottom, |
| Layout.ChildToFront( child ) | | Layout.ChildToFront( child ) | ||
| Layout.Destroy() | | Layout.Destroy() | ||
Line 185: | Line 185: | ||
| Layout.GetType() | | Layout.GetType() | ||
| Layout.GetVisibility() | | Layout.GetVisibility() | ||
- | | Layout.GetWidth() | + | | Layout.GetWidth() |
- | | Layout.Release() | + | | Layout.SetOnTouch( callback ) |Does not work in ' |
+ | | Layout.SetOnTouchDown( callback ) |only OnTouchDown works when in ' | ||
+ | | Layout.SetOnTouchMove( callback ) |Does not work in ' | ||
+ | | Layout.SetOnTouchUp( callback ) |Does not work in ' | ||
+ | | Layout.Release() | ||
| Layout.RemoveChild( child ) | This removes a Child of an Layout, this Child can be added again with Layout.AddChild( child ). | | | Layout.RemoveChild( child ) | This removes a Child of an Layout, this Child can be added again with Layout.AddChild( child ). | | ||
| Layout.SetBackColor( colorCode ) | This sets the Background Color of an Layout. | | Layout.SetBackColor( colorCode ) | This sets the Background Color of an Layout. | ||
Line 204: | Line 208: | ||
< | < | ||
- | |Vertical| | | + | | Vertical |
- | |Horizontal| | | + | | Horizontal |
- | |VCenter| | | + | | VCenter |
- | |TopCenter|Default| | + | | TopCenter |
- | |FillX| | | + | | FillX |
- | |FillY| | | + | | FillY |
- | |FillXY| | | + | | FillXY |
- | |Right| | | + | | Right |
- | |Left| | | + | | Left | | |
- | |Bottom| | | + | | Bottom |
- | |TouchThrough| | | + | | TouchThrough |