mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
fx cop & FZ editor part 1 of many (#11241)
* fixing first set of host of bugs * objects are already set to defaults * shifting to string.is null / empty * setters * fixing stylecop oops * checking in the FxCop dep but commenting it out for easier coming back
This commit is contained in:
@@ -75,18 +75,26 @@ namespace FancyZonesEditor
|
||||
|
||||
public struct Zone
|
||||
{
|
||||
public int Index;
|
||||
public int Left;
|
||||
public int Top;
|
||||
public int Right;
|
||||
public int Bottom;
|
||||
public int Index { get; set; }
|
||||
|
||||
public int Left { get; set; }
|
||||
|
||||
public int Top { get; set; }
|
||||
|
||||
public int Right { get; set; }
|
||||
|
||||
public int Bottom { get; set; }
|
||||
}
|
||||
|
||||
public struct Resizer
|
||||
{
|
||||
public Orientation Orientation;
|
||||
public List<int> NegativeSideIndices; // all zones to the left/up, in order
|
||||
public List<int> PositiveSideIndices; // all zones to the right/down, in order
|
||||
public Orientation Orientation { get; set; }
|
||||
|
||||
// all zones to the left/up, in order
|
||||
public List<int> NegativeSideIndices { get; set; }
|
||||
|
||||
// all zones to the right/down, in order
|
||||
public List<int> PositiveSideIndices { get; set; }
|
||||
}
|
||||
|
||||
private List<Zone> _zones;
|
||||
|
||||
Reference in New Issue
Block a user