Line | |
---|
1 | using System.Drawing;
|
---|
2 | using System.Windows.Forms;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Visualization {
|
---|
5 | /// <summary>
|
---|
6 | /// Interface for MouseEventListeners like ZoomListener, PanListener etc. to simplify state handling.
|
---|
7 | /// </summary>
|
---|
8 | public interface IMouseEventListener {
|
---|
9 | /// <summary>
|
---|
10 | /// Call this method on mouse move.
|
---|
11 | /// </summary>
|
---|
12 | /// <param name="sender"></param>
|
---|
13 | /// <param name="e"></param>
|
---|
14 | void MouseMove(object sender, MouseEventArgs e);
|
---|
15 |
|
---|
16 | /// <summary>
|
---|
17 | /// Call this method on mouse up.
|
---|
18 | /// </summary>
|
---|
19 | /// <param name="sender"></param>
|
---|
20 | /// <param name="e"></param>
|
---|
21 | void MouseUp(object sender, MouseEventArgs e);
|
---|
22 | }
|
---|
23 |
|
---|
24 | public delegate void MoveHandler(Point startPoint, Point endPoint);
|
---|
25 | public delegate void RectangleHandler(Rectangle rectangle);
|
---|
26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.