Changeset 2019 for trunk/sources/HeuristicLab.Visualization/3.2
- Timestamp:
- 06/04/09 21:50:11 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Visualization/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/3.2/IMouseEventListener.cs
r1530 r2019 3 3 4 4 namespace HeuristicLab.Visualization { 5 /// <summary> 6 /// Interface for MouseEventListeners like ZoomListener, PanListener etc. to simplify state handling. 7 /// </summary> 5 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> 6 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> 7 21 void MouseUp(object sender, MouseEventArgs e); 8 22 } -
trunk/sources/HeuristicLab.Visualization/3.2/PanListener.cs
r2017 r2019 3 3 4 4 namespace HeuristicLab.Visualization { 5 /// <summary> 6 /// Supports the state panning. 7 /// </summary> 5 8 public class PanListener : IMouseEventListener { 6 9 private Point startPoint; 7 10 11 /// <summary> 12 /// This event will be fired every MouseMove call. 13 /// </summary> 8 14 public event MoveHandler Pan; 9 15 -
trunk/sources/HeuristicLab.Visualization/3.2/ZoomListener.cs
r2016 r2019 4 4 5 5 namespace HeuristicLab.Visualization { 6 /// <summary> 7 /// Supports the state zooming. 8 /// </summary> 6 9 public class ZoomListener : IMouseEventListener { 7 10 private readonly Point startPoint; 8 11 12 /// <summary> 13 /// This event will be fired every MouseMove call. 14 /// </summary> 9 15 public event RectangleHandler DrawRectangle; 16 17 /// <summary> 18 /// This event will be fired on the MouseUp call. 19 /// </summary> 10 20 public event RectangleHandler Zoom; 11 21
Note: See TracChangeset
for help on using the changeset viewer.