Debian Codegraph @

common/mouse.h

raw symbols SCIP
1 /* Copyright 2000 Kjetil S. Matheussen
2
3 This program is free software; you can redistribute it and/or
4 modify it under the terms of the GNU General Public License
5 as published by the Free Software Foundation; either version 2
6 of the License, or (at your option) any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
16
17
18 #ifndef TRACKER_MOUSE_H
19 #define TRACKER_MOUSE_H
20
21 #include "nsmtracker.h"
22
23
24 struct MouseAction{
25 int action;
26 int eint1;
27 int eint2;
28 int eint3;
29 void *pointer1;
30 void *pointer2;
31 void *pointer3;
32 void *pointer4;
33 int (*MouseUpFunction)(
34 struct Tracker_Windows *window,
35 int x,int y
36 );
37 };
38
39
40 // MouseAction actions:
41
42 #define NOACTION 0
43
44 #define LEFTSLIDER 2
45 #define BOTTOMSLIDER 3
46
47 #define ZOOM 4
48
49 #define TRACKNAME 5
50 #define INSTRUMENTNAME 6
51
52 #define TEMPOLINE 7
53 #define TEMPONODE 8
54
55 #define NOTESTART 9
56 #define NOTEEND 10
57 #define VELLINE 11
58 #define VELNODE 12
59
60 #define FXNODE 13
61 #define FXLINE 14
62
63 #define NOTE 15
64
65 #define LEVELBORDER 16
66 #define LINEBORDER 17
67 #define LPBBORDER 18
68 #define TEMPOBORDER 19
69 #define TEMPONODEBORDER 20
70 #define FXBORDER 21
71 #define TRACKBORDER 22
72
73 #define VOLUMESLIDER 23
74 #define PANSLIDER 24
75
76 #define MAINBPM 25
77 #define MAINLPB 26
78 #define RELTEMPO 27
79
80 #define RELTEMPOSLIDER 28
81
82 #endif /* TRACKER_MOUSE_H */
83
84
85
86
87