2017-10-14 00:06:58 +02:00
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public class FileIconOptions
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// The requested icon size string passed to app.getFileIcon:
|
|
|
|
|
|
/// "small" (16x16), "normal" (32x32), or "large" (48x48 on Linux, 32x32 on Windows; unsupported on macOS).
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// </summary>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public string Size { get; private set; }
|
|
|
|
|
|
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Initializes a new instance of the <see cref="FileIconOptions"/> class.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="fileIconSize">Size of the file icon.</param>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public FileIconOptions(FileIconSize fileIconSize)
|
|
|
|
|
|
{
|
|
|
|
|
|
Size = fileIconSize.ToString();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|