/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.h

  • 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

Lines of Context:
25
25
 
26
26
 
27
27
#include "major_mode.h"
 
28
#include "../button.h"
28
29
 
29
30
 
30
31
class SettingsMajorMode : public MajorMode
31
32
{
32
33
public:
33
34
 
 
35
        SettingsMajorMode( Button &button );
 
36
 
34
37
        /**
35
38
         * Called once per segment to draw a column of LEDs.
36
39
         * @param segment the segment number to draw
74
77
        
75
78
        /** part of item that we're setting */
76
79
        int _part;
 
80
 
 
81
        /** the button */
 
82
        Button &_button;
77
83
};
78
84
 
79
85