CHintbox/CMsgBox: add vizualized timeout bar

This commit is contained in:
2016-10-11 23:50:25 +02:00
parent b9d44a3fc8
commit cb3699deb5
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)
{