Lugaru's Epsilon Programmer's Editor 14.04
Context:
|
Epsilon User's Manual and Reference > Primitives and EEL Subroutines > Input Primitives > The Mouse > Mouse Panningint mouse_panning; The mouse_panning variable and the mouse_panning_rate( ) primitive work together to support panning and auto-scroll with the Microsoft IntelliMouse (or any other three button mouse). The EEL subroutine that receives clicks of the third mouse button sets mouse_panning nonzero to tell Epsilon to begin panning and record the initial position of the mouse.
Then the subroutine can regularly call mouse_panning_rate( ) to
determine how quickly, and in what direction, to scroll. The
parameter The mouse_panning_rate( ) primitive uses these figures, plus the current position of the mouse, to return the scroll rate in milliseconds per screen line. It returns a positive number if Epsilon should scroll down, a negative number to scroll up, or zero if Epsilon should not scroll. See the previous section for information on what happens when you roll the wheel on a wheeled mouse instead of clicking it.
|