repo.or.cz
/
epichord.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added unclone tool. Adjusted GUI. Added icons.
[epichord.git]
/
src
/
metronome.h
blob
e368bed279b303125e8e130d69ed537b650e0b3b
1
class
Metronome
:
public fltk
::
Widget
{
2
3
int
N
,
n
;
4
int
last_beat
;
5
int
plus
;
6
7
unsigned char
r
,
g
,
b
;
8
9
public
:
10
11
Metronome
(
int
x
,
int
y
,
int
w
,
int
h
,
const char
*
label
);
12
13
int
handle
(
int
event
);
14
void
draw
();
15
16
void
update
(
int
tick
);
17
void
set_N
(
int
zN
);
18
19
};