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

  • Committer: edam
  • Date: 2012-02-23 20:18:22 UTC
  • Revision ID: edam@waxworlds.org-20120223201822-dno5n4fwvd35izq9
changed 12-tick to a double tick, added CLOCK_SHIFT to align face and fixed hour-hand

Show diffs side-by-side

added added

removed removed

1
 
#include "minor_mode.h"
2
 
 
3
 
 
4
 
class AnalogueClockMode
5
 
    :
6
 
    public MinorMode
7
 
{
8
 
public:
9
 
 
10
 
        AnalogueClockMode();
11
 
 
12
 
        /**
13
 
         * Draw an individual segment (column of pixels)
14
 
         *
15
 
         * @param segment the segment number
16
 
         */
17
 
        void draw( int segment );
18
 
 
19
 
};