mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
helpbox: enable paint bg in addLine()
disable not required
Origin commit data
------------------
Commit: 79a22af4d9
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-16 (Tue, 16 Nov 2021)
This commit is contained in:
@@ -89,7 +89,6 @@ void Helpbox::addLine(const std::string& icon, const std::string& text, const in
|
|||||||
picon = new CComponentsPicture (0, 0, icon);
|
picon = new CComponentsPicture (0, 0, icon);
|
||||||
w_picon = picon->getWidth();
|
w_picon = picon->getWidth();
|
||||||
h_picon = picon->getHeight();
|
h_picon = picon->getHeight();
|
||||||
picon->doPaintBg(false);
|
|
||||||
picon->setYPos(line->getHeight()/2 - h_picon/2);
|
picon->setYPos(line->getHeight()/2 - h_picon/2);
|
||||||
picon->SetTransparent(CFrameBuffer::TM_BLACK);
|
picon->SetTransparent(CFrameBuffer::TM_BLACK);
|
||||||
line->addCCItem(picon);
|
line->addCCItem(picon);
|
||||||
|
Reference in New Issue
Block a user