Changeset 34
- Timestamp:
- 05/01/07 12:44:34 (6 years ago)
- Location:
- trunk/OpenYahtzee
- Files:
-
- 6 edited
-
TODO (modified) (1 diff)
-
openyahtzee.kdevelop (modified) (2 diffs)
-
openyahtzee.kdevelop.pcs (modified) (previous)
-
openyahtzee.kdevses (modified) (4 diffs)
-
src/HighScoreDialog.cpp (modified) (2 diffs)
-
src/SettingsDialog.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/OpenYahtzee/TODO
r2 r34 1 TODO FILE 2 -cleanup code at the end of every scoring button 3 -cleanup code for the icon settings for the dialogs/frames -
trunk/OpenYahtzee/openyahtzee.kdevelop
r33 r34 223 223 <custom>false</custom> 224 224 <bzip>false</bzip> 225 <archname />225 <archname></archname> 226 226 <appname>OpenYahtzee</appname> 227 227 <version>1.6</version> 228 <release />228 <release></release> 229 229 <vendor>Guy Rutenberg</vendor> 230 230 <licence>GPL</licence> 231 <summary />232 <group />233 <packager />234 <description />235 <changelog />231 <summary></summary> 232 <group></group> 233 <packager></packager> 234 <description></description> 235 <changelog></changelog> 236 236 <devpackage>false</devpackage> 237 237 <docspackage>false</docspackage> … … 242 242 <ftpkde>false</ftpkde> 243 243 <appskde>false</appskde> 244 <url />244 <url></url> 245 245 </dist> 246 246 </kdevelop> -
trunk/OpenYahtzee/openyahtzee.kdevses
r33 r34 2 2 <!DOCTYPE KDevPrjSession> 3 3 <KDevPrjSession> 4 <DocsAndViews NumberOfDocuments="1 1" >4 <DocsAndViews NumberOfDocuments="13" > 5 5 <Doc0 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/SettingsDB.h" > 6 6 <View0 Type="Source" /> 7 7 </Doc0> 8 8 <Doc1 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/openyahtzee.cpp" > 9 <View0 Type="Source" />9 <View0 line="0" Type="Source" /> 10 10 </Doc1> 11 11 <Doc2 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/MainFrame.cpp" > 12 <View0 Type="Source" />12 <View0 line="62" Type="Source" /> 13 13 </Doc2> 14 14 <Doc3 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/ObjectsID.h" > … … 16 16 </Doc3> 17 17 <Doc4 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/MainFrame.h" > 18 <View0 Type="Source" />18 <View0 line="0" Type="Source" /> 19 19 </Doc4> 20 20 <Doc5 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/DBwrapper.h" > … … 22 22 </Doc5> 23 23 <Doc6 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/HighScoreTableDB.cpp" > 24 <View0 Type="Source" />24 <View0 line="0" Type="Source" /> 25 25 </Doc6> 26 26 <Doc7 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/SettingsDialog.cpp" > 27 <View0 Type="Source" />27 <View0 line="52" Type="Source" /> 28 28 </Doc7> 29 29 <Doc8 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/SettingsDB.cpp" > 30 <View0 Type="Source" />30 <View0 line="0" Type="Source" /> 31 31 </Doc8> 32 32 <Doc9 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/HighScoreTableDB.h" > … … 34 34 </Doc9> 35 35 <Doc10 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/HighScoreDialog.cpp" > 36 <View0 line=" 116" Type="Source" />36 <View0 line="40" Type="Source" /> 37 37 </Doc10> 38 <Doc11 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/DBwrapper.cpp" > 39 <View0 line="0" Type="Source" /> 40 </Doc11> 41 <Doc12 NumberOfViews="1" URL="file:///home/guy/workspace/OpenYahtzee/src/HighScoreDialog.h" > 42 <View0 line="0" Type="Source" /> 43 </Doc12> 38 44 </DocsAndViews> 39 45 <pluginList> -
trunk/OpenYahtzee/src/HighScoreDialog.cpp
r32 r34 28 28 #include "ObjectsID.h" 29 29 #include "HighScoreDialog.h" 30 //include the icon file 31 #ifdef WIN32 32 #include "icon32.xpm" 33 #else 34 #include "icon.xpm" 35 #endif 30 36 using namespace std; 31 37 … … 33 39 wxDialog(parent, id, wxT("High-Score Table"), wxDefaultPosition, wxDefaultSize,wxCLOSE_BOX | wxCAPTION) 34 40 { 41 //set the icon 42 #ifdef WIN32 43 SetIcon(wxIcon(icon32_xpm)); 44 #else 45 SetIcon(wxIcon(icon_xpm)); 46 #endif 47 35 48 list<string> table; 36 49 -
trunk/OpenYahtzee/src/SettingsDialog.cpp
r24 r34 25 25 #include "SettingsDialog.h" 26 26 #include "MainFrame.h" 27 //include the icon file 28 #ifdef WIN32 29 #include "icon32.xpm" 30 #else 31 #include "icon.xpm" 32 #endif 27 33 28 34 … … 30 36 wxDialog(parent, wxID_ANY, wxT("Settins Dialog"), wxDefaultPosition, wxDefaultSize, wxCLOSE_BOX | wxCAPTION) 31 37 { 32 // begin wxGlade: SettingsDialog::SettingsDialog 33 label_1 = new wxStaticText(this, -1, wxT("High-score table size:")); 34 spin_ctrl = new wxSpinCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS,0,1024,20); 35 button_3 = new wxToggleButton(this, ID_RESETHIGHSCORE, wxT("reset high-score table")); 36 button_1 = new wxButton(this, wxID_OK); 37 button_2 = new wxButton(this, wxID_CANCEL); 38 //set the icon 39 #ifdef WIN32 40 SetIcon(wxIcon(icon32_xpm)); 41 #else 42 SetIcon(wxIcon(icon_xpm)); 43 #endif 44 // begin wxGlade: SettingsDialog::SettingsDialog 45 label_1 = new wxStaticText(this, -1, wxT("High-score table size:")); 46 spin_ctrl = new wxSpinCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS,0,1024,20); 47 button_3 = new wxToggleButton(this, ID_RESETHIGHSCORE, wxT("reset high-score table")); 48 button_1 = new wxButton(this, wxID_OK); 49 button_2 = new wxButton(this, wxID_CANCEL); 38 50 39 set_properties();40 do_layout();41 // end wxGlade51 set_properties(); 52 do_layout(); 53 // end wxGlade 42 54 } 43 55
Note: See TracChangeset
for help on using the changeset viewer.
