Class GUI.LinearVertiLayout

Methods

GUI.LinearVertiLayout:init (id, bg, div, space) Constructors
GUI.LinearVertiLayout:getDiv () getDiv get the number of vertical division the parent container will be separate
GUI.LinearVertiLayout:getBg () getBg get the background image of all the container returned
GUI.LinearVertiLayout:getNbrContainer (dimy) getNbrContainer get the nomber of container make with this layout, depending on the option
GUI.LinearVertiLayout:calculDimY (dimy) calculDimY calcul the dimention Y of the container
GUI.LinearVertiLayout:calculDimX (dimx) calculDimX calcul the dimention X of the container
GUI.LinearVertiLayout:getSpace () getSpace the space between the differents container
GUI.LinearVertiLayout:fabric (id, Containers, dimx, dimy, compt) fabric create and return containers


Methods

GUI.LinearVertiLayout:init (id, bg, div, space)
Constructors

Parameters:

  • id id of the layout
  • bg background object image
  • div number of vertical division the parent container will be separate
  • space space separating the different container returned
GUI.LinearVertiLayout:getDiv ()
getDiv get the number of vertical division the parent container will be separate

Returns:

    div the number of vertical division the parent container will be separate
GUI.LinearVertiLayout:getBg ()
getBg get the background image of all the container returned

Returns:

    bg the background image of all the container returned
GUI.LinearVertiLayout: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.LinearVertiLayout:calculDimY (dimy)
calculDimY calcul the dimention Y of the container

Parameters:

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

Parameters:

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

Returns:

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