Changeset 56 for trunk/OpenYahtzee/src/MainFrame.cpp
- Timestamp:
- 21/01/07 20:08:47 (6 years ago)
- File:
-
- 1 edited
-
trunk/OpenYahtzee/src/MainFrame.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/OpenYahtzee/src/MainFrame.cpp
r55 r56 25 25 ***********************************************/ 26 26 27 #define DEBUG27 // #define DEBUG 28 28 29 29 #include <wx/wx.h> … … 420 420 if (data.animate){ 421 421 m_settingsdb->SetKey("animate","Yes"); 422 m_animate = true; 422 423 423 424 } else { 424 425 m_settingsdb->SetKey("animate","No"); 426 m_animate = false; 425 427 } 426 428 … … 452 454 if (!((wxCheckBox*) FindWindow(i + ID_DICE1KEEP))->IsChecked()) { 453 455 dice[i] = rand()%6; 454 ((wx StaticBitmap*) FindWindow(i + ID_DICE1)) -> SetBitmap(*bitmap_dices[dice[i]]);456 ((wxDynamicBitmap*) FindWindow(i + ID_DICE1)) -> SetBitmap(*bitmap_dices[dice[i]]); 455 457 } 456 458 }
Note: See TracChangeset
for help on using the changeset viewer.
