mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Imported some of the dynamiccore branch from love-experiments:
- Type names for love's Lua objects are specified as an argument to luax_register_type, rather than being statically defined in an array. - luax_register_type takes a variable number of method array arguments, for registering superclass methods without copying them into the subclass' method array. Also removed most of the header declarations for wrapper functions.
This commit is contained in:
@@ -30,24 +30,6 @@ namespace love
|
||||
namespace mouse
|
||||
{
|
||||
|
||||
int w_newCursor(lua_State *L);
|
||||
int w_getSystemCursor(lua_State *L);
|
||||
int w_setCursor(lua_State *L);
|
||||
int w_getCursor(lua_State *L);
|
||||
int w_hasCursor(lua_State *L);
|
||||
int w_getX(lua_State *L);
|
||||
int w_getY(lua_State *L);
|
||||
int w_getPosition(lua_State *L);
|
||||
int w_setX(lua_State *L);
|
||||
int w_setY(lua_State *L);
|
||||
int w_setPosition(lua_State *L);
|
||||
int w_isDown(lua_State *L);
|
||||
int w_setVisible(lua_State *L);
|
||||
int w_isVisible(lua_State *L);
|
||||
int w_setGrabbed(lua_State *L);
|
||||
int w_isGrabbed(lua_State *L);
|
||||
int w_setRelativeMode(lua_State *L);
|
||||
int w_getRelativeMode(lua_State *L);
|
||||
extern "C" LOVE_EXPORT int luaopen_love_mouse(lua_State *L);
|
||||
|
||||
} // mouse
|
||||
|
||||
Reference in New Issue
Block a user