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