Lugre::cRenderGroup2D_L Class Reference

Inheritance diagram for Lugre::cRenderGroup2D_L:

Inheritance graph
[legend]
Collaboration diagram for Lugre::cRenderGroup2D_L:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void RegisterMethods (lua_State *L)
 called by Register(), registers object-methods (see cLuaBind constructor for examples)
virtual const char * GetLuaTypeName ()

Static Public Member Functions

static int CreateRenderGroup2D (lua_State *L)
static int Destroy (lua_State *L)
 for lua : void Destroy ()
static int SetParent (lua_State *L)
 for lua : void SetParent (pRenderGroup2DOrNil)
static int BringToFront (lua_State *L)
 for lua : void BringToFront ()
static int SendToBack (lua_State *L)
 for lua : void SendToBack ()
static int InsertBefore (lua_State *L)
 for lua : void InsertBefore (pRenderGroup2D)
static int InsertAfter (lua_State *L)
 for lua : void InsertAfter (pRenderGroup2D)
static int GetHandle (lua_State *L)
 for lua : handle GetHandle ()
static int GetChildListHandles (lua_State *L)
static int GetChildListRevision (lua_State *L)
static int GetDerivedPos (lua_State *L)
 for lua : x,y,z GetDerivedPos ()
static int GetPos (lua_State *L)
 for lua : x,y,z GetPos ()
static int SetPos (lua_State *L)
 for lua : void SetPos (x,y,z)
static int GetVisible (lua_State *L)
 for lua : bool GetVisible ()
static int SetVisible (lua_State *L)
 for lua : void SetVisible (bVisible)
static int SetClip (lua_State *L)
static int SetForcedMinSize (lua_State *L)
 for lua : void SetForcedMinSize (w,h)
static int GetEffectiveClipAbs (lua_State *L)
static int GetEffectiveClipRel (lua_State *L)
static int ClearClip (lua_State *L)
 for lua : void ClearClip ()
static int GetRelBounds (lua_State *L)
static int CalcAbsBounds (lua_State *L)


Detailed Description

Definition at line 18 of file lugre_spritelist_L.cpp.


Member Function Documentation

virtual void Lugre::cRenderGroup2D_L::RegisterMethods ( lua_State *  L  )  [inline, virtual]

static int Lugre::cRenderGroup2D_L::CreateRenderGroup2D ( lua_State *  L  )  [inline, static]

creates a new group, needs to be attached to a chain connected to a root group of a RenderQueue2D to be visible, see CreateRenderManager2D() for lua : renderGroup2D CreateRenderGroup2D (pParentGroup2d=nil)

Definition at line 54 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), Lugre::cLuaBind< _T >::CreateUData(), PROFILE, and Lugre::cRenderGroup2D::SetParent().

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::Destroy ( lua_State *  L  )  [inline, static]

for lua : void Destroy ()

Definition at line 64 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::SetParent ( lua_State *  L  )  [inline, static]

for lua : void SetParent (pRenderGroup2DOrNil)

Definition at line 70 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::BringToFront ( lua_State *  L  )  [inline, static]

for lua : void BringToFront ()

Definition at line 77 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::SendToBack ( lua_State *  L  )  [inline, static]

for lua : void SendToBack ()

Definition at line 80 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::InsertBefore ( lua_State *  L  )  [inline, static]

for lua : void InsertBefore (pRenderGroup2D)

Definition at line 83 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::InsertAfter ( lua_State *  L  )  [inline, static]

for lua : void InsertAfter (pRenderGroup2D)

Definition at line 86 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::GetHandle ( lua_State *  L  )  [inline, static]

for lua : handle GetHandle ()

Definition at line 90 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::GetChildListHandles ( lua_State *  L  )  [inline, static]

returns a table with all the childs in draw order, index starting from 1 for lua : table GetChildListHandles ()

Definition at line 94 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::GetChildListRevision ( lua_State *  L  )  [inline, static]

incremented each time a change is done to the childlist, for keeping (lua) copies in sync (_L.cpp:GetChildListHandles) for lua : int GetChildListRevision ()

Definition at line 107 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::GetDerivedPos ( lua_State *  L  )  [inline, static]

for lua : x,y,z GetDerivedPos ()

Definition at line 110 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::GetPos ( lua_State *  L  )  [inline, static]

for lua : x,y,z GetPos ()

Definition at line 119 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::SetPos ( lua_State *  L  )  [inline, static]

for lua : void SetPos (x,y,z)

Definition at line 128 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::GetVisible ( lua_State *  L  )  [inline, static]

for lua : bool GetVisible ()

Definition at line 134 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::SetVisible ( lua_State *  L  )  [inline, static]

for lua : void SetVisible (bVisible)

Definition at line 140 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::SetClip ( lua_State *  L  )  [inline, static]

for lua : void SetClip (l,t,r,b) relative to own position

Definition at line 148 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::SetForcedMinSize ( lua_State *  L  )  [inline, static]

for lua : void SetForcedMinSize (w,h)

Definition at line 159 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::GetEffectiveClipAbs ( lua_State *  L  )  [inline, static]

returns the effective (intersected with parent : might be smaller than the rect that was set) cliprect in absolute coords for lua : l,t,r,b GetEffectiveClipAbs ()

Definition at line 167 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::GetEffectiveClipRel ( lua_State *  L  )  [inline, static]

returns the effective (intersected with parent : might be smaller than the rect that was set) cliprect in relative coords for lua : l,t,r,b GetEffectiveClipRel ()

Definition at line 180 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::ClearClip ( lua_State *  L  )  [inline, static]

for lua : void ClearClip ()

Definition at line 192 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::GetRelBounds ( lua_State *  L  )  [inline, static]

in relativ coords for lua : l,t,r,b GetRelBounds ()

Definition at line 200 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cRenderGroup2D_L::CalcAbsBounds ( lua_State *  L  )  [inline, static]

in absolute coords, not clipped for lua : l,t,r,b CalcAbsBounds ()

Definition at line 211 of file lugre_spritelist_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

virtual const char* Lugre::cRenderGroup2D_L::GetLuaTypeName (  )  [inline, virtual]

Implements Lugre::cLuaBind< _T >.

Definition at line 222 of file lugre_spritelist_L.cpp.


The documentation for this class was generated from the following file:

Generated on Tue May 22 06:00:39 2012 for cpp by  doxygen 1.5.6