mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Single Color Modes
This commit is contained in:
@@ -157,34 +157,40 @@ namespace GHelper
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static Dictionary<int, string> _modesSingleColor = new Dictionary<int, string>
|
||||||
|
{
|
||||||
|
{ 0, Properties.Strings.AuraStatic },
|
||||||
|
{ 1, Properties.Strings.AuraBreathe },
|
||||||
|
{ 10, Properties.Strings.AuraStrobe },
|
||||||
|
};
|
||||||
|
|
||||||
static Dictionary<int, string> _modes = new Dictionary<int, string>
|
static Dictionary<int, string> _modes = new Dictionary<int, string>
|
||||||
{
|
{
|
||||||
{ 0, Properties.Strings.AuraStatic },
|
{ 0, Properties.Strings.AuraStatic },
|
||||||
{ 1, Properties.Strings.AuraBreathe },
|
{ 1, Properties.Strings.AuraBreathe },
|
||||||
{ 2, Properties.Strings.AuraColorCycle },
|
{ 2, Properties.Strings.AuraColorCycle },
|
||||||
{ 3, Properties.Strings.AuraRainbow },
|
{ 3, Properties.Strings.AuraRainbow },
|
||||||
{ 10, Properties.Strings.AuraStrobe },
|
{ 10, Properties.Strings.AuraStrobe },
|
||||||
{ HEATMAP, "Heatmap"},
|
{ HEATMAP, "Heatmap"},
|
||||||
{ GPUMODE, "GPU Mode" }
|
{ GPUMODE, "GPU Mode" }
|
||||||
};
|
};
|
||||||
|
|
||||||
static Dictionary<int, string> _modesStrix = new Dictionary<int, string>
|
static Dictionary<int, string> _modesStrix = new Dictionary<int, string>
|
||||||
{
|
{
|
||||||
{ 0, Properties.Strings.AuraStatic },
|
{ 0, Properties.Strings.AuraStatic },
|
||||||
{ 1, Properties.Strings.AuraBreathe },
|
{ 1, Properties.Strings.AuraBreathe },
|
||||||
{ 2, Properties.Strings.AuraColorCycle },
|
{ 2, Properties.Strings.AuraColorCycle },
|
||||||
{ 3, Properties.Strings.AuraRainbow },
|
{ 3, Properties.Strings.AuraRainbow },
|
||||||
{ 4, "Star" },
|
{ 4, "Star" },
|
||||||
{ 5, "Rain" },
|
{ 5, "Rain" },
|
||||||
{ 6, "Highlight" },
|
{ 6, "Highlight" },
|
||||||
{ 7, "Laser" },
|
{ 7, "Laser" },
|
||||||
{ 8, "Ripple" },
|
{ 8, "Ripple" },
|
||||||
{ 10, Properties.Strings.AuraStrobe},
|
{ 10, Properties.Strings.AuraStrobe},
|
||||||
{ 11, "Comet" },
|
{ 11, "Comet" },
|
||||||
{ 12, "Flash" },
|
{ 12, "Flash" },
|
||||||
{ HEATMAP, "Heatmap"}
|
{ HEATMAP, "Heatmap"}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
public static Dictionary<int, string> GetModes()
|
public static Dictionary<int, string> GetModes()
|
||||||
@@ -196,10 +202,7 @@ namespace GHelper
|
|||||||
|
|
||||||
if (isSingleColor)
|
if (isSingleColor)
|
||||||
{
|
{
|
||||||
_modes.Remove(2);
|
return _modesSingleColor;
|
||||||
_modes.Remove(3);
|
|
||||||
_modes.Remove(HEATMAP);
|
|
||||||
_modes.Remove(GPUMODE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (AppConfig.IsAdvantageEdition())
|
if (AppConfig.IsAdvantageEdition())
|
||||||
|
|||||||
Reference in New Issue
Block a user