diff options
Diffstat (limited to 'plugins/!NotAdopted/Chess4Net/ChessBoardHeaderUnit.pas')
-rw-r--r-- | plugins/!NotAdopted/Chess4Net/ChessBoardHeaderUnit.pas | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/Chess4Net/ChessBoardHeaderUnit.pas b/plugins/!NotAdopted/Chess4Net/ChessBoardHeaderUnit.pas new file mode 100644 index 0000000000..b0226e3321 --- /dev/null +++ b/plugins/!NotAdopted/Chess4Net/ChessBoardHeaderUnit.pas @@ -0,0 +1,27 @@ +////////////////////////////////////////////////////////////////////////////////
+// All code below is exclusively owned by author of Chess4Net - Pavel Perminov
+// (packpaul@mail.ru, packpaul1@gmail.com).
+// Any changes, modifications, borrowing and adaptation are a subject for
+// explicit permition from the owner.
+
+unit ChessBoardHeaderUnit;
+
+interface
+
+uses
+ Types;
+
+const
+ CHB_X = 20; CHB_Y = 6; // starting coordinates of A8 field
+
+function Size(const iX, iY: integer): TSize;
+
+implementation
+
+function Size(const iX, iY: integer): TSize;
+begin
+ Result.cx := iX;
+ Result.cy := iY;
+end;
+
+end.
|