add SetNumSubdivisions
secondsperitem -> setsecondsperitem
This commit is contained in:
@@ -284,7 +284,8 @@ public:
|
|||||||
LunaActorScroller() { LUA->Register( Register ); }
|
LunaActorScroller() { LUA->Register( Register ); }
|
||||||
|
|
||||||
static int SetCurrentAndDestinationItem( T* p, lua_State *L ) { p->SetCurrentAndDestinationItem( FArg(1) ); return 0; }
|
static int SetCurrentAndDestinationItem( T* p, lua_State *L ) { p->SetCurrentAndDestinationItem( FArg(1) ); return 0; }
|
||||||
static int secondsperitem( T* p, lua_State *L ) { p->SetSecondsPerItem(FArg(1)); return 0; }
|
static int setsecondsperitem( T* p, lua_State *L ) { p->SetSecondsPerItem(FArg(1)); return 0; }
|
||||||
|
static int setnumsubdivisions( T* p, lua_State *L ) { p->SetNumSubdivisions(IArg(1)); return 0; }
|
||||||
static int scrollthroughallitems( T* p, lua_State *L ) { p->ScrollThroughAllItems(); return 0; }
|
static int scrollthroughallitems( T* p, lua_State *L ) { p->ScrollThroughAllItems(); return 0; }
|
||||||
static int scrollwithpadding( T* p, lua_State *L ) { p->ScrollWithPadding(FArg(1),FArg(2)); return 0; }
|
static int scrollwithpadding( T* p, lua_State *L ) { p->ScrollWithPadding(FArg(1),FArg(2)); return 0; }
|
||||||
static int setfastcatchup( T* p, lua_State *L ) { p->SetFastCatchup(BArg(1)); return 0; }
|
static int setfastcatchup( T* p, lua_State *L ) { p->SetFastCatchup(BArg(1)); return 0; }
|
||||||
@@ -292,7 +293,8 @@ public:
|
|||||||
static void Register(lua_State *L)
|
static void Register(lua_State *L)
|
||||||
{
|
{
|
||||||
ADD_METHOD( SetCurrentAndDestinationItem );
|
ADD_METHOD( SetCurrentAndDestinationItem );
|
||||||
ADD_METHOD( secondsperitem );
|
ADD_METHOD( setsecondsperitem );
|
||||||
|
ADD_METHOD( setnumsubdivisions );
|
||||||
ADD_METHOD( scrollthroughallitems );
|
ADD_METHOD( scrollthroughallitems );
|
||||||
ADD_METHOD( scrollwithpadding );
|
ADD_METHOD( scrollwithpadding );
|
||||||
ADD_METHOD( setfastcatchup );
|
ADD_METHOD( setfastcatchup );
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ public:
|
|||||||
void SetFastCatchup( bool bOn ) { m_bFastCatchup = bOn; }
|
void SetFastCatchup( bool bOn ) { m_bFastCatchup = bOn; }
|
||||||
void SetSecondsPerItem( float fSeconds ) { m_fSecondsPerItem = fSeconds; }
|
void SetSecondsPerItem( float fSeconds ) { m_fSecondsPerItem = fSeconds; }
|
||||||
void SetSecondsPauseBetweenItems( float fSeconds ) { m_fSecondsPauseBetweenItems = fSeconds; }
|
void SetSecondsPauseBetweenItems( float fSeconds ) { m_fSecondsPauseBetweenItems = fSeconds; }
|
||||||
float GetSecondsForCompleteScrollThrough() const;
|
void SetNumSubdivisions( int iNumSubdivisions ) { m_exprTransformFunction.SetNumSubdivisions( iNumSubdivisions ); }
|
||||||
|
float GetSecondsForCompleteScrollThrough() const;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Commands
|
// Commands
|
||||||
|
|||||||
Reference in New Issue
Block a user