Typo fix.
This commit is contained in:
parent
32d141e877
commit
0c8e9b2d7c
5 changed files with 8 additions and 11 deletions
|
@ -42,7 +42,7 @@ namespace cloonel {
|
||||||
virtual void Draw ( void ) const;
|
virtual void Draw ( void ) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SizeNotifiable<regbehaviuors::AutoRegister> m_screenRatio;
|
SizeNotifiable<regbehaviours::AutoRegister> m_screenRatio;
|
||||||
const std::unique_ptr<Texture> m_texture;
|
const std::unique_ptr<Texture> m_texture;
|
||||||
};
|
};
|
||||||
} //unnamed namespace
|
} //unnamed namespace
|
||||||
|
|
|
@ -41,7 +41,7 @@ namespace cloonel {
|
||||||
float2 BottomRight ( void ) const { return TopLeft() + m_size; }
|
float2 BottomRight ( void ) const { return TopLeft() + m_size; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SizeNotifiable<regbehaviuors::AutoRegister> m_screenRatio;
|
SizeNotifiable<regbehaviours::AutoRegister> m_screenRatio;
|
||||||
float2 m_size;
|
float2 m_size;
|
||||||
Texture* m_surface;
|
Texture* m_surface;
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,7 +8,7 @@ namespace cloonel {
|
||||||
namespace implem {
|
namespace implem {
|
||||||
} //namespace implem
|
} //namespace implem
|
||||||
|
|
||||||
namespace regbehaviuors {
|
namespace regbehaviours {
|
||||||
///----------------------------------------------------------------------
|
///----------------------------------------------------------------------
|
||||||
///----------------------------------------------------------------------
|
///----------------------------------------------------------------------
|
||||||
void AutoRegister::Register (SizeNotifiableBase* parNotifiable) {
|
void AutoRegister::Register (SizeNotifiableBase* parNotifiable) {
|
||||||
|
@ -47,7 +47,7 @@ namespace cloonel {
|
||||||
std::swap(m_registered, parOther.m_registered);
|
std::swap(m_registered, parOther.m_registered);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} //namespace regbehaviuors
|
} //namespace regbehaviours
|
||||||
|
|
||||||
///--------------------------------------------------------------------------
|
///--------------------------------------------------------------------------
|
||||||
///--------------------------------------------------------------------------
|
///--------------------------------------------------------------------------
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace cloonel {
|
||||||
class SDLMain;
|
class SDLMain;
|
||||||
class SizeNotifiableBase;
|
class SizeNotifiableBase;
|
||||||
|
|
||||||
namespace regbehaviuors {
|
namespace regbehaviours {
|
||||||
class DontRegister {
|
class DontRegister {
|
||||||
public:
|
public:
|
||||||
enum { SDLMAIN_NEEDED = false };
|
enum { SDLMAIN_NEEDED = false };
|
||||||
|
@ -66,10 +66,7 @@ namespace cloonel {
|
||||||
bool m_registered;
|
bool m_registered;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
} //namespace regbehaviuors
|
} //namespace regbehaviours
|
||||||
|
|
||||||
namespace implem {
|
|
||||||
} //namespace implem
|
|
||||||
|
|
||||||
class SizeNotifiableBase {
|
class SizeNotifiableBase {
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -38,8 +38,8 @@ namespace cloonel {
|
||||||
virtual void Draw ( void ) const;
|
virtual void Draw ( void ) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class TileCountNotifiable : public SizeNotifiable<regbehaviuors::AutoRegister> {
|
class TileCountNotifiable : public SizeNotifiable<regbehaviours::AutoRegister> {
|
||||||
typedef SizeNotifiable<regbehaviuors::AutoRegister> BaseClass;
|
typedef SizeNotifiable<regbehaviours::AutoRegister> BaseClass;
|
||||||
public:
|
public:
|
||||||
TileCountNotifiable ( SDLMain* parMain, const ushort2& parTileSize );
|
TileCountNotifiable ( SDLMain* parMain, const ushort2& parTileSize );
|
||||||
virtual ~TileCountNotifiable ( void ) noexcept = default;
|
virtual ~TileCountNotifiable ( void ) noexcept = default;
|
||||||
|
|
Loading…
Reference in a new issue