Changeset 123
- Timestamp:
- 27/11/07 22:25:12 (5 years ago)
- Location:
- trunk/OpenYahtzee/src
- Files:
-
- 2 edited
-
MainFrame.cpp (modified) (2 diffs)
-
MainFrame.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/OpenYahtzee/src/MainFrame.cpp
r122 r123 1204 1204 wxString out; 1205 1205 text_control = ((wxTextCtrl*)m_main_frame->FindWindow(event.GetId()-ID_ACES+ID_ACESTEXT)); 1206 text_control->SetDefaultStyle(wxTextAttr(*wxBLUE));1207 1206 switch (event.GetId()) { 1208 1207 case ID_ACES: … … 1247 1246 } 1248 1247 text_control->SetValue(out); 1248 text_control->SetBackgroundColour(wxColour(239,239,239)); 1249 1249 1250 1250 event.Skip(); //allow default proccesing -
trunk/OpenYahtzee/src/MainFrame.h
r122 r123 109 109 bool m_horizontallayout; 110 110 111 bool m_skiproll; 111 bool m_skiproll; ///used to prevent the user from accidently rolling the dice twice 112 112 113 113 class MainFrameEvtHandler *m_evt_handler;
Note: See TracChangeset
for help on using the changeset viewer.
