Class GUI.SeparateHoriLayoutbis

Methods

GUI.SeparateHoriLayoutbis:init (id, bg, height, space) Constructors
GUI.SeparateHoriLayoutbis:getBg () getBg get the background image of all the container returned
GUI.SeparateHoriLayoutbis:getHeight () getHeight get the height of each container part returned
GUI.SeparateHoriLayoutbis:getNbrContainer (dimy) getNbrContainer get the nomber of container make with this layout, depending on the option
GUI.SeparateHoriLayoutbis:calculDimY2 () calculDimY calcul the dimention Y of the first container
GUI.SeparateHoriLayoutbis:calculDimY1 (dimy) calculDimY calcul the dimention Y of the second container
GUI.SeparateHoriLayoutbis:calculDimX (dimx) calculDimX calcul the dimention X of both container
GUI.SeparateHoriLayoutbis:getSpace () getSpace the space between the differents container
GUI.SeparateHoriLayoutbis:fabric (id, Containers, dimx, dimy, compt) fabric create and return containers


Methods

GUI.SeparateHoriLayoutbis:init (id, bg, height, space)
Constructors

Parameters:

  • id id of the layout
  • bg background object image
  • height height of each container part returned
  • space space separating the different container returned
GUI.SeparateHoriLayoutbis:getBg ()
getBg get the background image of all the container returned

Returns:

    bg the background image of all the container returned
GUI.SeparateHoriLayoutbis:getHeight ()
getHeight get the height of each container part returned

Returns:

    height height of each container part returne
GUI.SeparateHoriLayoutbis: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.SeparateHoriLayoutbis:calculDimY2 ()
calculDimY calcul the dimention Y of the first container
GUI.SeparateHoriLayoutbis:calculDimY1 (dimy)
calculDimY calcul the dimention Y of the second container

Parameters:

  • dimy
GUI.SeparateHoriLayoutbis:calculDimX (dimx)
calculDimX calcul the dimention X of both container

Parameters:

  • dimx
GUI.SeparateHoriLayoutbis:getSpace ()
getSpace the space between the differents container

Returns:

    space the space between the differents container
GUI.SeparateHoriLayoutbis: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
generated by LDoc 1.4.3 Last updated 2015-11-11 13:48:25