Refactoring in SizeNotifiable.
Class is a template now and accepts a registraton policy.
This commit is contained in:
parent
dbf29f13d1
commit
d0a052ddb2
7 changed files with 122 additions and 22 deletions
|
@ -42,9 +42,7 @@ namespace cloonel {
|
|||
virtual void Draw ( void ) const;
|
||||
|
||||
private:
|
||||
SizeNotifiable m_screenRatio;
|
||||
size_t m_screenRatioID;
|
||||
SDLMain* const m_sdlmain;
|
||||
SizeNotifiable<regbehaviuors::AutoRegister> m_screenRatio;
|
||||
const std::unique_ptr<Texture> m_texture;
|
||||
};
|
||||
} //unnamed namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue