SystemTrayMenu/MenuDefines.cs

47 lines
1.5 KiB
C#
Raw Normal View History

2020-03-17 02:45:19 +13:00
using System.Collections.Generic;
using System.Drawing;
2019-07-05 05:04:14 +12:00
namespace SystemTrayMenu
{
public static class MenuDefines
{
2020-03-17 02:45:19 +13:00
public static readonly List<string> Languages =
new List<string>() { "en", "de" };
2019-07-05 05:04:14 +12:00
// windows explorer background white
public static Color File = Color.White;
public static Color Folder = Color.White;
// windows explorer selected text
public static Color FileHover = Color.FromArgb(204, 232, 255);
// windows explorer highlighted text
public static Color FolderOpen = Color.FromArgb(229, 243, 255);
public static Color Background = Color.FromArgb(229, 243, 255);
internal static Color KeyBoardSelection = Color.FromArgb(204, 232, 255);
2019-07-05 05:04:14 +12:00
internal static int KeySearchInterval = 1000;
public const int MenuRowsHeight = 18;
public const int LengthMax = 37;
public const int ButtonTextPaddingLeft = 18;
2019-11-19 08:11:55 +13:00
public const int ButtonTextPaddingRight = 12;
2019-07-05 05:04:14 +12:00
public const int Scrollspeed = 4;
public const int WaitMenuOpen = 200;
// 60 fps => 1000ms/60fps =~ 16.6ms
public const int IntervalFade = 16;
// 60 fps => 1000ms/60fps =~ 16.6ms
public const int IntervalLoad = 16;
public const double OpacityHalfValue = 0.80;
public const double OpacityInStep = 0.20;
public const double OpacityOutStep = 0.05;
public const double OpacityHalfStep = 0.01;
public const int MenusMax = 50;
2020-03-21 23:14:16 +13:00
public static int MaxClicksInQueue = 1;
2019-07-05 05:04:14 +12:00
}
}