/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:40:04 UTC
  • Revision ID: tim@ed.am-20120518144004-uuz2zrjmyr78wqd5
updated emacs compile command and readjusted clock shift

Show diffs side-by-side

added added

removed removed

33
33
#define DATE_SET_IDX 2
34
34
 
35
35
 
36
 
SettingsMajorMode::SettingsMajorMode( Button &button )
37
 
        :
38
 
        _button( button )
39
 
{
40
 
}
41
 
 
42
 
 
43
36
void SettingsMajorMode::draw( int segment )
44
37
{
45
38
        Text::draw( 0, segment );
110
103
        _item = _part = 0;
111
104
 
112
105
        reset_messages();
113
 
 
114
 
        _button.set_press_mode( false );
115
106
}
116
107
 
117
108
 
118
109
void SettingsMajorMode::deactivate()
119
110
{
120
 
        _button.set_press_mode( true );
121
 
 
122
 
        // save time
123
 
 
124
111
}
125
112
 
126
113