annotate Gui/events.h @ 4328:2936f5445e0c

fixed num_of_packets and current_packet handling, bug found by Mike Melanson
author alex
date Wed, 23 Jan 2002 19:41:01 +0000
parents 93351eec9f1f
children 3473ca9ef158
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
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
2976
10d060bb51c5 add new events
pontscho
parents: 2902
diff changeset
50 #define evPlayDVD 39
2902
d47cbcdce1a8 rewrite some header meg jol csinaltam menu -t koepso gombra gonosz mod ( bocs, tom, nem angol).
pontscho
parents: 1866
diff changeset
51
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 #define evExit 1000
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 // --- General events ---
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 #define evFileLoaded 5000
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 #define evHideMouseCursor 5001
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58 #define evMessageBox 5002
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 #define evGeneralTimer 5003
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60 #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
61 #define evShowPopUpMenu 5005
2976
10d060bb51c5 add new events
pontscho
parents: 2902
diff changeset
62 #define evHidePopUpMenu 5006
3054
9507f90d8254 add half dvd support for gui
pontscho
parents: 2976
diff changeset
63 #define evSetDVDAudio 5007
9507f90d8254 add half dvd support for gui
pontscho
parents: 2976
diff changeset
64 #define evSetDVDSubtitle 5008
9507f90d8254 add half dvd support for gui
pontscho
parents: 2976
diff changeset
65 #define evSetDVDTitle 5009
9507f90d8254 add half dvd support for gui
pontscho
parents: 2976
diff changeset
66 #define evSetDVDChapter 5010
3499
93351eec9f1f Add subtitle loader for gui
pontscho
parents: 3054
diff changeset
67 #define evSubtitleLoaded 5011
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
68
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
69 #define evFName 7000
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
70 #define evMovieTime 7001
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71 #define evRedraw 7002
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
72 #define evHideWindow 7003
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73 #define evShowWindow 7004
1743
b266f763cad3 fix playing
pontscho
parents: 1693
diff changeset
74 #define evFirstLoad 7005
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
76 // ----------------------
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
78 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
79 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
80 int msg;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
81 char * name;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
82 } evName;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
83
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
84 extern int evBoxs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
85 extern evName evNames[];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
86
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
87 #endif