Class GUI.GridLayout

Methods

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


Methods

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

Parameters:

  • id id of the layout
  • bg background object image
  • div number of vertical division the parent container will be separate
  • height height of each container part returned
  • space space separating the different container returned
GUI.GridLayout: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.GridLayout:getBg ()
getBg get the background image of all the container returned

Returns:

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

Returns:

    height height of each container part returned
GUI.GridLayout:getAjustementSpace (dimy)
getAjustementSpace get the right position depending the space between the differents container

Parameters:

  • dimy height of the parent container

Returns:

    the right position depending the space between the differents container
GUI.GridLayout: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.GridLayout:calculDimY ()
calculDimY calcul the dimention Y of the container
GUI.GridLayout:calculDimX (dimx)
calculDimX calcul the dimention X of the container

Parameters:

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

Returns:

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