Some more slight cleanup.
svn-id: r46314
This commit is contained in:
parent
0d43cc61d2
commit
414e6ffef3
2 changed files with 4 additions and 6 deletions
|
@ -31,11 +31,6 @@ DECLARE_SINGLETON(Graphics::CursorManager);
|
|||
|
||||
namespace Graphics {
|
||||
|
||||
CursorManager::CursorManager() {
|
||||
_cursorStack.clear();
|
||||
_cursorPaletteStack.clear();
|
||||
}
|
||||
|
||||
bool CursorManager::isVisible() {
|
||||
if (_cursorStack.empty())
|
||||
return false;
|
||||
|
|
|
@ -164,7 +164,10 @@ public:
|
|||
|
||||
private:
|
||||
friend class Common::Singleton<SingletonBaseType>;
|
||||
CursorManager();
|
||||
// Even though this is basically the default constructor we implement it
|
||||
// ourselves, so it is private and thus there is no way to create this class
|
||||
// except from the Singleton code.
|
||||
CursorManager() {}
|
||||
|
||||
struct Cursor {
|
||||
byte *_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue