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:
2017-05-21 18:00:21 +02:00
parent ffe986f36b
commit 8c29b8e68f

View File

@@ -188,6 +188,7 @@ void CHintBox::enableTimeOutBar(bool enable)
timeout_pb->setValues(timeout_pb->getValue()+1, 100*timeout);
}else{
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->setValues(0, 100*timeout);
if (!timeout_pb_timer) {