Changeset 165 for trunk/src/highscores_dialog.h
- Timestamp:
- 09/27/2008 05:56:06 PM (4 years ago)
- File:
-
- 1 moved
-
trunk/src/highscores_dialog.h (moved) (moved from trunk/src/HighScoreDialog.h) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/highscores_dialog.h
r82 r165 1 // $Header$2 1 /*************************************************************************** 3 * Copyright (C) 2006 by Guy Rutenberg *2 * Copyright (C) 2006-2008 by Guy Rutenberg * 4 3 * guyrutenberg@gmail.com * 5 4 * * … … 19 18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 20 19 ***************************************************************************/ 21 #ifndef HIGHSCOREDIALOG_INC22 #define HIGHSCOREDIALOG_INC20 #ifndef OPENYAHTZEE_HIGHSCORES_DIALOG_INC 21 #define OPENYAHTZEE_HIGHSCORES_DIALOG_INC 23 22 24 #include "HighScoreTableDB.h" 23 #include "configuration.h" 24 #include <wx/wx.h> 25 #include <wx/dialog.h> 26 #include <wx/listctrl.h> 25 27 26 class HighScoreDialog : public wxDialog 28 namespace highscores_dialog { 29 30 class HighscoresDialog : public wxDialog 27 31 { 28 32 public: 29 High ScoreDialog(wxWindow* parent,wxWindowID id,HighScoreTableDB* highscoredb);33 HighscoresDialog(wxWindow* parent,configuration::Configuration* config, int highlight_rank = 0); 30 34 35 void onClose(wxCommandEvent& event); 31 36 private: 37 void createControls(); 38 void loadData( ); 39 void doLayout(); 40 void connectEventTable(); 32 41 42 int highlight_rank; 43 configuration::Configuration* m_config; 44 45 wxListCtrl *highscoreslist; 33 46 }; 47 48 } 34 49 35 50
Note: See TracChangeset
for help on using the changeset viewer.
