|
|
|
@ -220,7 +220,9 @@ namespace NLGUI
|
|
|
|
|
void CLuaIHM::push(CLuaState &ls, const ucstring &value)
|
|
|
|
|
{
|
|
|
|
|
//H_AUTO(Lua_CLuaIHM_push)
|
|
|
|
|
#if LUABIND_VERSION > 600
|
|
|
|
|
#if defined(LUABIND_STACK_HPP_INCLUDED)
|
|
|
|
|
luabind::push(ls.getStatePointer(), value);
|
|
|
|
|
#elif (LUABIND_VERSION > 600)
|
|
|
|
|
luabind::detail::push(ls.getStatePointer(), value);
|
|
|
|
|
#else
|
|
|
|
|
luabind::object obj(ls.getStatePointer(), value);
|
|
|
|
@ -1156,7 +1158,9 @@ namespace NLGUI
|
|
|
|
|
case CInterfaceExprValue::RGBA:
|
|
|
|
|
{
|
|
|
|
|
CRGBA color = value.getRGBA();
|
|
|
|
|
#if LUABIND_VERSION > 600
|
|
|
|
|
#if defined(LUABIND_STACK_HPP_INCLUDED)
|
|
|
|
|
luabind::push(ls.getStatePointer(), color);
|
|
|
|
|
#elif (LUABIND_VERSION > 600)
|
|
|
|
|
luabind::detail::push(ls.getStatePointer(), color);
|
|
|
|
|
#else
|
|
|
|
|
luabind::object obj(ls.getStatePointer(), color);
|
|
|
|
@ -1416,7 +1420,9 @@ namespace NLGUI
|
|
|
|
|
case CReflectedProperty::UCString:
|
|
|
|
|
{
|
|
|
|
|
ucstring str = (reflectedObject.*(property.GetMethod.GetUCString))();
|
|
|
|
|
#if LUABIND_VERSION > 600
|
|
|
|
|
#if defined(LUABIND_STACK_HPP_INCLUDED)
|
|
|
|
|
luabind::push(ls.getStatePointer(), str);
|
|
|
|
|
#elif (LUABIND_VERSION > 600)
|
|
|
|
|
luabind::detail::push(ls.getStatePointer(), str);
|
|
|
|
|
#else
|
|
|
|
|
luabind::object obj(ls.getStatePointer(), str);
|
|
|
|
@ -1427,7 +1433,9 @@ namespace NLGUI
|
|
|
|
|
case CReflectedProperty::UCStringRef:
|
|
|
|
|
{
|
|
|
|
|
ucstring str = (reflectedObject.*(property.GetMethod.GetUCStringRef))();
|
|
|
|
|
#if LUABIND_VERSION > 600
|
|
|
|
|
#if defined(LUABIND_STACK_HPP_INCLUDED)
|
|
|
|
|
luabind::push(ls.getStatePointer(), str);
|
|
|
|
|
#elif (LUABIND_VERSION > 600)
|
|
|
|
|
luabind::detail::push(ls.getStatePointer(), str);
|
|
|
|
|
#else
|
|
|
|
|
luabind::object obj(ls.getStatePointer(), str);
|
|
|
|
@ -1442,7 +1450,9 @@ namespace NLGUI
|
|
|
|
|
case CReflectedProperty::RGBA:
|
|
|
|
|
{
|
|
|
|
|
CRGBA color = (reflectedObject.*(property.GetMethod.GetRGBA))();
|
|
|
|
|
#if LUABIND_VERSION > 600
|
|
|
|
|
#if defined(LUABIND_STACK_HPP_INCLUDED)
|
|
|
|
|
luabind::push(ls.getStatePointer(), color);
|
|
|
|
|
#elif (LUABIND_VERSION > 600)
|
|
|
|
|
luabind::detail::push(ls.getStatePointer(), color);
|
|
|
|
|
#else
|
|
|
|
|
luabind::object obj(ls.getStatePointer(), color);
|
|
|
|
|