diff options
author | Nicolas Noble <pixel@nobis-crew.org> | 2010-09-09 10:47:04 -0700 |
---|---|---|
committer | Nicolas Noble <pixel@nobis-crew.org> | 2010-09-09 10:47:04 -0700 |
commit | be46128d75ff8f2739b856dcc4ec41bebb90a666 (patch) | |
tree | 6f8ac0c4aead39bbbc38beaec5a1c403059f9047 /iup/srclua3 | |
parent | 53d6ee570041c7e47c02dd8b4ca753a3b020369f (diff) |
Adding the SetRedraw() directive - only for Windows.
Diffstat (limited to 'iup/srclua3')
-rwxr-xr-x | iup/srclua3/iuplua_api.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/iup/srclua3/iuplua_api.c b/iup/srclua3/iuplua_api.c index a9acf1d..f9c6b30 100755 --- a/iup/srclua3/iuplua_api.c +++ b/iup/srclua3/iuplua_api.c @@ -269,6 +269,11 @@ static void Redraw(void) IupRedraw(iuplua_checkihandle(1), luaL_check_int(2)); } +static void SetRedraw(void) +{ + IupSetRedraw(iuplua_checkihandle(1), luaL_check_int(2)); +} + static void VersionNumber(void) { lua_pushnumber(IupVersionNumber()); @@ -682,6 +687,7 @@ int iupluaapi_open(void) { "IupUpdate", Update }, { "IupUpdateChildren", UpdateChildren }, { "IupRedraw", Redraw }, + { "IupSetRedraw", SetRedraw }, { "IupVersionNumber", VersionNumber }, { "IupShowXY", ShowXY }, { "IupHide", Hide }, |