CHintbox/CMsgBox: add vizualized timeout bar

Origin commit data
------------------
Commit: cb3699deb5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-11 (Tue, 11 Oct 2016)
This commit is contained in:
2016-10-11 23:50:25 +02:00
parent 3c1dc9d123
commit deca218ec8
3 changed files with 45 additions and 7 deletions

View File

@@ -218,12 +218,11 @@ int CMsgBox::exec()
ccw_footer->getSelectedButtonObject()->setButtonAlias(mb_show_button);
int selected = ccw_footer->getSelectedButton();
dprintf(DEBUG_NORMAL, "\033[32m[CMsgBox] [%s - %d] getSelectedButton()= %d\033[0m\n", __func__, __LINE__,ccw_footer->getSelectedButton());
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
if (timeout > 0)
showTimeOutBar();
bool loop = true;
while (loop)
{