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

  • Committer: Tim Marston
  • Date: 2012-05-18 18:29:50 UTC
  • Revision ID: tim@ed.am-20120518182950-t85bn9a21n72uzm8
text messages are now individually enabled and draw()n automatically

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
 
27
27
#include "mode.h"
 
28
#include "text.h"
28
29
 
29
30
 
30
31
class TestPatternMode : public Mode
31
32
{
32
33
        /**
33
34
         * Called once per segment to draw a column of LEDs.
 
35
         *
34
36
         * @param segment the segment number to draw
35
37
         */
36
38
        void draw( int segment );
 
39
 
 
40
        /**
 
41
         * Called when the mode is becoming active.
 
42
         */
 
43
        void activate();
37
44
};
38
45
 
39
46