MCPcopy Create free account
hub / github.com/OGRECave/ogre / _WindowData

Class _WindowData

Components/Python/HighPy.py:34–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 self.callback()
33
34class _WindowData:
35 def __init__(self, window):
36 self.window = window.render
37 self.camera = None
38 self.scn_mgr = None
39 self.background = None
40 self.last_key = 0
41
42 self._input_listener = None
43 self._native = window.native
44
45 def listen_to_input(self):
46 assert self._input_listener is None
47 self._input_listener = _InputListener(self)
48 _ctx.addInputListener(self._native, self._input_listener)
49
50class _Application(Ogre.Bites.ApplicationContext):
51 def __init__(self):

Callers 1

createWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected