Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
- Fixed issue with saving and loading cache images.
  • Loading branch information
VashBaldeus committed Oct 29, 2021
1 parent 6eb05e8 commit 52cf581
Show file tree
Hide file tree
Showing 44 changed files with 1,075 additions and 157 deletions.
Binary file modified .vs/Screenshot_Editor/v16/.suo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
<Compile Include="Controllers\OcrService.cs" />
<Compile Include="ExtensionMethods.cs" />
<Compile Include="Models\CacheScreenshot.cs" />
<Compile Include="Models\DoNotCensorModel.cs" />
<Compile Include="Models\ImageModel.cs" />
<Compile Include="Models\NamesToReplace.cs" />
<Compile Include="Models\ParserSettings.cs" />
Expand Down
8 changes: 8 additions & 0 deletions GTAWorld Screenshot Editor/Models/CacheScreenshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ public ResolutionPreset Resolution
get => _res;
set { _res = value; OnPropertyChanged(); }
}

private ObservableCollection<NamesToReplace> _namesToCensor = new ObservableCollection<NamesToReplace>();

public ObservableCollection<NamesToReplace> NamesToCensor
{
get => _namesToCensor;
set { _namesToCensor = value; OnPropertyChanged(); }
}

[XmlIgnore]
public ICommand Command { get; set; }
Expand Down
43 changes: 43 additions & 0 deletions GTAWorld Screenshot Editor/Models/DoNotCensorModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
using System.Collections.ObjectModel;
using ExtensionMethods;

namespace GTAWorld_Screenshot_Editor.Models
{
public class ParserSettingsModel : OnPropertyChange
{
private DoNotCensor _doNotCensor = new DoNotCensor();

public DoNotCensor DoNotCensor
{
get => _doNotCensor;
set { _doNotCensor = value; OnPropertyChanged(); }
}

private ObservableCollection<Criteria> _filters = new ObservableCollection<Criteria>();

public ObservableCollection<Criteria> Filters
{
get => _filters;
set { _filters = value; OnPropertyChanged(); }
}
}

public class DoNotCensor : OnPropertyChange
{
private bool _money = true;

public bool Money
{
get => _money;
set { _money = value; OnPropertyChanged(); }
}

private bool _items = true;

public bool Items
{
get => _items;
set { _items = value; OnPropertyChanged(); }
}
}
}
4 changes: 2 additions & 2 deletions GTAWorld Screenshot Editor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.8.0")]
[assembly: AssemblyFileVersion("1.1.8.0")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
Loading

0 comments on commit 52cf581

Please sign in to comment.