Chatnachrichten werden jetzt angezeigt
This commit is contained in:
@@ -6,7 +6,7 @@ namespace WorldOfPeacecraft
|
||||
public class ChatPanel : Panel
|
||||
{
|
||||
private ChatInputBox ChatInput;
|
||||
private TextBox ChatOutput;
|
||||
private ChatOutputBox ChatOutput;
|
||||
private IBackend Backend;
|
||||
|
||||
public ChatPanel (IBackend backend)
|
||||
@@ -14,9 +14,7 @@ namespace WorldOfPeacecraft
|
||||
Backend = backend;
|
||||
ChatInput = new ChatInputBox ();
|
||||
ChatInput.ChatMessageSubmitted += OnChatMessageSent;
|
||||
ChatOutput = new TextBox ();
|
||||
ChatOutput.ReadOnly = true;
|
||||
ChatOutput.Multiline = true;
|
||||
ChatOutput = new ChatOutputBox (backend);
|
||||
|
||||
this.Controls.Add (ChatInput);
|
||||
this.Controls.Add (ChatOutput);
|
||||
@@ -42,5 +40,10 @@ namespace WorldOfPeacecraft
|
||||
}
|
||||
// TODO Move focus to board?
|
||||
}
|
||||
|
||||
public void UpdateData()
|
||||
{
|
||||
ChatOutput.UpdateData ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user