Display width and height to long?

This commit is contained in:
Matt Nadareski
2020-09-04 10:39:37 -07:00
parent 120dcd6c4a
commit de656f003a
4 changed files with 33 additions and 15 deletions

View File

@@ -199,8 +199,8 @@ namespace SabreTools.Library.Filtering
public FilterItem<DisplayType> DatItem_DisplayType { get; private set; } = new FilterItem<DisplayType>() { Positive = DisplayType.NULL, Negative = DisplayType.NULL };
public FilterItem<long?> DatItem_Rotate { get; private set; } = new FilterItem<long?>() { Positive = null, Negative = null, Neutral = null };
public FilterItem<bool?> DatItem_FlipX { get; private set; } = new FilterItem<bool?>() { Neutral = null };
public FilterItem<string> DatItem_Width { get; private set; } = new FilterItem<string>();
public FilterItem<string> DatItem_Height { get; private set; } = new FilterItem<string>();
public FilterItem<long?> DatItem_Width { get; private set; } = new FilterItem<long?>() { Positive = null, Negative = null, Neutral = null };
public FilterItem<long?> DatItem_Height { get; private set; } = new FilterItem<long?>() { Positive = null, Negative = null, Neutral = null };
public FilterItem<string> DatItem_Refresh { get; private set; } = new FilterItem<string>();
public FilterItem<string> DatItem_PixClock { get; private set; } = new FilterItem<string>();
public FilterItem<string> DatItem_HTotal { get; private set; } = new FilterItem<string>();
@@ -847,11 +847,11 @@ namespace SabreTools.Library.Filtering
break;
case Field.DatItem_Width:
SetStringFilter(DatItem_Width, value, negate);
SetOptionalLongFilter(DatItem_Width, value, negate);
break;
case Field.DatItem_Height:
SetStringFilter(DatItem_Height, value, negate);
SetOptionalLongFilter(DatItem_Height, value, negate);
break;
case Field.DatItem_Refresh: