/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
#include "../button.h"
29
29
 
30
30
 
31
31
class SettingsMajorMode : public MajorMode
35
35
        SettingsMajorMode( Button &button );
36
36
 
37
37
        /**
 
38
         * Called once per segment to draw a column of LEDs.
 
39
         * @param segment the segment number to draw
 
40
         */
 
41
        void draw( int segment );
 
42
 
 
43
        /**
38
44
         * Called at the start of a "frame", before any segments are drawn.
39
45
         */
40
46
        void draw_reset();