Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/14/16 14:13:57 (8 years ago)
Author:
jkarder
Message:

#1265: worked on visualization

  • added shortcut handling prototype
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartModes/ZoomOutChartMode.cs

    r13717 r13762  
    3333    }
    3434
    35     public ZoomOutChartMode(ChartControl control) : base(control) { }
     35    public ZoomOutChartMode(ChartControl control) : base(control) {
     36      globalShortcuts.Add(new Shortcut(Keys.Z, Keys.Control | Keys.Shift) {
     37        DownAction = () => chartControl.SetTempChartMode(this),
     38        UpAction = () => chartControl.ResetTempChartMode()
     39      });
     40    }
    3641
    3742    public override void HandleOnMouseUp(object sender, MouseEventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.