diff --git a/OpenRA.Game/Widgets/ChatEntryWidget.cs b/OpenRA.Game/Widgets/ChatEntryWidget.cs index 884c2ece6c..0c0e0ed261 100755 --- a/OpenRA.Game/Widgets/ChatEntryWidget.cs +++ b/OpenRA.Game/Widgets/ChatEntryWidget.cs @@ -20,7 +20,7 @@ namespace OpenRA.Widgets // this emulates the previous chat support, with one improvement: shift+enter can toggle the // team/all mode *while* composing, not just on beginning to compose. - class ChatEntryWidget : Widget + public class ChatEntryWidget : Widget { string content = ""; bool composing = false; diff --git a/OpenRA.Game/Widgets/ListBoxWidget.cs b/OpenRA.Game/Widgets/ListBoxWidget.cs index 0adeb75c74..dfc8255e91 100644 --- a/OpenRA.Game/Widgets/ListBoxWidget.cs +++ b/OpenRA.Game/Widgets/ListBoxWidget.cs @@ -13,7 +13,7 @@ using OpenRA.Graphics; namespace OpenRA.Widgets { - class ListBoxWidget : Widget + public class ListBoxWidget : Widget { public readonly string Background = "dialog3"; public readonly int ScrollbarWidth = 24; diff --git a/OpenRA.Game/Widgets/PerfGraphWidget.cs b/OpenRA.Game/Widgets/PerfGraphWidget.cs index 3ed731e2e8..5b4ecec32c 100644 --- a/OpenRA.Game/Widgets/PerfGraphWidget.cs +++ b/OpenRA.Game/Widgets/PerfGraphWidget.cs @@ -15,7 +15,7 @@ using OpenRA.Support; namespace OpenRA.Widgets { - class PerfGraphWidget : Widget + public class PerfGraphWidget : Widget { public PerfGraphWidget() : base() { } diff --git a/OpenRA.Game/Widgets/ScrollingTextWidget.cs b/OpenRA.Game/Widgets/ScrollingTextWidget.cs index 5927ec2c44..f9e554dcda 100755 --- a/OpenRA.Game/Widgets/ScrollingTextWidget.cs +++ b/OpenRA.Game/Widgets/ScrollingTextWidget.cs @@ -9,15 +9,12 @@ #endregion using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Drawing; using OpenRA.Graphics; namespace OpenRA.Widgets { - class ScrollingTextWidget : Widget + public class ScrollingTextWidget : Widget { public string Text = ""; private string ScrollingText = ""; diff --git a/OpenRA.Game/Widgets/ViewportScrollControllerWidget.cs b/OpenRA.Game/Widgets/ViewportScrollControllerWidget.cs index 15f091faae..b6bb69dc4e 100755 --- a/OpenRA.Game/Widgets/ViewportScrollControllerWidget.cs +++ b/OpenRA.Game/Widgets/ViewportScrollControllerWidget.cs @@ -23,7 +23,7 @@ namespace OpenRA.Widgets Right = 8 } - class ViewportScrollControllerWidget : Widget + public class ViewportScrollControllerWidget : Widget { public int EdgeScrollThreshold = 15; diff --git a/OpenRA.Game/Widgets/VqaPlayerWidget.cs b/OpenRA.Game/Widgets/VqaPlayerWidget.cs index 6257d37cb2..e44e821db7 100644 --- a/OpenRA.Game/Widgets/VqaPlayerWidget.cs +++ b/OpenRA.Game/Widgets/VqaPlayerWidget.cs @@ -11,9 +11,8 @@ using System; using System.Drawing; using OpenRA.FileFormats; -using OpenRA.Graphics; -using OpenRA.Support; - +using OpenRA.Graphics; + namespace OpenRA.Widgets { public class VqaPlayerWidget : Widget diff --git a/OpenRA.Game/Widgets/WidgetLoader.cs b/OpenRA.Game/Widgets/WidgetLoader.cs index 6982f1e0ae..1434901887 100644 --- a/OpenRA.Game/Widgets/WidgetLoader.cs +++ b/OpenRA.Game/Widgets/WidgetLoader.cs @@ -8,8 +8,8 @@ */ #endregion -using System.Linq; using System.Collections.Generic; +using System.Linq; using OpenRA.FileFormats; using OpenRA.Widgets; diff --git a/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs b/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs index 37138f4df1..193254fcfd 100644 --- a/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs +++ b/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs @@ -18,7 +18,7 @@ using OpenRA.Traits; namespace OpenRA.Widgets { - class WorldInteractionControllerWidget : Widget + public class WorldInteractionControllerWidget : Widget { readonly World world; [ObjectCreator.UseCtor]