forked from organicmaps/organicmaps
calling purge on gui::Element's which are a parts of composite CountryStatusDisplay.
This commit is contained in:
parent
6e82dd2c0c
commit
2829435824
2 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,12 @@ void CountryStatusDisplay::SetStatusMessage(string const & msgID, T1 const * t1,
|
|||
m_statusMsg->setText(msg);
|
||||
}
|
||||
|
||||
void CountryStatusDisplay::purge()
|
||||
{
|
||||
m_downloadButton->purge();
|
||||
m_statusMsg->purge();
|
||||
}
|
||||
|
||||
void CountryStatusDisplay::cache()
|
||||
{
|
||||
m_downloadButton->setIsVisible(false);
|
||||
|
|
|
@ -50,6 +50,7 @@ private:
|
|||
|
||||
/// caching resources for fast rendering.
|
||||
void cache();
|
||||
void purge();
|
||||
|
||||
string const displayName() const;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue