From 194923c172167eb3fc33807ec8009b255f86337e Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 8 Oct 2012 09:10:06 +0000 Subject: Plugin is not adapted until someone can compile it and tell others how to do the same git-svn-id: http://svn.miranda-ng.org/main/trunk@1809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- .../!NotAdopted/Chess4Net/ChessBoardHeaderUnit.pas | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 plugins/!NotAdopted/Chess4Net/ChessBoardHeaderUnit.pas (limited to 'plugins/!NotAdopted/Chess4Net/ChessBoardHeaderUnit.pas') 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. -- cgit v1.2.3