NotifyResChanged() should not be virtual itself.

Make an OnResChanged() virtual method instead.
This commit is contained in:
King_DuckZ 2016-11-09 23:35:19 +01:00
parent a87255ef66
commit 72bfb64795
5 changed files with 14 additions and 5 deletions

View file

@ -55,5 +55,11 @@ namespace cloonel {
///--------------------------------------------------------------------------
void SizeNotifiableBase::NotifyResChanged (const SizeRatio& parSize) {
m_scaleRatio = parSize.Ratio();
this->OnResChanged(parSize);
}
///--------------------------------------------------------------------------
///--------------------------------------------------------------------------
void SizeNotifiableBase::OnResChanged (const SizeRatio&) {
}
} //namespace cloonel