mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
Merge branch 'master' into pu/fb-setmode
This commit is contained in:
@@ -330,10 +330,10 @@ void CComponentsHeader::initLogo()
|
||||
//set final logo position
|
||||
int x_logo = 0;
|
||||
if (cch_logo.Align == CC_LOGO_RIGHT){
|
||||
if (cch_caption_align == CTextBox::RIGHT)
|
||||
if (cch_caption_align == CTextBox::RIGHT){
|
||||
if (cch_text_obj)
|
||||
x_logo = cch_text_obj->getXPos() - cch_logo_obj->getWidth();
|
||||
else
|
||||
}else
|
||||
x_logo = x_logo_right;
|
||||
}
|
||||
if (cch_logo.Align == CC_LOGO_LEFT)
|
||||
|
@@ -89,7 +89,7 @@ int CLuaInstCCWindow::CCWindowNew(lua_State *L)
|
||||
tableLookup(L, "name", name) || tableLookup(L, "title", name) || tableLookup(L, "caption", name);
|
||||
tableLookup(L, "icon", icon);
|
||||
|
||||
int has_shadow = CC_SHADOW_OFF;
|
||||
lua_Integer has_shadow = CC_SHADOW_OFF;
|
||||
if (!tableLookup(L, "has_shadow", has_shadow)) {
|
||||
tmp1 = "false";
|
||||
if (tableLookup(L, "has_shadow", tmp1))
|
||||
|
Reference in New Issue
Block a user