B.4. GUI messages
上一页 | 附录 B. MPlayer skin format | 下一页

## B.4. GUI messages

These are the messages that can be generated by buttons, potmeters and menu entries.

evNone

  Empty message, it has no effect.

Playback control:

evPlay

  Start playing.

evStop

  Stop playing.

evPause

  Pause playing.

evPrev

  Jump to previous track in the playlist.

evNext

  Jump to next track in the playlist.

evLoad

  Load a file (by opening a file selector dialog box, where you can choose a file).

evLoadPlay

  Does the same as `evLoad`, but it automatically starts playing after the file is loaded.

evLoadAudioFile

  Loads an audio file (with the file selector).

evLoadSubtitle

  Loads a subtitle file (with the file selector).

evDropSubtitle

  Disables the currently used subtitle.

evPlaylist

  Open/close the playlist window.

evPlayCD

  Tries to open the disc in the given CD-ROM drive.

evPlayVCD

  Tries to open the disc in the given CD-ROM drive.

evPlayDVD

  Tries to open the disc in the given DVD-ROM drive.

evPlayImage

  Loads an CD/(S)VCD/DVD image or DVD copy (with the file selector) and plays it as if it were a real disc.

evLoadURL

  Displays the URL dialog window.

evPlayTV

  Tries to start TV/DVB broadcast.

evPlaySwitchToPause

  The opposite of `evPauseSwitchToPlay`. This message starts playing and the image for the `evPauseSwitchToPlay` button is displayed (to indicate that the button can be pressed to pause playing).

evPauseSwitchToPlay

  Forms a switch together with `evPlaySwitchToPause`. They can be used to have a common play/pause button. Both messages should be assigned to buttons displayed at the very same position in the window. This message pauses playing and the image for the `evPlaySwitchToPause` button is displayed (to indicate that the button can be pressed to continue playing).

Seeking:

evBackward10sec

  Seek backward 10 seconds.

evBackward1min

  Seek backward 1 minute.

evBackward10min

  Seek backward 10 minutes.

evForward10sec

  Seek forward 10 seconds.

evForward1min

  Seek forward 1 minute.

evForward10min

  Seek forward 10 minutes.

evSetMoviePosition

  Seek to position (can be used by a potmeter; the relative value (0-100%) of the potmeter is used).

Video control:

evHalfSize

  Set the video window to half size.

evDoubleSize

  Set the video window to double size.

evFullScreen

  Switch fullscreen mode on/off.

evNormalSize

  Set the video window to its normal size.

evSetAspect

  Set the video window to its original aspect ratio.

evSetRotation

  Set the video to its original orientation.

Audio control:

evDecVolume

  Decrease volume.

evIncVolume

  Increase volume.

evSetVolume

  Set volume (can be used by a potmeter; the relative value (0-100%) of the potmeter is used).

evMute

  Mute/unmute the sound.

evSetBalance

  Set balance (can be used by a potmeter; the relative value (0-100%) of the potmeter is used).

evEqualizer

  Turn the equalizer on/off.

Miscellaneous:

evAbout

  Open the about window.

evPreferences

  Open the preferences window.

evSkinBrowser

  Open the skin browser window.

evMenu

  Open the (default) menu.

evIconify

  Iconify the window.

evExit

  Quit the program.

上一页 | 上一级 | 下一页
B.3. Fonts | 起始页 | B.5. Creating quality skins