annotate Gui/events.h @ 2757:b8b92c4afa22

fixed usleep() - 10l?
author arpi
date Wed, 07 Nov 2001 02:15:04 +0000
parents 32b1bb50a0e8
children d47cbcdce1a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 #ifndef _MYEVENTHANDLER
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 #define _MYEVENTHANDLER
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 // --- User events ------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 #define evNone 0
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 #define evPlay 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 #define evStop 2
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 #define evPause 3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 #define evPrev 6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 #define evNext 7
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 #define evLoad 8
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 #define evEqualeaser 9
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 #define evPlayList 10
1866
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
16 #define evIconify 11
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
17 #define evAbout 12
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
18 #define evLoadPlay 13
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
19 #define evPreferences 14
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
20 #define evSkinBrowser 15
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
21 #define evPlaySwitchToPause 16
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
22 #define evPauseSwitchToPlay 17
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
23
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
24 #define evBackward10sec 18
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
25 #define evForward10sec 19
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
26 #define evBackward1min 20
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
27 #define evForward1min 21
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
28 #define evBackward10min 22
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
29 #define evForward10min 23
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30
1866
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
31 #define evNormalSize 24
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
32 #define evDoubleSize 25
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
33 #define evFullScreen 26
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
34
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
35 #define evSetMoviePosition 27
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
36 #define evSetVolume 28
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
37 #define evSetBalance 29
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
38 #define evMute 30
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39
1866
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
40 #define evIncVolume 31
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
41 #define evDecVolume 32
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
42 #define evIncAudioBufDelay 33
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
43 #define evDecAudioBufDelay 34
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
44 #define evIncBalance 35
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
45 #define evDecBalance 36
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
46
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1823
diff changeset
47 #define evHelp 37
1823
a6c67352ccac fix some bug.
pontscho
parents: 1743
diff changeset
48
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 #define evExit 1000
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51 // --- General events ---
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 #define evFileLoaded 5000
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 #define evHideMouseCursor 5001
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 #define evMessageBox 5002
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 #define evGeneralTimer 5003
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 #define evGtkIsOk 5004
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 #define evFName 7000
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60 #define evMovieTime 7001
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
61 #define evRedraw 7002
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
62 #define evHideWindow 7003
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
63 #define evShowWindow 7004
1743
b266f763cad3 fix playing
pontscho
parents: 1693
diff changeset
64 #define evFirstLoad 7005
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
65
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
66 // ----------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
67
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
68 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
69 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
70 int msg;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71 char * name;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
72 } evName;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
74 extern int evBoxs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75 extern evName evNames[];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
76
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77 #endif