ContextHandler

Module Contents

MODE_ZOOM = 0
MODE_ROTATION = 1
MODE_LIGHT = 2
NUMBER_OF_MODES = 3
CLIC_LEFT = 0
CLIC_RIGHT = 1
class SpecialButtonsMapping
class MyText(color, fontSize, theStr, windowPosition)
class ContextHandler
set_specialButtonsMapping(self, theSpecialButtonsMapping)
set_deviceDrawer(self, theDeviceDrawer)
set_deviceToDraw(self, theDeviceToDraw)
resizeWindowAction(self, new_width, new_height)
mouseWheelAction(self, deltaAngle)
mouseClicAction(self, button, my_x, y)
mouseMotionAction(self, my_x, y)
keyboardPushAction(self, key)
keyboardReleaseAction(self, key, my_x, y)
__draw_axis__(self)
redraw(self)
get_text_to_write(self)
__lightingInit__(self)
initialize(self)
__reset__(self)