NotifyResChanged() should not be virtual itself.
Make an OnResChanged() virtual method instead.
This commit is contained in:
parent
a87255ef66
commit
72bfb64795
5 changed files with 14 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue