mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsInfoBox, CComponentsPicture: add overloaded members setPicture()
This commit is contained in:
@@ -81,6 +81,19 @@ void CComponentsInfoBox::initVarInfobox()
|
||||
x_offset = 10;
|
||||
}
|
||||
|
||||
void CComponentsInfoBox::setPicture(const std::string& picture_name)
|
||||
{
|
||||
pic_name = picture_name;
|
||||
}
|
||||
|
||||
void CComponentsInfoBox::setPicture(const char* picture_name)
|
||||
{
|
||||
string s_tmp = "";
|
||||
if (picture_name)
|
||||
s_tmp = string(picture_name);
|
||||
setPicture(s_tmp);
|
||||
}
|
||||
|
||||
void CComponentsInfoBox::paintPicture()
|
||||
{
|
||||
//ensure empty pic object
|
||||
|
Reference in New Issue
Block a user