]>
Commit | Line | Data |
---|---|---|
63cafd27 JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: playerdg.h | |
3 | // Purpose: Forty Thieves patience game | |
4 | // Author: Chris Breeze | |
5 | // Modified by: | |
6 | // Created: 21/07/97 | |
63cafd27 | 7 | // Copyright: (c) 1993-1998 Chris Breeze |
010216e3 | 8 | // Licence: wxWindows licence |
63cafd27 | 9 | //--------------------------------------------------------------------------- |
be5a51fb | 10 | // Last modified: 22nd July 1998 - ported to wxWidgets 2.0 |
63cafd27 JS |
11 | ///////////////////////////////////////////////////////////////////////////// |
12 | #ifndef _PLAYERDG_H_ | |
13 | #define _PLAYERDG_H_ | |
14 | ||
15 | class PlayerSelectionDialog : public wxDialog | |
16 | { | |
17 | public: | |
010216e3 | 18 | PlayerSelectionDialog(wxWindow* parent, ScoreFile* file); |
254a2129 | 19 | virtual ~PlayerSelectionDialog(){}; |
63cafd27 | 20 | |
010216e3 WS |
21 | const wxString& GetPlayersName(); |
22 | void ButtonCallback(wxCommandEvent& event); | |
23 | void SelectCallback(wxCommandEvent& event); | |
24 | void OnSize(wxSizeEvent& event); | |
63cafd27 | 25 | |
010216e3 | 26 | DECLARE_EVENT_TABLE() |
63cafd27 JS |
27 | |
28 | protected: | |
010216e3 WS |
29 | friend void SelectCallback(wxListBox&, wxCommandEvent&); |
30 | void OnCloseWindow(wxCloseEvent& event); | |
63cafd27 JS |
31 | |
32 | private: | |
010216e3 WS |
33 | ScoreFile* m_scoreFile; |
34 | wxString m_player; | |
35 | wxButton* m_OK; | |
36 | wxButton* m_cancel; | |
37 | wxTextCtrl* m_textField; | |
63cafd27 JS |
38 | }; |
39 | ||
40 | #endif |