diff -r 5a24e79384be -r ac698f4e1b36 Interface/Interface.cs --- a/Interface/Interface.cs Mon Sep 22 13:21:00 2014 +0200 +++ b/Interface/Interface.cs Mon Sep 22 16:04:26 2014 +0200 @@ -19,7 +19,57 @@ /// TextField can be send to our server to be displayed on the screen. /// [DataContract] - public class TextField + public class TableLayout + { + public TableLayout() + { + ColumnCount = 0; + RowCount = 0; + //Alignment = ContentAlignment.MiddleLeft; + } + + public TableLayout(int aColumnCount, int aRowCount) + { + ColumnCount = aColumnCount; + RowCount = aRowCount; + } + + [DataMember] + public int ColumnCount { get; set; } + + [DataMember] + public int RowCount { get; set; } + + [DataMember] + public List Cells { get; set; } + } + + /// + /// + /// + [DataContract] + public class DataField + { + [DataMember] + public int Column { get; set; } + + [DataMember] + public int Row { get; set; } + + [DataMember] + public int ColumnSpan { get; set; } + + [DataMember] + public int RowSpan { get; set; } + + } + + + /// + /// TextField can be send to our server to be displayed on the screen. + /// + [DataContract] + public class TextField : DataField { public TextField() { @@ -64,6 +114,13 @@ [OperationContract(IsOneWay = true)] void SetName(string aClientName); + + /// + /// + /// + [OperationContract(IsOneWay = true)] + void SetLayout(TableLayout aLayout); + /// /// Put the given text in the given field on your display. /// Fields are often just lines of text.