Mercurial > enso_osx
changeset 19:0a32f80df44e
Got rid of the inputmanager singleton, which wasn't needed.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 25 Feb 2008 06:48:15 -0600 |
parents | 5477703cfb73 |
children | 92de49b0276c |
files | enso_osx/input.py |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/enso_osx/input.py Sun Feb 24 20:57:43 2008 -0600 +++ b/enso_osx/input.py Mon Feb 25 06:48:15 2008 -0600 @@ -83,12 +83,6 @@ 27: "-", } -# TODO: I don't think we need this singleton... -_inputManager = None - -def get(): - return _inputManager - class _KeyNotifierController( object ): def __init__( self ): pass @@ -166,11 +160,8 @@ class InputManager( object ): def __init__( self, quasimodeKeycode ): - global _inputManager - self.__shouldStop = False self.__mouseEventsEnabled = False - _inputManager = self self.__qmKeycodes = [0, 0, 0] self.__isModal = False self.__inQuasimode = False