1 /* 2 * Copyright 2007, Ralf Schülke, teammaui@web.de. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef PAIRS_WINDOW_H 6 #define PAIRS_WINDOW_H 7 8 #include <Window.h> 9 10 class PairsView; 11 class BMessageRunner; 12 13 14 class PairsWindow : public BWindow { 15 public: 16 PairsWindow(); 17 virtual ~PairsWindow(); 18 19 virtual void MessageReceived(BMessage* message); 20 21 private: 22 BView* fBackgroundView; 23 PairsView* fPairsView; 24 BMessageRunner* fPairComparing; 25 bool fIsFirstClick; 26 bool fIsPairsActive; 27 int fPairCard; 28 int fPairCardTmp; 29 int fButtonTmp; 30 int fButton; 31 int fButtonClicks; 32 int fFinishPairs; 33 }; 34 35 #endif // PAIRS_WINDOW_H 36