- lua_cc_*: use COL_SHADOW for shadows

This commit is contained in:
svenhoefer
2016-08-16 08:36:58 +02:00
parent c9bb55db72
commit b1eab6a23e
4 changed files with 4 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ int CLuaInstCCHeader::CCHeaderNew(lua_State *L)
std::string caption, icon;
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
lua_Unsigned color_body = (lua_Unsigned)COL_MENUCONTENT_PLUS_0;
lua_Unsigned color_shadow = (lua_Unsigned)COL_MENUCONTENTDARK_PLUS_0;
lua_Unsigned color_shadow = (lua_Unsigned)COL_SHADOW_PLUS_0;
tableLookup(L, "parent", (void**)&parent);
tableLookup(L, "x", x);

View File

@@ -78,7 +78,7 @@ int CLuaInstCCPicture::CCPictureNew(lua_State *L)
lua_Integer alignment = 0;
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
lua_Unsigned color_background = (lua_Unsigned)COL_MENUCONTENT_PLUS_0;
lua_Unsigned color_shadow = (lua_Unsigned)COL_MENUCONTENTDARK_PLUS_0;
lua_Unsigned color_shadow = (lua_Unsigned)COL_SHADOW_PLUS_0;
/*
transparency = CFrameBuffer::TM_BLACK (2): Transparency when black content ('pseudo' transparency)

View File

@@ -85,7 +85,7 @@ int CLuaInstCCText::CCTextNew(lua_State *L)
lua_Unsigned color_text = (lua_Unsigned)COL_MENUCONTENT_TEXT;
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
lua_Unsigned color_body = (lua_Unsigned)COL_MENUCONTENT_PLUS_0;
lua_Unsigned color_shadow = (lua_Unsigned)COL_MENUCONTENTDARK_PLUS_0;
lua_Unsigned color_shadow = (lua_Unsigned)COL_SHADOW_PLUS_0;
tableLookup(L, "parent", (void**)&parent);
tableLookup(L, "x", x);

View File

@@ -74,7 +74,7 @@ int CLuaInstCCWindow::CCWindowNew(lua_State *L)
std::string name, icon = std::string(NEUTRINO_ICON_INFO);
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
lua_Unsigned color_body = (lua_Unsigned)COL_MENUCONTENT_PLUS_0;
lua_Unsigned color_shadow = (lua_Unsigned)COL_MENUCONTENTDARK_PLUS_0;
lua_Unsigned color_shadow = (lua_Unsigned)COL_SHADOW_PLUS_0;
std::string tmp1 = "false";
std::string btnRed = "";
std::string btnGreen = "";