mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
lua_cc_*: use COL_SHADOW for shadows
Origin commit data
------------------
Branch: ni/coolstream
Commit: b1eab6a23e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-16 (Tue, 16 Aug 2016)
Origin message was:
------------------
- lua_cc_*: use COL_SHADOW for shadows
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -76,7 +76,7 @@ int CLuaInstCCHeader::CCHeaderNew(lua_State *L)
|
|||||||
std::string caption, icon;
|
std::string caption, icon;
|
||||||
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
|
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
|
||||||
lua_Unsigned color_body = (lua_Unsigned)COL_MENUCONTENT_PLUS_0;
|
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, "parent", (void**)&parent);
|
||||||
tableLookup(L, "x", x);
|
tableLookup(L, "x", x);
|
||||||
|
@@ -78,7 +78,7 @@ int CLuaInstCCPicture::CCPictureNew(lua_State *L)
|
|||||||
lua_Integer alignment = 0;
|
lua_Integer alignment = 0;
|
||||||
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
|
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
|
||||||
lua_Unsigned color_background = (lua_Unsigned)COL_MENUCONTENT_PLUS_0;
|
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)
|
transparency = CFrameBuffer::TM_BLACK (2): Transparency when black content ('pseudo' transparency)
|
||||||
|
@@ -85,7 +85,7 @@ int CLuaInstCCText::CCTextNew(lua_State *L)
|
|||||||
lua_Unsigned color_text = (lua_Unsigned)COL_MENUCONTENT_TEXT;
|
lua_Unsigned color_text = (lua_Unsigned)COL_MENUCONTENT_TEXT;
|
||||||
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
|
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
|
||||||
lua_Unsigned color_body = (lua_Unsigned)COL_MENUCONTENT_PLUS_0;
|
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, "parent", (void**)&parent);
|
||||||
tableLookup(L, "x", x);
|
tableLookup(L, "x", x);
|
||||||
|
@@ -74,7 +74,7 @@ int CLuaInstCCWindow::CCWindowNew(lua_State *L)
|
|||||||
std::string name, icon = std::string(NEUTRINO_ICON_INFO);
|
std::string name, icon = std::string(NEUTRINO_ICON_INFO);
|
||||||
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
|
lua_Unsigned color_frame = (lua_Unsigned)COL_MENUCONTENT_PLUS_6;
|
||||||
lua_Unsigned color_body = (lua_Unsigned)COL_MENUCONTENT_PLUS_0;
|
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 tmp1 = "false";
|
||||||
std::string btnRed = "";
|
std::string btnRed = "";
|
||||||
std::string btnGreen = "";
|
std::string btnGreen = "";
|
||||||
|
Reference in New Issue
Block a user