mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Origin commit data
------------------
Commit: 3eca5d6bab
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-05 (Sat, 05 Nov 2016)
This commit is contained in:
@@ -83,6 +83,11 @@ CComponentsInfoBox::~CComponentsInfoBox()
|
|||||||
void CComponentsInfoBox::setPicture(const std::string& picture_name)
|
void CComponentsInfoBox::setPicture(const std::string& picture_name)
|
||||||
{
|
{
|
||||||
pic_name = picture_name;
|
pic_name = picture_name;
|
||||||
|
if (!pic_name.empty()){
|
||||||
|
int w, h;
|
||||||
|
frameBuffer->getIconSize(pic_name.c_str(), &w, &h);
|
||||||
|
height = max(h, height);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComponentsInfoBox::setPicture(const char* picture_name)
|
void CComponentsInfoBox::setPicture(const char* picture_name)
|
||||||
|
Reference in New Issue
Block a user