Files correlati : Commento : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
42 lines
1.3 KiB
C++
42 lines
1.3 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: playerdg.h
|
|
// Purpose: Forty Thieves patience game
|
|
// Author: Chris Breeze
|
|
// Modified by:
|
|
// Created: 21/07/97
|
|
// RCS-ID: $Id: playerdg.h 29660 2004-10-05 15:38:40Z ABX $
|
|
// Copyright: (c) 1993-1998 Chris Breeze
|
|
// Licence: wxWindows licence
|
|
//---------------------------------------------------------------------------
|
|
// Last modified: 22nd July 1998 - ported to wxWidgets 2.0
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#ifndef _PLAYERDG_H_
|
|
#define _PLAYERDG_H_
|
|
|
|
class PlayerSelectionDialog : public wxDialog
|
|
{
|
|
public:
|
|
PlayerSelectionDialog(wxWindow* parent, ScoreFile* file);
|
|
virtual ~PlayerSelectionDialog(){};
|
|
|
|
const wxString& GetPlayersName();
|
|
void ButtonCallback(wxCommandEvent& event);
|
|
void SelectCallback(wxCommandEvent& event);
|
|
void OnSize(wxSizeEvent& event);
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
protected:
|
|
friend void SelectCallback(wxListBox&, wxCommandEvent&);
|
|
void OnCloseWindow(wxCloseEvent& event);
|
|
|
|
private:
|
|
ScoreFile* m_scoreFile;
|
|
wxString m_player;
|
|
wxButton* m_OK;
|
|
wxButton* m_cancel;
|
|
wxTextCtrl* m_textField;
|
|
};
|
|
|
|
#endif
|