/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to src/modes/settings_major_mode.cc

  • Committer: Tim Marston
  • Date: 2012-05-18 14:55:12 UTC
  • Revision ID: tim@ed.am-20120518145512-4dg4ble01d47a8z5
moved rount Time a bit, and passed _button to SettingsMajorMode so that it can
come in and out of send_interim mode

Show diffs side-by-side

added added

removed removed

40
40
}
41
41
 
42
42
 
 
43
void SettingsMajorMode::draw( int segment )
 
44
{
 
45
        Text::draw( 0, segment );
 
46
}
 
47
 
 
48
 
43
49
void SettingsMajorMode::draw_reset()
44
50
{
45
51
        bool flash = ( ::millis() % 1000 ) > 600;
95
101
                break;
96
102
        }
97
103
 
98
 
        Text::set_message_text( 0, str0 );
 
104
        Text::set_message( 0, str0 );
99
105
}
100
106
 
101
107
 
165
171
 
166
172
void SettingsMajorMode::reset_messages()
167
173
{
168
 
        Text::reset();
169
 
 
170
 
        Text::set_up_message( 0, Text::MODE_TOP | Text::MODE_ALL );
 
174
        Text::reset_message( 0, Text::MODE_TOP | Text::MODE_ALL );
171
175
}