From ddc9f66d5c77d4b44741ce07f320835141f180fc Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Mon, 16 Nov 2015 14:26:30 +0100 Subject: [PATCH] CLuaInstance: Fix for commit 46d6662 - CC_SHADOW_RIGHT & CC_SHADOW_BOTTOM not yet implemented Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8f7802f018bd3d08508553b12e7d086af3d4dc73 Author: Michael Liebmann Date: 2015-11-16 (Mon, 16 Nov 2015) ------------------ This commit was generated by Migit --- src/gui/luainstance.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gui/luainstance.cpp b/src/gui/luainstance.cpp index b24f022a6..da489400f 100644 --- a/src/gui/luainstance.cpp +++ b/src/gui/luainstance.cpp @@ -301,12 +301,12 @@ static void set_lua_variables(lua_State *L) table_key ccomponents[] = { - { "SHADOW_OFF", CC_SHADOW_OFF }, - { "SHADOW_ON", CC_SHADOW_ON }, - { "SHADOW_RIGHT", CC_SHADOW_RIGHT }, - { "SHADOW_BOTTOM", CC_SHADOW_BOTTOM }, - { "SAVE_SCREEN_YES", CC_SAVE_SCREEN_YES }, - { "SAVE_SCREEN_NO", CC_SAVE_SCREEN_NO }, + { "SHADOW_OFF", (lua_Integer)CC_SHADOW_OFF }, + { "SHADOW_ON", (lua_Integer)CC_SHADOW_ON }, +/* { "SHADOW_RIGHT", (lua_Integer)CC_SHADOW_RIGHT },*/ +/* { "SHADOW_BOTTOM", (lua_Integer)CC_SHADOW_BOTTOM },*/ + { "SAVE_SCREEN_YES", (lua_Integer)CC_SAVE_SCREEN_YES }, + { "SAVE_SCREEN_NO", (lua_Integer)CC_SAVE_SCREEN_NO }, { NULL, 0 } };