mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
CComponentsInfoBox, CComponentsPicture: add overloaded members setPicture()
Origin commit data
------------------
Commit: c34f25bb7d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-26 (Wed, 26 Feb 2014)
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