Fixed a lot of line issues, few auto

This commit is contained in:
Clint Rutkas
2019-12-12 13:44:06 -08:00
parent 9e4752b114
commit a187456ac3
10 changed files with 104 additions and 49 deletions

View File

@@ -84,7 +84,10 @@ namespace FancyZonesEditor
}
}
private int SplitterThickness { get { return Math.Max(((App)Application.Current).ZoneSettings.Spacing, 5); } }
private int SplitterThickness
{
get { return Math.Max(((App)Application.Current).ZoneSettings.Spacing, 5); }
}
private void UpdateSplitter()
{
@@ -238,8 +241,11 @@ namespace FancyZonesEditor
}
public event SplitEventHandler Split;
public event SplitEventHandler FullSplit;
public event MouseEventHandler MergeDrag;
public event MouseButtonEventHandler MergeComplete;
private Rectangle _splitter;
@@ -286,22 +292,4 @@ namespace FancyZonesEditor
}
}
}
public class SplitEventArgs : EventArgs
{
public SplitEventArgs() { }
public SplitEventArgs(Orientation orientation, double offset)
{
_orientation = orientation;
_offset = offset;
}
public Orientation Orientation { get { return _orientation; } }
public double Offset { get { return _offset; } }
private Orientation _orientation;
private double _offset;
}
public delegate void SplitEventHandler(object sender, SplitEventArgs args);
}