Some more slight cleanup.

svn-id: r46314
This commit is contained in:
Johannes Schickel 2009-12-09 17:09:18 +00:00
parent 0d43cc61d2
commit 414e6ffef3
2 changed files with 4 additions and 6 deletions

View file

@ -31,11 +31,6 @@ DECLARE_SINGLETON(Graphics::CursorManager);
namespace Graphics {
CursorManager::CursorManager() {
_cursorStack.clear();
_cursorPaletteStack.clear();
}
bool CursorManager::isVisible() {
if (_cursorStack.empty())
return false;

View file

@ -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;