2 * Copyright 2008 Ralf Schülke, ralf.schuelke@googlemail.com.
3 * Copyright 2010 Adam Smith <adamd.smith@utoronto.ca>
4 * Copyright 2014 Haiku, Inc. All rights reserved.
6 * Distributed under the terms of the MIT License.
9 * Ralf Schülke, ralf.schuelke@googlemail.com
10 * John Scipione, jscipione@gmail.com
11 * Adam Smith, adamd.smith@utoronto.ca
13 #ifndef PAIRS_WINDOW_H
14 #define PAIRS_WINDOW_H
25 class PairsWindow
: public BWindow
{
28 virtual ~PairsWindow();
30 virtual void MessageReceived(BMessage
* message
);
33 void SetGameSize(uint8 rows
, uint8 cols
);
36 void _MakeGameView(uint8 rows
, uint8 cols
);
38 void _ResizeWindow(uint8 rows
, uint8 cols
);
40 BView
* fBackgroundView
;
41 PairsView
* fPairsView
;
43 BMessageRunner
* fPairComparing
;
46 int32 fPairCardPosition
;
47 int32 fPairCardTmpPosition
;
48 int32 fButtonTmpPosition
;
49 int32 fButtonPosition
;
55 #endif // PAIRS_WINDOW_H