/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: edam
  • Date: 2012-05-18 12:11:01 UTC
  • Revision ID: tim@ed.am-20120518121101-0wik922hyvjkcjdi
switched back to using classes for modes

Show diffs side-by-side

added added

removed removed

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