mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
src/gui/components/cc_frm_button.cpp/h: use CComponentsPicture only
CComponentsPictureScalable not longer required
This commit is contained in:
@@ -151,7 +151,7 @@ void CComponentsButton::initIcon()
|
|||||||
int y_icon = 0;
|
int y_icon = 0;
|
||||||
int h_icon = 0;
|
int h_icon = 0;
|
||||||
if (cc_btn_icon_obj == NULL){
|
if (cc_btn_icon_obj == NULL){
|
||||||
cc_btn_icon_obj = new CComponentsPictureScalable(fr_thickness, 0, cc_btn_icon, this);
|
cc_btn_icon_obj = new CComponentsPicture(fr_thickness, 0, cc_btn_icon, this);
|
||||||
cc_btn_icon_obj->SetTransparent(CFrameBuffer::TM_BLACK);
|
cc_btn_icon_obj->SetTransparent(CFrameBuffer::TM_BLACK);
|
||||||
cc_btn_icon_obj->doPaintBg(false);
|
cc_btn_icon_obj->doPaintBg(false);
|
||||||
}
|
}
|
||||||
|
@@ -48,7 +48,7 @@ class CComponentsButton : public CComponentsFrmChain, public CCTextScreen
|
|||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
///object: picture object
|
///object: picture object
|
||||||
CComponentsPictureScalable *cc_btn_icon_obj;
|
CComponentsPicture *cc_btn_icon_obj;
|
||||||
///object: label object
|
///object: label object
|
||||||
CComponentsLabel *cc_btn_text_obj;
|
CComponentsLabel *cc_btn_text_obj;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user