9 // --- User events ------
23 #define evPreferences 14
24 #define evSkinBrowser 15
25 #define evPlaySwitchToPause 16
26 #define evPauseSwitchToPlay 17
28 #define evBackward10sec 18
29 #define evForward10sec 19
30 #define evBackward1min 20
31 #define evForward1min 21
32 #define evBackward10min 22
33 #define evForward10min 23
35 #define evHalfSize 301
36 #define evNormalSize 24
37 #define evDoubleSize 25
38 #define evFullScreen 26
40 #define evSetMoviePosition 27
41 #define evSetVolume 28
42 #define evSetBalance 29
45 #define evIncVolume 31
46 #define evDecVolume 32
47 #define evIncAudioBufDelay 33
48 #define evDecAudioBufDelay 34
49 #define evIncBalance 35
50 #define evDecBalance 36
54 #define evLoadSubtitle 38
55 #define evDropSubtitle 43
58 #define evPlayNetwork 41
59 #define evLoadAudioFile 42
60 #define evSetAspect 44
63 #define evSetSubtitle 47
68 // --- General events ---
70 #define evFileLoaded 5000
71 #define evHideMouseCursor 5001
72 #define evMessageBox 5002
73 #define evGeneralTimer 5003
74 #define evGtkIsOk 5004
75 #define evShowPopUpMenu 5005
76 #define evHidePopUpMenu 5006
77 #define evSetDVDAudio 5007
78 #define evSetDVDSubtitle 5008
79 #define evSetDVDTitle 5009
80 #define evSetDVDChapter 5010
81 #define evSubtitleLoaded 5011
82 #define evSetVCDTrack 5012
86 #define evMovieTime 7001
88 #define evHideWindow 7003
89 #define evShowWindow 7004
90 #define evFirstLoad 7005
92 // ----------------------
101 extern evName evNames
[];
104 #define itButton 101 // button
105 #define itHPotmeter 102 // horizontal potmeter
106 #define itVPotmeter 103 // vertical potmeter
107 #define itSLabel 104 // static label
108 #define itDLabel 105 // dynamic label
110 #define itPotmeter 107
114 #define btnReleased 1
115 #define btnDisabled 2
146 wsTWindow mainWindow
;
158 wsTWindow menuWindow
;
165 int NumberOfMenuItems
;
168 int NumberOfBarItems
;
172 extern listItems appMPlayer
;
174 extern char * skinDirInHome
;
175 extern char * skinDirInHome_obsolete
;
176 extern char * skinMPlayerDir
;
177 extern char * skinMPlayerDir_obsolete
;
178 extern char * skinName
;
180 extern void appInitStruct( listItems
* item
);
181 extern void appClearItem( wItem
* item
);
182 extern void appCopy( listItems
* item1
,listItems
* item2
);
183 extern int appFindMessage( unsigned char * str
);
184 extern int appFindKey( unsigned char * name
);
186 extern void btnModify( int event
,float state
);
187 extern float btnGetValue( int event
);
188 extern void btnSet( int event
,int set
);