make some cnc helper functions not public

This commit is contained in:
Chris Forbes
2011-11-06 11:34:08 +13:00
parent 314db743fc
commit 40b89d177f
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
} }
} }
public void CloseWindow() void CloseWindow()
{ {
Game.ConnectionStateChanged -= ConnectionStateChanged; Game.ConnectionStateChanged -= ConnectionStateChanged;
Widget.CloseWindow(); Widget.CloseWindow();

View File

@@ -209,7 +209,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
}); });
} }
public void AddChatLine(Color c, string from, string text) void AddChatLine(Color c, string from, string text)
{ {
var template = chatTemplate.Clone(); var template = chatTemplate.Clone();
var nameLabel = template.GetWidget<LabelWidget>("NAME"); var nameLabel = template.GetWidget<LabelWidget>("NAME");