Apollo/Kronos: Use backup with readmtdJFFS2() also for var partition

Origin commit data
------------------
Commit: 6121e57fbc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-09-22 (Tue, 22 Sep 2015)
This commit is contained in:
Michael Liebmann
2015-09-22 13:39:35 +02:00
parent 2b00704915
commit 1d5f135331
10 changed files with 53 additions and 19 deletions

View File

@@ -99,6 +99,15 @@ void CProgressWindow::setTitle(const neutrino_locale_t title)
#endif // VFD_UPDATE
}
void CProgressWindow::setTitle(const std::string & title)
{
setWindowCaption(title);
#ifdef VFD_UPDATE
CVFD::getInstance()->showProgressBar2(-1,NULL,-1,g_Locale->getText(ccw_caption)); // set global text in VFD
#endif // VFD_UPDATE
}
//if header is disabled we need new position for body items
void CProgressWindow::fitItems()
{

View File

@@ -55,6 +55,7 @@ class CProgressWindow : public CComponentsWindow, public CMenuTarget
void showLocalStatus(const unsigned int prog);
void showStatusMessageUTF(const std::string & text); // UTF-8
void paint(bool do_save_bg = true);
void setTitle(const std::string & title);
};