EdMouse.dcl 332 Bytes
Newer Older
Diederik van Arkel's avatar
Diederik van Arkel committed
1
2
definition module EdMouse

3
// handling mouse events
Diederik van Arkel's avatar
Diederik van Arkel committed
4

5
6
7
from	StdIOCommon		import :: MouseState
from	StdPSt			import :: PSt
import	EdMonad, EdCommon
Diederik van Arkel's avatar
Diederik van Arkel committed
8
9
10
11
12

editWindowMouse :: MouseState (!EditState, !PSt PLocState) -> (EditState, PSt PLocState)
// editWindowMouse: handles mouse events in the edit window

noMouseMoved :: !MouseState -> Bool