Removing tiny icons
Prepping for improved folder views Fixing warnings
This commit is contained in:
parent
333ef89a9f
commit
0eec29e84d
43 changed files with 466 additions and 463 deletions
|
|
@ -27,12 +27,12 @@ of the authors and should not be interpreted as representing official policies,
|
|||
either expressed or implied, of the FreeBSD Project.
|
||||
*/
|
||||
|
||||
using MatterHackers.Agg;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using MatterHackers.Agg;
|
||||
|
||||
namespace MatterHackers.MatterControl.Library
|
||||
{
|
||||
|
|
@ -46,21 +46,21 @@ namespace MatterHackers.MatterControl.Library
|
|||
this.FileSize = fileSize;
|
||||
}
|
||||
|
||||
public override string ID => agg_basics.GetLongHashCode($"{this.Path}/{this.RelativePath}").ToString();
|
||||
|
||||
public string RelativePath { get; set; }
|
||||
public string AssetPath { get; } = null;
|
||||
|
||||
public string ContentType => System.IO.Path.GetExtension(this.Name).ToLower().Trim('.');
|
||||
|
||||
public string AssetPath { get; } = null;
|
||||
|
||||
public string FileName => System.IO.Path.GetFileName(this.Name);
|
||||
|
||||
/// <summary>
|
||||
// Gets the size, in bytes, of the current file.
|
||||
/// Gets the size, in bytes, of the current file.
|
||||
/// </summary>
|
||||
public long FileSize { get; private set; }
|
||||
|
||||
public override string ID => agg_basics.GetLongHashCode($"{this.Path}/{this.RelativePath}").ToString();
|
||||
|
||||
public string RelativePath { get; set; }
|
||||
|
||||
public async Task<StreamAndLength> GetStream(Action<double, string> reportProgress)
|
||||
{
|
||||
var memStream = await Task.Run(() =>
|
||||
|
|
@ -87,4 +87,4 @@ namespace MatterHackers.MatterControl.Library
|
|||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue