Mercurial > mplayer.hg
annotate Gui/events.h @ 7541:f51e76c3882e
add aspect changing support
author | pontscho |
---|---|
date | Sat, 28 Sep 2002 21:16:12 +0000 |
parents | 35bab6be713b |
children |
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 |
7541 | 55 #define evSetAspect 44 |
56 // 45 ... | |
2902
d47cbcdce1a8
rewrite some header meg jol csinaltam menu -t koepso gombra gonosz mod ( bocs, tom, nem angol).
pontscho
parents:
1866
diff
changeset
|
57 |
1693 | 58 #define evExit 1000 |
59 | |
60 // --- General events --- | |
61 | |
62 #define evFileLoaded 5000 | |
63 #define evHideMouseCursor 5001 | |
64 #define evMessageBox 5002 | |
65 #define evGeneralTimer 5003 | |
66 #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
|
67 #define evShowPopUpMenu 5005 |
2976 | 68 #define evHidePopUpMenu 5006 |
3054 | 69 #define evSetDVDAudio 5007 |
70 #define evSetDVDSubtitle 5008 | |
71 #define evSetDVDTitle 5009 | |
72 #define evSetDVDChapter 5010 | |
3499 | 73 #define evSubtitleLoaded 5011 |
6280 | 74 #define evSetVCDTrack 5012 |
6298 | 75 #define evSetURL 5013 |
1693 | 76 |
77 #define evFName 7000 | |
78 #define evMovieTime 7001 | |
79 #define evRedraw 7002 | |
80 #define evHideWindow 7003 | |
81 #define evShowWindow 7004 | |
1743 | 82 #define evFirstLoad 7005 |
1693 | 83 |
84 // ---------------------- | |
85 | |
86 typedef struct | |
87 { | |
88 int msg; | |
89 char * name; | |
90 } evName; | |
91 | |
92 extern int evBoxs; | |
93 extern evName evNames[]; | |
94 | |
95 #endif |