make all other engine widgets public, for Gecko
This commit is contained in:
@@ -20,7 +20,7 @@ namespace OpenRA.Widgets
|
|||||||
// this emulates the previous chat support, with one improvement: shift+enter can toggle the
|
// 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.
|
// team/all mode *while* composing, not just on beginning to compose.
|
||||||
|
|
||||||
class ChatEntryWidget : Widget
|
public class ChatEntryWidget : Widget
|
||||||
{
|
{
|
||||||
string content = "";
|
string content = "";
|
||||||
bool composing = false;
|
bool composing = false;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using OpenRA.Graphics;
|
|||||||
|
|
||||||
namespace OpenRA.Widgets
|
namespace OpenRA.Widgets
|
||||||
{
|
{
|
||||||
class ListBoxWidget : Widget
|
public class ListBoxWidget : Widget
|
||||||
{
|
{
|
||||||
public readonly string Background = "dialog3";
|
public readonly string Background = "dialog3";
|
||||||
public readonly int ScrollbarWidth = 24;
|
public readonly int ScrollbarWidth = 24;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ using OpenRA.Support;
|
|||||||
|
|
||||||
namespace OpenRA.Widgets
|
namespace OpenRA.Widgets
|
||||||
{
|
{
|
||||||
class PerfGraphWidget : Widget
|
public class PerfGraphWidget : Widget
|
||||||
{
|
{
|
||||||
public PerfGraphWidget() : base() { }
|
public PerfGraphWidget() : base() { }
|
||||||
|
|
||||||
|
|||||||
@@ -9,15 +9,12 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
|
||||||
namespace OpenRA.Widgets
|
namespace OpenRA.Widgets
|
||||||
{
|
{
|
||||||
class ScrollingTextWidget : Widget
|
public class ScrollingTextWidget : Widget
|
||||||
{
|
{
|
||||||
public string Text = "";
|
public string Text = "";
|
||||||
private string ScrollingText = "";
|
private string ScrollingText = "";
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace OpenRA.Widgets
|
|||||||
Right = 8
|
Right = 8
|
||||||
}
|
}
|
||||||
|
|
||||||
class ViewportScrollControllerWidget : Widget
|
public class ViewportScrollControllerWidget : Widget
|
||||||
{
|
{
|
||||||
public int EdgeScrollThreshold = 15;
|
public int EdgeScrollThreshold = 15;
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ using System;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using OpenRA.FileFormats;
|
using OpenRA.FileFormats;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Support;
|
|
||||||
|
|
||||||
namespace OpenRA.Widgets
|
namespace OpenRA.Widgets
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
*/
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Linq;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using OpenRA.FileFormats;
|
using OpenRA.FileFormats;
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Widgets
|
namespace OpenRA.Widgets
|
||||||
{
|
{
|
||||||
class WorldInteractionControllerWidget : Widget
|
public class WorldInteractionControllerWidget : Widget
|
||||||
{
|
{
|
||||||
readonly World world;
|
readonly World world;
|
||||||
[ObjectCreator.UseCtor]
|
[ObjectCreator.UseCtor]
|
||||||
|
|||||||
Reference in New Issue
Block a user