? .Widget.py.swp ? Cursor.pyc ? Drawable.pyc ? Event.pyc ? Game.pyc ? Path.pyc ? Screen.pyc ? Util.pyc ? Widget.pyc ? __init__.pyc ? conf.pyc ? locals.pyc Index: Cursor.py =================================================================== RCS file: /cvsroot/pygsear/pygsear/pygsear/Cursor.py,v retrieving revision 1.4 diff -c -r1.4 Cursor.py *** Cursor.py 26 Feb 2003 05:24:47 -0000 1.4 --- Cursor.py 26 Feb 2003 20:02:01 -0000 *************** *** 34,40 **** """ pass ! class Cursor: """ """ def __init__(self, screen=None): --- 34,40 ---- """ pass ! class Cursor(object): """ """ def __init__(self, screen=None): Index: Drawable.py =================================================================== RCS file: /cvsroot/pygsear/pygsear/pygsear/Drawable.py,v retrieving revision 1.20 diff -c -r1.20 Drawable.py *** Drawable.py 26 Feb 2003 05:24:47 -0000 1.20 --- Drawable.py 26 Feb 2003 20:02:05 -0000 *************** *** 775,781 **** pygame.draw.rect(self.image, TRANSPARENT, rect, 0) ! class Stationary: """Drawable things which never move. These will be drawn directly on to the background, and --- 775,781 ---- pygame.draw.rect(self.image, TRANSPARENT, rect, 0) ! class Stationary(object): """Drawable things which never move. These will be drawn directly on to the background, and *************** *** 847,853 **** pass ! class StationaryStack: """A Stack of Stationary Drawables. This is useful to keep the Stationary objects in order --- 847,853 ---- pass ! class StationaryStack(object): """A Stack of Stationary Drawables. This is useful to keep the Stationary objects in order Index: Event.py =================================================================== RCS file: /cvsroot/pygsear/pygsear/pygsear/Event.py,v retrieving revision 1.3 diff -c -r1.3 Event.py *** Event.py 26 Feb 2003 05:24:47 -0000 1.3 --- Event.py 26 Feb 2003 20:02:05 -0000 *************** *** 28,34 **** watcher = None ! class Watcher: """Holds interesting events and related actions""" evTypes = ['QUIT', --- 28,34 ---- watcher = None ! class Watcher(object): """Holds interesting events and related actions""" evTypes = ['QUIT', *************** *** 82,88 **** event.callback() ! class Event: def __init__(self, callback=None, needEvent=1, use_watcher=None): if use_watcher is None: global watcher --- 82,88 ---- event.callback() ! class Event(object): def __init__(self, callback=None, needEvent=1, use_watcher=None): if use_watcher is None: global watcher Index: Game.py =================================================================== RCS file: /cvsroot/pygsear/pygsear/pygsear/Game.py,v retrieving revision 1.6 diff -c -r1.6 Game.py *** Game.py 26 Feb 2003 05:24:47 -0000 1.6 --- Game.py 26 Feb 2003 20:02:06 -0000 *************** *** 77,83 **** s.draw(surface=self.image) ! class Game: def __init__(self, window=None): if window is None: if hasattr(conf, 'window'): --- 77,83 ---- s.draw(surface=self.image) ! class Game(object): def __init__(self, window=None): if window is None: if hasattr(conf, 'window'): Index: Path.py =================================================================== RCS file: /cvsroot/pygsear/pygsear/pygsear/Path.py,v retrieving revision 1.17 diff -c -r1.17 Path.py *** Path.py 23 Feb 2003 09:07:32 -0000 1.17 --- Path.py 26 Feb 2003 20:02:07 -0000 *************** *** 38,44 **** pass ! class Path: """A set of points.""" def __init__(self, position=(0, 0), duration=None): --- 38,44 ---- pass ! class Path(object): """A set of points.""" def __init__(self, position=(0, 0), duration=None): Index: Screen.py =================================================================== RCS file: /cvsroot/pygsear/pygsear/pygsear/Screen.py,v retrieving revision 1.5 diff -c -r1.5 Screen.py *** Screen.py 26 Feb 2003 05:24:47 -0000 1.5 --- Screen.py 26 Feb 2003 20:02:07 -0000 *************** *** 31,37 **** from pygsear.Util import load_image from pygsear.locals import * ! class Window: def __init__(self, size=None, full=0): pygame.init() if size is None: --- 31,37 ---- from pygsear.Util import load_image from pygsear.locals import * ! class Window(object): def __init__(self, size=None, full=0): pygame.init() if size is None: *************** *** 99,105 **** pygame.display.flip() ! class Layer: def __init__(self, size=None): if size is None: size = conf.WINSIZE --- 99,105 ---- pygame.display.flip() ! class Layer(object): def __init__(self, size=None): if size is None: size = conf.WINSIZE Index: Widget.py =================================================================== RCS file: /cvsroot/pygsear/pygsear/pygsear/Widget.py,v retrieving revision 1.3 diff -c -r1.3 Widget.py *** Widget.py 26 Feb 2003 05:24:47 -0000 1.3 --- Widget.py 26 Feb 2003 20:02:08 -0000 *************** *** 33,39 **** from pygsear.locals import * ! class Widget: def setCallback(self, callback): if callback is None: callback = self.nop --- 33,39 ---- from pygsear.locals import * ! class Widget(object): def setCallback(self, callback): if callback is None: callback = self.nop *************** *** 98,104 **** self.setPosition(pos) ! class TextButton: def __init__(self, window, text, length=None, callback=None, size=20, color=WHITE, border=2, borderColor=LGREEN, padding=5, bgColor=BLACK): --- 98,104 ---- self.setPosition(pos) ! class TextButton(object): def __init__(self, window, text, length=None, callback=None, size=20, color=WHITE, border=2, borderColor=LGREEN, padding=5, bgColor=BLACK):