Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
1693 | 1 |
2 #ifndef _MYEVENTHANDLER | |
3 #define _MYEVENTHANDLER | |
4 | |
5 // --- User events ------ | |
6 | |
7 #define evNone 0 | |
8 #define evPlay 1 | |
9 #define evStop 2 | |
10 #define evPause 3 | |
11 #define evPrev 6 | |
12 #define evNext 7 | |
13 #define evLoad 8 | |
6546 | 14 #define evEqualizer 9 |
1693 | 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 | 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 | 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 | 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 | 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 | 52 #define evPlayVCD 40 |
6298 | 53 #define evPlayNetwork 41 |
6623 | 54 #define evLoadAudioFile 42 |
7169 | 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 | 57 #define evExit 1000 |
58 | |
59 // --- General events --- | |
60 | |
61 #define evFileLoaded 5000 | |
62 #define evHideMouseCursor 5001 | |
63 #define evMessageBox 5002 | |
64 #define evGeneralTimer 5003 | |
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 | 67 #define evHidePopUpMenu 5006 |
3054 | 68 #define evSetDVDAudio 5007 |
69 #define evSetDVDSubtitle 5008 | |
70 #define evSetDVDTitle 5009 | |
71 #define evSetDVDChapter 5010 | |
3499 | 72 #define evSubtitleLoaded 5011 |
6280 | 73 #define evSetVCDTrack 5012 |
6298 | 74 #define evSetURL 5013 |
1693 | 75 |
76 #define evFName 7000 | |
77 #define evMovieTime 7001 | |
78 #define evRedraw 7002 | |
79 #define evHideWindow 7003 | |
80 #define evShowWindow 7004 | |
1743 | 81 #define evFirstLoad 7005 |
1693 | 82 |
83 // ---------------------- | |
84 | |
85 typedef struct | |
86 { | |
87 int msg; | |
88 char * name; | |
89 } evName; | |
90 | |
91 extern int evBoxs; | |
92 extern evName evNames[]; | |
93 | |
94 #endif |