Helpbox: fix possible transparent holes behind images

Origin commit data
------------------
Commit: 8579758884
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-09 (Sun, 09 Oct 2016)

Origin message was:
------------------
Helpbox: fix possible transparent holes behind images
This commit is contained in:
2016-10-09 17:11:43 +02:00
parent 134c3e53cb
commit ba90b113f0
2 changed files with 3 additions and 0 deletions

View File

@@ -221,6 +221,7 @@ void CHintBox::addHintItem(const std::string& Text, const int& text_mode, const
//init side picon object
CComponentsPicture *obj_picon = new CComponentsPicture(0, 0, Picon);
obj_picon->doPaintBg(false);
obj_picon->SetTransparent(CFrameBuffer::TM_BLACK);
int w_picon = obj_picon->getWidth();
//init text item object