SystemTrayMenu/Config/MenuDefines.cs

39 lines
1.8 KiB
C#
Raw Normal View History

2020-03-17 02:45:19 +13:00
using System.Collections.Generic;
using System.Drawing;
using System.Reflection;
2019-07-05 05:04:14 +12:00
namespace SystemTrayMenu
{
internal static class MenuDefines
2019-07-05 05:04:14 +12:00
{
internal static string NotifyIconText = Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyTitleAttribute>().Title;
internal static readonly List<string> Languages =
2020-03-17 02:45:19 +13:00
new List<string>() { "en", "de" };
internal static readonly Color File = Color.White;
internal static readonly Color Folder = Color.White;
internal static readonly Color ColorSelectedItem = AppColors.Blue;
internal static readonly Color ColorOpenFolder = AppColors.Green;
internal static readonly Color ColorTitleWarning = AppColors.Red;
internal static readonly Color ColorTitleSelected = AppColors.Yellow;
internal static readonly Color ColorTitleBackground = AppColors.YellowSlightly;
internal const int KeySearchInterval = 1000;
internal const int MenuRowsHeight = 18;
internal const int LengthMax = 37;
internal const int Scrollspeed = 4;
internal const int WaitMenuOpen = 200;
internal const int MenusMax = 50;
internal const int MaxClicksInQueue = 1;
internal const int TimeUntilClose = 1000;
2019-07-05 05:04:14 +12:00
}
internal static class AppColors
{
internal static readonly Color Blue = Color.FromArgb(204, 232, 255);
internal static readonly Color BlueSelectedInactive = Color.FromArgb(217, 217, 217);
internal static readonly Color Green = Color.FromArgb(194, 245, 222);
internal static readonly Color GreenBackgroundInactive = Color.FromArgb(217, 217, 217);
internal static readonly Color Red = Color.FromArgb(255, 204, 232);
internal static readonly Color Yellow = Color.LightYellow;
internal static readonly Color YellowSlightly = Color.Azure;
}
2019-07-05 05:04:14 +12:00
}