feat: add configurable hotkeys to cycle tabs

Adds two configurable hotkeys (plus the required code infrastructure to
handle configurable hotkeys) for cycling the active chat tab forward by
one and backwards by one.
This commit is contained in:
Dean Sheather
2024-07-11 00:32:13 +10:00
parent ac45afcf4c
commit 352088dfed
8 changed files with 272 additions and 28 deletions
+63
View File
@@ -1715,6 +1715,51 @@ namespace ChatTwo.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to ESC to clear.
/// </summary>
internal static string Keybind_EscToClear {
get {
return ResourceManager.GetString("Keybind_EscToClear", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Alt.
/// </summary>
internal static string Keybind_Modifier_Alt {
get {
return ResourceManager.GetString("Keybind_Modifier_Alt", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ctrl.
/// </summary>
internal static string Keybind_Modifier_Ctrl {
get {
return ResourceManager.GetString("Keybind_Modifier_Ctrl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Shift.
/// </summary>
internal static string Keybind_Modifier_Shift {
get {
return ResourceManager.GetString("Keybind_Modifier_Shift", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to none set.
/// </summary>
internal static string Keybind_None {
get {
return ResourceManager.GetString("Keybind_None", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Flexible.
/// </summary>
@@ -1940,6 +1985,24 @@ namespace ChatTwo.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Cycle chat tab backwards keybind.
/// </summary>
internal static string Options_ChatTabBackwardKeybind_Name {
get {
return ResourceManager.GetString("Options_ChatTabBackwardKeybind_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cycle chat tab forwards keybind.
/// </summary>
internal static string Options_ChatTabForwardKeybind_Name {
get {
return ResourceManager.GetString("Options_ChatTabForwardKeybind_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Clear the message history database.
/// </summary>