2001-08-25 21:04:29 +00:00
|
|
|
|
|
|
|
#ifndef _MYEVENTHANDLER
|
|
|
|
#define _MYEVENTHANDLER
|
|
|
|
|
|
|
|
// --- User events ------
|
|
|
|
|
|
|
|
#define evNone 0
|
|
|
|
#define evPlay 1
|
|
|
|
#define evStop 2
|
|
|
|
#define evPause 3
|
|
|
|
#define evPrev 6
|
|
|
|
#define evNext 7
|
|
|
|
#define evLoad 8
|
|
|
|
#define evEqualeaser 9
|
|
|
|
#define evPlayList 10
|
2001-09-07 21:04:14 +00:00
|
|
|
#define evIconify 11
|
|
|
|
#define evAbout 12
|
|
|
|
#define evLoadPlay 13
|
|
|
|
#define evPreferences 14
|
|
|
|
#define evSkinBrowser 15
|
|
|
|
#define evPlaySwitchToPause 16
|
|
|
|
#define evPauseSwitchToPlay 17
|
|
|
|
|
|
|
|
#define evBackward10sec 18
|
|
|
|
#define evForward10sec 19
|
|
|
|
#define evBackward1min 20
|
|
|
|
#define evForward1min 21
|
|
|
|
#define evBackward10min 22
|
|
|
|
#define evForward10min 23
|
|
|
|
|
|
|
|
#define evNormalSize 24
|
|
|
|
#define evDoubleSize 25
|
|
|
|
#define evFullScreen 26
|
|
|
|
|
|
|
|
#define evSetMoviePosition 27
|
|
|
|
#define evSetVolume 28
|
|
|
|
#define evSetBalance 29
|
|
|
|
#define evMute 30
|
|
|
|
|
|
|
|
#define evIncVolume 31
|
|
|
|
#define evDecVolume 32
|
|
|
|
#define evIncAudioBufDelay 33
|
|
|
|
#define evDecAudioBufDelay 34
|
|
|
|
#define evIncBalance 35
|
|
|
|
#define evDecBalance 36
|
|
|
|
|
|
|
|
#define evHelp 37
|
2001-09-01 17:53:07 +00:00
|
|
|
|
2001-11-14 16:05:33 +00:00
|
|
|
#define evLoadSubtitle 38
|
2001-11-18 18:18:20 +00:00
|
|
|
#define evPlayDVD 39
|
2001-11-14 16:05:33 +00:00
|
|
|
|
2001-08-25 21:04:29 +00:00
|
|
|
#define evExit 1000
|
|
|
|
|
|
|
|
// --- General events ---
|
|
|
|
|
|
|
|
#define evFileLoaded 5000
|
|
|
|
#define evHideMouseCursor 5001
|
|
|
|
#define evMessageBox 5002
|
|
|
|
#define evGeneralTimer 5003
|
|
|
|
#define evGtkIsOk 5004
|
2001-11-14 16:05:33 +00:00
|
|
|
#define evShowPopUpMenu 5005
|
2001-11-18 18:18:20 +00:00
|
|
|
#define evHidePopUpMenu 5006
|
2001-11-21 17:43:57 +00:00
|
|
|
#define evSetDVDAudio 5007
|
|
|
|
#define evSetDVDSubtitle 5008
|
|
|
|
#define evSetDVDTitle 5009
|
|
|
|
#define evSetDVDChapter 5010
|
2001-08-25 21:04:29 +00:00
|
|
|
|
|
|
|
#define evFName 7000
|
|
|
|
#define evMovieTime 7001
|
|
|
|
#define evRedraw 7002
|
|
|
|
#define evHideWindow 7003
|
|
|
|
#define evShowWindow 7004
|
2001-08-29 15:07:40 +00:00
|
|
|
#define evFirstLoad 7005
|
2001-08-25 21:04:29 +00:00
|
|
|
|
|
|
|
// ----------------------
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int msg;
|
|
|
|
char * name;
|
|
|
|
} evName;
|
|
|
|
|
|
|
|
extern int evBoxs;
|
|
|
|
extern evName evNames[];
|
|
|
|
|
|
|
|
#endif
|