2001-08-25 23:04:29 +02: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 23:04:14 +02: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 19:53:07 +02:00
|
|
|
|
2001-11-14 17:05:33 +01:00
|
|
|
#define evLoadSubtitle 38
|
2001-11-18 19:18:20 +01:00
|
|
|
#define evPlayDVD 39
|
2001-11-14 17:05:33 +01:00
|
|
|
|
2001-08-25 23:04:29 +02:00
|
|
|
#define evExit 1000
|
|
|
|
|
|
|
|
// --- General events ---
|
|
|
|
|
|
|
|
#define evFileLoaded 5000
|
|
|
|
#define evHideMouseCursor 5001
|
|
|
|
#define evMessageBox 5002
|
|
|
|
#define evGeneralTimer 5003
|
|
|
|
#define evGtkIsOk 5004
|
2001-11-14 17:05:33 +01:00
|
|
|
#define evShowPopUpMenu 5005
|
2001-11-18 19:18:20 +01:00
|
|
|
#define evHidePopUpMenu 5006
|
2001-11-21 18:43:57 +01:00
|
|
|
#define evSetDVDAudio 5007
|
|
|
|
#define evSetDVDSubtitle 5008
|
|
|
|
#define evSetDVDTitle 5009
|
|
|
|
#define evSetDVDChapter 5010
|
2001-12-15 16:36:07 +01:00
|
|
|
#define evSubtitleLoaded 5011
|
2001-08-25 23:04:29 +02:00
|
|
|
|
|
|
|
#define evFName 7000
|
|
|
|
#define evMovieTime 7001
|
|
|
|
#define evRedraw 7002
|
|
|
|
#define evHideWindow 7003
|
|
|
|
#define evShowWindow 7004
|
2001-08-29 17:07:40 +02:00
|
|
|
#define evFirstLoad 7005
|
2001-08-25 23:04:29 +02:00
|
|
|
|
|
|
|
// ----------------------
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int msg;
|
|
|
|
char * name;
|
|
|
|
} evName;
|
|
|
|
|
|
|
|
extern int evBoxs;
|
|
|
|
extern evName evNames[];
|
|
|
|
|
|
|
|
#endif
|