diff options
Diffstat (limited to 'iup/srclua5')
-rwxr-xr-x | iup/srclua5/iuplua_api.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/iup/srclua5/iuplua_api.c b/iup/srclua5/iuplua_api.c index 27adffe..3fc73a1 100755 --- a/iup/srclua5/iuplua_api.c +++ b/iup/srclua5/iuplua_api.c @@ -725,6 +725,12 @@ static int Redraw(lua_State *L) return 0; } +static int SetRedraw(lua_State *L) +{ + IupSetRedraw(iuplua_checkihandle(L,1), luaL_checkinteger(L, 2)); + return 0; +} + static int ShowXY(lua_State *L) { Ihandle *ih = iuplua_checkihandle(L,1); @@ -864,6 +870,7 @@ void iupluaapi_open(lua_State * L) {"UpdateChildren", UpdateChildren}, {"SaveImageAsText", SaveImageAsText}, {"Redraw", Redraw}, + {"SetRedraw", SetRedraw}, {"ShowXY", ShowXY}, {"StoreAttribute", StoreAttribute}, {"StoreGlobal", StoreGlobal}, |