Class GUI.SeparateVertiLayoutbis
Methods
GUI.SeparateVertiLayoutbis:init (id, bg, width, space) | Constructors |
GUI.SeparateVertiLayoutbis:getWidth () | getWidth get the width of each container part returned |
GUI.SeparateVertiLayoutbis:getBg () | getBg get the background image of all the container returned |
GUI.SeparateVertiLayoutbis:getNbrContainer (dimy) | getNbrContainer get the nomber of container make with this layout, depending on the option |
GUI.SeparateVertiLayoutbis:calculDimX2 () | calculDimX2 calcul the dimention X of the second container |
GUI.SeparateVertiLayoutbis:calculDimX1 (dimx) | calculDimX1 calcul the dimention X of the first container |
GUI.SeparateVertiLayoutbis:calculDimY (dimy) | calculDimY calcul the dimention Y of both container |
GUI.SeparateVertiLayoutbis:getSpace () | getSpace the space between the differents container |
GUI.SeparateVertiLayoutbis:fabric (id, Containers, dimx, dimy, compt) | fabric create and return containers |
Methods
- GUI.SeparateVertiLayoutbis:init (id, bg, width, space)
-
Constructors
Parameters:
- id id of the layout
- bg background object image
- width width of each container part returned
- space space separating the different container returned
- GUI.SeparateVertiLayoutbis:getWidth ()
-
getWidth
get the width of each container part returned
Returns:
-
width width of each container part returne
- GUI.SeparateVertiLayoutbis:getBg ()
-
getBg
get the background image of all the container returned
Returns:
-
bg the background image of all the container returned
- GUI.SeparateVertiLayoutbis:getNbrContainer (dimy)
-
getNbrContainer
get the nomber of container make with this layout, depending on the option
Parameters:
- dimy height of the parent container
Returns:
-
the nomber of container make with this layout, depending on the option
- GUI.SeparateVertiLayoutbis:calculDimX2 ()
- calculDimX2 calcul the dimention X of the second container
- GUI.SeparateVertiLayoutbis:calculDimX1 (dimx)
-
calculDimX1
calcul the dimention X of the first container
Parameters:
- dimx
- GUI.SeparateVertiLayoutbis:calculDimY (dimy)
-
calculDimY
calcul the dimention Y of both container
Parameters:
- dimy
- GUI.SeparateVertiLayoutbis:getSpace ()
-
getSpace
the space between the differents container
Returns:
-
space the space between the differents container
- GUI.SeparateVertiLayoutbis:fabric (id, Containers, dimx, dimy, compt)
-
fabric
create and return containers
Parameters:
- id id player
- Containers not used ?
- dimx dimension x
- dimy dimension y
- compt idtext
Returns:
-
create and return containers