# coding=utf-8 from vanilla import * from defconAppKit.windows.baseWindow import BaseWindowController from mojo.events import addObserver, removeObserver import math class ShowMouseCoordinatesTextBox(TextBox): def __init__( *args, **kwargs): super(ShowMouseCoordinatesTextBox, self).__init__(*args, **kwargs) addObserver("mouseMoved", "mouseMoved") addObserver("mouseDragged", "mouseDragged") addObse