make all other engine widgets public, for Gecko

This commit is contained in:
Chris Forbes
2010-11-07 09:19:29 +13:00
parent fcb7c845ba
commit 4a0b78c1e6
8 changed files with 9 additions and 13 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -15,7 +15,7 @@ using OpenRA.Support;
namespace OpenRA.Widgets
{
class PerfGraphWidget : Widget
public class PerfGraphWidget : Widget
{
public PerfGraphWidget() : base() { }

View File

@@ -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 = "";

View File

@@ -23,7 +23,7 @@ namespace OpenRA.Widgets
Right = 8
}
class ViewportScrollControllerWidget : Widget
public class ViewportScrollControllerWidget : Widget
{
public int EdgeScrollThreshold = 15;

View File

@@ -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

View File

@@ -8,8 +8,8 @@
*/
#endregion
using System.Linq;
using System.Collections.Generic;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Widgets;

View File

@@ -18,7 +18,7 @@ using OpenRA.Traits;
namespace OpenRA.Widgets
{
class WorldInteractionControllerWidget : Widget
public class WorldInteractionControllerWidget : Widget
{
readonly World world;
[ObjectCreator.UseCtor]