Renamed love.window.isFullscreen to love.window.getFullscreen (resolves issue #721)

This commit is contained in:
Alex Szpakowski
2013-08-28 19:15:00 -03:00
parent 040defbbfe
commit 526ccb12ad
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -212,7 +212,7 @@ int w_setFullscreen(lua_State *L)
return 1; return 1;
} }
int w_isFullscreen(lua_State *L) int w_getFullscreen(lua_State *L)
{ {
int w, h; int w, h;
WindowFlags flags; WindowFlags flags;
@@ -321,7 +321,7 @@ static const luaL_Reg functions[] =
{ "getMode", w_getMode }, { "getMode", w_getMode },
{ "getModes", w_getModes }, { "getModes", w_getModes },
{ "setFullscreen", w_setFullscreen }, { "setFullscreen", w_setFullscreen },
{ "isFullscreen", w_isFullscreen }, { "getFullscreen", w_getFullscreen },
{ "isCreated", w_isCreated }, { "isCreated", w_isCreated },
{ "getWidth", w_getWidth }, { "getWidth", w_getWidth },
{ "getHeight", w_getHeight }, { "getHeight", w_getHeight },
+1 -1
View File
@@ -35,7 +35,7 @@ int w_setMode(lua_State *L);
int w_getMode(lua_State *L); int w_getMode(lua_State *L);
int w_getModes(lua_State *L); int w_getModes(lua_State *L);
int w_setFullscreen(lua_State *L); int w_setFullscreen(lua_State *L);
int w_isFullscreen(lua_State *L); int w_getFullscreen(lua_State *L);
int w_isCreated(lua_State *L); int w_isCreated(lua_State *L);
int w_getWidth(lua_State *L); int w_getWidth(lua_State *L);
int w_getHeight(lua_State *L); int w_getHeight(lua_State *L);