User Tools

Site Tools


built_in:layouts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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                                                         ^ Description                                                                                                                                                                                                                                        ^ ^ Method                                                         ^ Description                                                                                                                                                                                                                                        ^
 | 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,callback )                                | known types: <code>SlideFromLeft ScaleFromLeft SlideToLeft ScaleToLeft SlideFromRight ScaleFromRight SlideToRight ScaleToRight SlideFromTop ScaleFromTop SlideToTop ScaleToTop SlideFromBottom ScaleFromBottom SlideToBottom ScaleToBottom</code>  |+| Layout.Animate( type, callback, time )                                | known types: SlideFromLeft,SlideFromRight,SlideFromTop,SlideFromBottom,SlideToLeft,SlideToRight,SlideToTop,SlideToBottom,ScaleFromLeft, ScaleFromRight,ScaleFromTop, ScaleFromBottom, ScaleToLeft, ScaleToRight, ScaleToTop,ScaleToBottom,FadeIn,FadeOut,Flip|
 | Layout.ChildToFront( child )                                                                                                                                                                                                                                                                                      | | Layout.ChildToFront( child )                                                                                                                                                                                                                                                                                      |
 | Layout.Destroy()                                               | This function Destroys a Layout forever.                                                                                                                                                                                                           | | Layout.Destroy()                                               | This function Destroys a Layout forever.                                                                                                                                                                                                           |
Line 185: Line 185:
 | Layout.GetType()                                               | This returns the string "Layout"                                                                                                                                                      | | Layout.GetType()                                               | This returns the string "Layout"                                                                                                                                                      |
 | Layout.GetVisibility()                                         | This returns a Layout's visibility mode. “Hide”, “Show” or “Gone”                                                                                                                                                                                  | | Layout.GetVisibility()                                         | This returns a Layout's visibility mode. “Hide”, “Show” or “Gone”                                                                                                                                                                                  |
-| Layout.GetWidth()                                              | This returns the Width of an Layout.                                                                                                                                                                                                               +| Layout.GetWidth()                                              | This returns the Width of an Layout.                                                                                                        | 
-| Layout.Release()                                                                                                                                                                                                                                                                                                  |+| Layout.SetOnTouch( callback )           |Does not work in 'TouchThrough' mode               | 
 +| Layout.SetOnTouchDown( callback )       |only OnTouchDown works when in 'TouchThrough' mode | 
 +| Layout.SetOnTouchMove( callback )       |Does not work in 'TouchThrough' mode               | 
 +| Layout.SetOnTouchUp( callback )         |Does not work in 'TouchThrough' mode               
 +| 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:
 <code>app.CreateLayout("Linear", "Horizontal,FillXY,TouchThrough");</code> <code>app.CreateLayout("Linear", "Horizontal,FillXY,TouchThrough");</code>
  
-|Vertical| | +| Vertical               
-|Horizontal| | +| Horizontal             
-|VCenter| | +| VCenter                
-|TopCenter|Default| +| TopCenter     | Default  
-|FillX| | +| FillX                  
-|FillY| | +| FillY                  
-|FillXY| | +| FillXY                 
-|Right| | +| Right                  
-|Left| | +| Left                   
-|Bottom| | +| Bottom                 
-|TouchThrough| |+| TouchThrough  ?        |
built_in/layouts.txt · Last modified: 2018/12/08 02:02 (external edit)