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 [2016/12/24 11:21]
37.205.112.64 [Visibility]
built_in:layouts [2018/12/07 17:22]
176.59.39.186 [Table]
Line 165: Line 165:
 <code> lay.SetBackGradientRadial( x, y, radius, colorCode1, colorCode2 );</code> <code> lay.SetBackGradientRadial( x, y, radius, colorCode1, colorCode2 );</code>
  
-Jhuh+=====Visibility===== 
 +The visibility of both layouts and child objects can be controlled using the **SetVisibility** function. Use the values **"Show"** or **"Hide"** to make objects invisible or visible and **"Gone"** to exclude the object from the layout completely (surrounding objects will re-arrange). 
 +<code> obj.SetVisibility( mode );</code> 
 + 
 +---- 
 ===== Methods ===== ===== Methods =====
 ^ 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 203: 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)