From a0f6fd68a56068a20e7186e2dd2d7daccfbce4aa Mon Sep 17 00:00:00 2001 From: Pavel Perminov Date: Wed, 26 Sep 2012 19:02:53 +0000 Subject: Chess4Net_MI 2010.0 release (106 rev. truncated adjusted copy) git-svn-id: http://svn.miranda-ng.org/main/trunk@1666 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Chess4Net/ChessBoardHeaderUnit.pas | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/Chess4Net/ChessBoardHeaderUnit.pas (limited to 'plugins/Chess4Net/ChessBoardHeaderUnit.pas') diff --git a/plugins/Chess4Net/ChessBoardHeaderUnit.pas b/plugins/Chess4Net/ChessBoardHeaderUnit.pas new file mode 100644 index 0000000000..26ffb341a7 --- /dev/null +++ b/plugins/Chess4Net/ChessBoardHeaderUnit.pas @@ -0,0 +1,21 @@ +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