Class GUI.SeparateHoriLayout

Methods

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


Methods

GUI.SeparateHoriLayout: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.SeparateHoriLayout:getBg ()
getBg get the background image of all the container returned

Returns:

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

Returns:

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

Parameters:

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

Parameters:

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

Returns:

    space the space between the differents container
GUI.SeparateHoriLayout: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