mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 01:52:19 +00:00
83e1eed13d
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1867 b3059339-0415-0410-9bf9-f77b7e298cf2
78 lines
1.7 KiB
C
78 lines
1.7 KiB
C
|
|
#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
|
|
#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
|
|
|
|
#define evExit 1000
|
|
|
|
// --- General events ---
|
|
|
|
#define evFileLoaded 5000
|
|
#define evHideMouseCursor 5001
|
|
#define evMessageBox 5002
|
|
#define evGeneralTimer 5003
|
|
#define evGtkIsOk 5004
|
|
|
|
#define evFName 7000
|
|
#define evMovieTime 7001
|
|
#define evRedraw 7002
|
|
#define evHideWindow 7003
|
|
#define evShowWindow 7004
|
|
#define evFirstLoad 7005
|
|
|
|
// ----------------------
|
|
|
|
typedef struct
|
|
{
|
|
int msg;
|
|
char * name;
|
|
} evName;
|
|
|
|
extern int evBoxs;
|
|
extern evName evNames[];
|
|
|
|
#endif
|