src/gui/components/cc_frm_button.cpp/h: use CComponentsPicture only

CComponentsPictureScalable not longer required
This commit is contained in:
2018-01-23 11:28:04 +01:00
parent 88927844bd
commit bae07b95e7
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ void CComponentsButton::initIcon()
int y_icon = 0;
int h_icon = 0;
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->doPaintBg(false);
}