Changeset 172
- Timestamp:
- 10/04/2008 07:58:00 AM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
-
MainFrame.cpp (modified) (1 diff)
-
highscores_dialog.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MainFrame.cpp
r170 r172 143 143 144 144 //insert menu items into menu Help 145 helpMenu->Append(ID_CHECK_FOR_UPDATES, wxT("&Check for Updates"), 146 wxT("Check for new version of the game via the web")); 145 helpMenu->Append(ID_CHECK_FOR_UPDATES, wxT("&Check for Updates")); 147 146 helpMenu->AppendSeparator(); 148 helpMenu->Append(ID_SENDCOMMENT, wxT("&Send a Comment to Developers"), 149 wxT("Send a comment to the developers of the game")); 147 helpMenu->Append(ID_SENDCOMMENT, wxT("&Send a Comment to Developers")); 150 148 helpMenu->AppendSeparator(); 151 helpMenu->Append(wxID_ABOUT, wxT("&About...\tF1"), 152 wxT("Show about dialog")); 149 helpMenu->Append(wxID_ABOUT, wxT("&About...\tF1")); 153 150 154 151 //insert menu items into menu Game 155 gameMenu->Append(wxID_NEW,wxT("&New Game\tF2") ,wxT("Start a new game"));156 gameMenu->Append(wxID_UNDO,wxT("&Undo\tC TRL+Z"),wxT("Undo the last move"));157 gameMenu->Append(ID_SHOWHIGHSCORE,wxT(" High &Scores"),wxT("Show high-scores table"));158 gameMenu->Append(ID_SETTINGS,wxT("Settings") ,wxT("Show settings dialog"));152 gameMenu->Append(wxID_NEW,wxT("&New Game\tF2")); 153 gameMenu->Append(wxID_UNDO,wxT("&Undo\tCtrl+Z")); 154 gameMenu->Append(ID_SHOWHIGHSCORE,wxT("Show Highscores\tCtrl+H")); 155 gameMenu->Append(ID_SETTINGS,wxT("Settings")); 159 156 gameMenu->Append(wxID_EXIT); 160 157 -
trunk/src/highscores_dialog.cpp
r167 r172 45 45 void HighscoresDialog::createControls() 46 46 { 47 highscoreslist = new wxListCtrl(this,wxID_ANY,wxDefaultPosition,wxSize(4 00,400),wxLC_REPORT | wxBORDER_SUNKEN );47 highscoreslist = new wxListCtrl(this,wxID_ANY,wxDefaultPosition,wxSize(450,400),wxLC_REPORT | wxBORDER_SUNKEN ); 48 48 49 49 wxListItem itemCol; … … 64 64 itemCol.SetImage(-1); 65 65 highscoreslist->InsertColumn(3, itemCol); 66 67 highscoreslist->SetColumnWidth(0, 50 ); 68 highscoreslist->SetColumnWidth(1, 195 ); 69 highscoreslist->SetColumnWidth(2, 60 ); 70 highscoreslist->SetColumnWidth(3, 140 ); 66 71 } 67 72 … … 98 103 highscoreslist->SetItemTextColour(highlight_rank-1,*wxRED); 99 104 } 100 101 highscoreslist->SetColumnWidth(0, wxLIST_AUTOSIZE_USEHEADER );102 highscoreslist->SetColumnWidth(1, wxLIST_AUTOSIZE );103 highscoreslist->SetColumnWidth(2, wxLIST_AUTOSIZE_USEHEADER );104 highscoreslist->SetColumnWidth(3, wxLIST_AUTOSIZE );105 105 } 106 106
Note: See TracChangeset
for help on using the changeset viewer.
