diff --git a/osu.Game.Tests/Visual/UserInterface/TestSceneStatefulMenuItem.cs b/osu.Game.Tests/Visual/UserInterface/TestSceneStatefulMenuItem.cs
index 1eff30d15e..2ada5b927b 100644
--- a/osu.Game.Tests/Visual/UserInterface/TestSceneStatefulMenuItem.cs
+++ b/osu.Game.Tests/Visual/UserInterface/TestSceneStatefulMenuItem.cs
@@ -18,7 +18,7 @@ namespace osu.Game.Tests.Visual.UserInterface
{
typeof(OsuMenu),
typeof(StatefulMenuItem),
- typeof(ThreeStateMenuItem),
+ typeof(TernaryStateMenuItem),
typeof(DrawableStatefulMenuItem),
};
@@ -39,9 +39,9 @@ namespace osu.Game.Tests.Visual.UserInterface
Origin = Anchor.Centre,
Items = new[]
{
- new ThreeStateMenuItem("First"),
- new ThreeStateMenuItem("Second") { State = { BindTarget = state } },
- new ThreeStateMenuItem("Third") { State = { Value = TernaryState.True } },
+ new TernaryStateMenuItem("First"),
+ new TernaryStateMenuItem("Second") { State = { BindTarget = state } },
+ new TernaryStateMenuItem("Third") { State = { Value = TernaryState.True } },
}
};
});
diff --git a/osu.Game/Graphics/UserInterface/TernaryState.cs b/osu.Game/Graphics/UserInterface/TernaryState.cs
index 784122e35c..d4de28044f 100644
--- a/osu.Game/Graphics/UserInterface/TernaryState.cs
+++ b/osu.Game/Graphics/UserInterface/TernaryState.cs
@@ -15,7 +15,7 @@ namespace osu.Game.Graphics.UserInterface
///
/// The current state is a combination of and .
- /// The state becomes if the is pressed.
+ /// The state becomes if the is pressed.
///
Indeterminate,
diff --git a/osu.Game/Graphics/UserInterface/ThreeStateMenuItem.cs b/osu.Game/Graphics/UserInterface/TernaryStateMenuItem.cs
similarity index 69%
rename from osu.Game/Graphics/UserInterface/ThreeStateMenuItem.cs
rename to osu.Game/Graphics/UserInterface/TernaryStateMenuItem.cs
index c5b9edf3c4..2d9e2106d4 100644
--- a/osu.Game/Graphics/UserInterface/ThreeStateMenuItem.cs
+++ b/osu.Game/Graphics/UserInterface/TernaryStateMenuItem.cs
@@ -9,37 +9,37 @@ namespace osu.Game.Graphics.UserInterface
///
/// An with three possible states.
///
- public class ThreeStateMenuItem : StatefulMenuItem
+ public class TernaryStateMenuItem : StatefulMenuItem
{
///
- /// Creates a new .
+ /// Creates a new .
///
/// The text to display.
- /// The type of action which this performs.
- public ThreeStateMenuItem(string text, MenuItemType type = MenuItemType.Standard)
+ /// The type of action which this performs.
+ public TernaryStateMenuItem(string text, MenuItemType type = MenuItemType.Standard)
: this(text, type, null)
{
}
///
- /// Creates a new .
+ /// Creates a new .
///
/// The text to display.
- /// The type of action which this performs.
- /// A delegate to be invoked when this is pressed.
- public ThreeStateMenuItem(string text, MenuItemType type, Action action)
+ /// The type of action which this performs.
+ /// A delegate to be invoked when this is pressed.
+ public TernaryStateMenuItem(string text, MenuItemType type, Action action)
: this(text, getNextState, type, action)
{
}
///
- /// Creates a new .
+ /// Creates a new .
///
/// The text to display.
- /// A function that mutates a state to another state after this is pressed.
- /// The type of action which this performs.
- /// A delegate to be invoked when this is pressed.
- protected ThreeStateMenuItem(string text, Func changeStateFunc, MenuItemType type, Action action)
+ /// A function that mutates a state to another state after this is pressed.
+ /// The type of action which this performs.
+ /// A delegate to be invoked when this is pressed.
+ protected TernaryStateMenuItem(string text, Func changeStateFunc, MenuItemType type, Action action)
: base(text, changeStateFunc, type, action)
{
}