2025-11-22 02:16:10 +01:00
|
|
|
|
using System.Runtime.Versioning;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ElectronNET.API.Entities
|
2017-10-14 00:06:58 +02:00
|
|
|
|
{
|
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 enum FileIconSize
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// small - 16x16 (per app.getFileIcon size mapping).
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// </summary>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
small,
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// normal - 32x32 (per app.getFileIcon size mapping).
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// </summary>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
normal,
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// large - 48x48 on Linux, 32x32 on Windows, unsupported on macOS (per app.getFileIcon size mapping).
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
[SupportedOSPlatform("Linux")]
|
|
|
|
|
|
[SupportedOSPlatform("Windows")]
|
2017-10-14 00:06:58 +02:00
|
|
|
|
large
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|