move SetSize to Actor

This commit is contained in:
Glenn Maynard
2005-09-24 06:57:03 +00:00
parent 718cf1787a
commit a3bdc2e5ff
3 changed files with 2 additions and 3 deletions
+2
View File
@@ -1314,6 +1314,7 @@ public:
static int zoomto( T* p, lua_State *L ) { p->ZoomTo(FArg(1), FArg(2)); return 0; }
static int zoomtowidth( T* p, lua_State *L ) { p->ZoomToWidth(FArg(1)); return 0; }
static int zoomtoheight( T* p, lua_State *L ) { p->ZoomToHeight(FArg(1)); return 0; }
static int setsize( T* p, lua_State *L ) { p->SetWidth(FArg(1)); p->SetHeight(FArg(2)); return 0; }
static int basezoomx( T* p, lua_State *L ) { p->SetBaseZoomX(FArg(1)); return 0; }
static int basezoomy( T* p, lua_State *L ) { p->SetBaseZoomY(FArg(1)); return 0; }
static int stretchto( T* p, lua_State *L ) { p->StretchTo( RectF(FArg(1),FArg(2),FArg(3),FArg(4)) ); return 0; }
@@ -1442,6 +1443,7 @@ public:
ADD_METHOD( zoomto );
ADD_METHOD( zoomtowidth );
ADD_METHOD( zoomtoheight );
ADD_METHOD( setsize );
ADD_METHOD( basezoomx );
ADD_METHOD( basezoomy );
ADD_METHOD( stretchto );