annotate Gui/events.h @ 7182:0bfd137f492a

fix some warnings on cygwin, patch by Sylvain Petreolle <spetreolle@yahoo.fr>
author atmos4
date Sat, 31 Aug 2002 01:44:54 +0000
parents 35bab6be713b
children f51e76c3882e
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
6546
e9f97e2fd0dc equalizer typo fix by diego
atmos4
parents: 6298
diff changeset
14 #define evEqualizer 9
1693
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
2902
d47cbcdce1a8 rewrite some header meg jol csinaltam menu -t koepso gombra gonosz mod ( bocs, tom, nem angol).
pontscho
parents: 1866
diff changeset
49 #define evLoadSubtitle 38
7169
35bab6be713b add subtitle dropping support
pontscho
parents: 6623
diff changeset
50 #define evDropSubtitle 43
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 3499
diff changeset
51 #define evPlayDVD 39
6280
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 4818
diff changeset
52 #define evPlayVCD 40
6298
d42cb911d7f7 add network streaming support for gui
pontscho
parents: 6280
diff changeset
53 #define evPlayNetwork 41
6623
7bc4c6ba9485 add -audiofile support for gui
pontscho
parents: 6546
diff changeset
54 #define evLoadAudioFile 42
7169
35bab6be713b add subtitle dropping support
pontscho
parents: 6623
diff changeset
55 // 44 ...
2902
d47cbcdce1a8 rewrite some header meg jol csinaltam menu -t koepso gombra gonosz mod ( bocs, tom, nem angol).
pontscho
parents: 1866
diff changeset
56
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 #define evExit 1000
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 // --- General events ---
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
61 #define evFileLoaded 5000
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
62 #define evHideMouseCursor 5001
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
63 #define evMessageBox 5002
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
64 #define evGeneralTimer 5003
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
65 #define evGtkIsOk 5004
2902
d47cbcdce1a8 rewrite some header meg jol csinaltam menu -t koepso gombra gonosz mod ( bocs, tom, nem angol).
pontscho
parents: 1866
diff changeset
66 #define evShowPopUpMenu 5005
2976
10d060bb51c5 add new events
pontscho
parents: 2902
diff changeset
67 #define evHidePopUpMenu 5006
3054
9507f90d8254 add half dvd support for gui
pontscho
parents: 2976
diff changeset
68 #define evSetDVDAudio 5007
9507f90d8254 add half dvd support for gui
pontscho
parents: 2976
diff changeset
69 #define evSetDVDSubtitle 5008
9507f90d8254 add half dvd support for gui
pontscho
parents: 2976
diff changeset
70 #define evSetDVDTitle 5009
9507f90d8254 add half dvd support for gui
pontscho
parents: 2976
diff changeset
71 #define evSetDVDChapter 5010
3499
93351eec9f1f Add subtitle loader for gui
pontscho
parents: 3054
diff changeset
72 #define evSubtitleLoaded 5011
6280
cf2c2b92d1a7 add VCD support for GUI
pontscho
parents: 4818
diff changeset
73 #define evSetVCDTrack 5012
6298
d42cb911d7f7 add network streaming support for gui
pontscho
parents: 6280
diff changeset
74 #define evSetURL 5013
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
76 #define evFName 7000
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77 #define evMovieTime 7001
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
78 #define evRedraw 7002
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
79 #define evHideWindow 7003
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
80 #define evShowWindow 7004
1743
b266f763cad3 fix playing
pontscho
parents: 1693
diff changeset
81 #define evFirstLoad 7005
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
82
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
83 // ----------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
84
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
85 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
86 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
87 int msg;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
88 char * name;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
89 } evName;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
90
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
91 extern int evBoxs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
92 extern evName evNames[];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
93
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
94 #endif