/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include "drawer.h"


class MinorMode
    :
    public Drawer
{
public:

	/**
	 * Constructor.
	 *
	 * @param num_flavours the number of flavours in this minor display mode
	 */
	MinorMode( int num_flavours );

	/**
	 * Called when this mninor mode becomes active
	 */
	void activate();

	/**
	 * Called when the display should change
	 */
	void next_flavour();

protected:

	/** current flavour */
	int _flavour;

	/** number of flavours */
	int _num_flavours;
	 
};