Fixed division by zero when using extend block.
[epichord.git] / src / metronome.h
blobe368bed279b303125e8e130d69ed537b650e0b3b
1 class Metronome : public fltk::Widget {
3 int N, n;
4 int last_beat;
5 int plus;
7 unsigned char r,g,b;
9 public:
11 Metronome(int x, int y, int w, int h, const char* label);
13 int handle(int event);
14 void draw();
16 void update(int tick);
17 void set_N(int zN);