Group move blocks. Fixed some bugs.
[epichord.git] / src / util.h
blob0f69b0d6642f496b6cd916d0ff0801539e3aa9b0
1 #ifndef util_h
2 #define util_h
4 /*
5 Epichord - a midi sequencer
6 Copyright (C) 2008 Evan Rinehart
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to
21 The Free Software Foundation, Inc.
22 51 Franklin Street, Fifth Floor
23 Boston, MA 02110-1301, USA
28 void load_text(fltk::TextDisplay* o, const char* filename);
29 void hsv_to_rgb(float h, float s, float v, unsigned char* r, unsigned char* g, unsigned char* b);
31 int ypix2note(int ypix, int black);
32 int note2ypix(int note, int* black);
35 int seqpat_nonstick(seqpat* s);
36 int unmodify_and_unstick_tracks();
37 #endif