mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CHintBox: use less colors time scale mode for visual timeout
Otherwise probably in this context to much colored with default settings.
This commit is contained in:
@@ -188,6 +188,7 @@ void CHintBox::enableTimeOutBar(bool enable)
|
|||||||
timeout_pb->setValues(timeout_pb->getValue()+1, 100*timeout);
|
timeout_pb->setValues(timeout_pb->getValue()+1, 100*timeout);
|
||||||
}else{
|
}else{
|
||||||
timeout_pb = new CProgressBar();
|
timeout_pb = new CProgressBar();
|
||||||
|
timeout_pb->setType(CProgressBar::PB_TIMESCALE);
|
||||||
timeout_pb->setDimensionsAll(ccw_body->getRealXPos(), ccw_body->getRealYPos(), ccw_body->getWidth(), TIMEOUT_BAR_HEIGHT);
|
timeout_pb->setDimensionsAll(ccw_body->getRealXPos(), ccw_body->getRealYPos(), ccw_body->getWidth(), TIMEOUT_BAR_HEIGHT);
|
||||||
timeout_pb->setValues(0, 100*timeout);
|
timeout_pb->setValues(0, 100*timeout);
|
||||||
if (!timeout_pb_timer) {
|
if (!timeout_pb_timer) {
|
||||||
|
Reference in New Issue
Block a user