Changeset 123


Ignore:
Timestamp:
27/11/07 22:25:12 (5 years ago)
Author:
guyru
Message:

more work on scoring hints

Location:
trunk/OpenYahtzee/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/OpenYahtzee/src/MainFrame.cpp

    r122 r123  
    12041204        wxString out; 
    12051205        text_control = ((wxTextCtrl*)m_main_frame->FindWindow(event.GetId()-ID_ACES+ID_ACESTEXT)); 
    1206         text_control->SetDefaultStyle(wxTextAttr(*wxBLUE)); 
    12071206        switch (event.GetId()) { 
    12081207        case ID_ACES: 
     
    12471246        } 
    12481247        text_control->SetValue(out);             
     1248        text_control->SetBackgroundColour(wxColour(239,239,239)); 
    12491249         
    12501250        event.Skip(); //allow default proccesing 
  • trunk/OpenYahtzee/src/MainFrame.h

    r122 r123  
    109109        bool m_horizontallayout; 
    110110         
    111         bool m_skiproll; 
     111        bool m_skiproll; ///used to prevent the user from accidently rolling the dice twice 
    112112 
    113113        class MainFrameEvtHandler *m_evt_handler; 
Note: See TracChangeset for help on using the changeset viewer.