Added unclone tool. Adjusted GUI. Added icons.
[epichord.git] / src / util.h
blobf3c2e28807f8d3c0b60d209741fd7812cfa652dd
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);
34 void unmodify_blocks();
35 int unmodify_and_unstick_tracks();
37 float randf(float l, float r);
38 #endif