CComponentsInfoBox: small cleanup

Origin commit data
------------------
Branch: ni/coolstream
Commit: 4b73121eef
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-07 (Tue, 07 Oct 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2014-10-07 22:05:55 +02:00
committed by [CST] Focus
parent 4366ab349a
commit ed8f9d6914
2 changed files with 21 additions and 6 deletions

View File

@@ -35,13 +35,19 @@
using namespace std;
//sub class CComponentsInfoBox from CComponentsItem
CComponentsInfoBox::CComponentsInfoBox( const int& x_pos, const int& y_pos, const int& w, const int& h,
CComponentsInfoBox::CComponentsInfoBox( const int& x_pos,
const int& y_pos,
const int& w,
const int& h,
std::string info_text,
const int mode,
Font* font_text,
CComponentsForm *parent,
bool has_shadow,
fb_pixel_t color_text, fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow)
fb_pixel_t color_text,
fb_pixel_t color_frame,
fb_pixel_t color_body,
fb_pixel_t color_shadow)
{
cc_item_type = CC_ITEMTYPE_TEXT_INFOBOX;
@@ -75,7 +81,7 @@ CComponentsInfoBox::~CComponentsInfoBox()
void CComponentsInfoBox::setPicture(const std::string& picture_name)
{
pic_name = picture_name;
pic_name = picture_name;
}
void CComponentsInfoBox::setPicture(const char* picture_name)