<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed"
style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">Here
is a patch to add the missing "Half size" menu item.
<br>
On a side note, as well as the pixmap, Gui/mplayer/pixmaps/half.xpm
<br>
Though I only know english, hence was unable to add the other
languages..
<br>
<br>
I was rather curious when looking at main_patch/Gui/app.h, the
following arrangement:
<br>
<br>
#define evNone 0
<br>
#define evPlay 1
<br>
#define evStop 2
<br>
#define evPause 3
<br>
#define evPrev 6
<br>
#define evNext 7
<br>
#define evLoad 8
<br>
#define evEqualizer 9
<br>
#define evPlayList 10
<br>
#define evIconify 11
<br>
#define evAbout 12
<br>
#define evLoadPlay 13
<br>
#define evPreferences 14
<br>
#define evSkinBrowser 15
<br>
#define evPlaySwitchToPause 16
<br>
#define evPauseSwitchToPlay 17
<br>
<br>
#define evBackward10sec 18
<br>
#define evForward10sec 19
<br>
#define evBackward1min 20
<br>
#define evForward1min 21
<br>
#define evBackward10min 22
<br>
#define evForward10min 23
<br>
<br>
....
<br>
<br>
Considering that one might want to add a feature to the first section,
then that are meant to increment all the numbers all the way down to
maintain neatness. I guess a few tricks in emacs could do this, but I
thought it'd be easier to implement it as:
<br>
<br>
#define evNone 0
<br>
#define evPlay 101
<br>
#define evStop 102
<br>
#define evPause 103
<br>
#define evPrev 106
<br>
#define evNext 107
<br>
#define evLoad 108
<br>
#define evEqualizer 109
<br>
#define evPlayList 110
<br>
#define evIconify 111
<br>
#define evAbout 112
<br>
#define evLoadPlay 113
<br>
#define evPreferences 114
<br>
#define evSkinBrowser 115
<br>
#define evPlaySwitchToPause 116
<br>
#define evPauseSwitchToPlay 117
<br>
<br>
#define evBackward10sec 218
<br>
#define evForward10sec 219
<br>
#define evBackward1min 220
<br>
#define evForward1min 221
<br>
#define evBackward10min 222
<br>
#define evForward10min 223
<br>
<br>
....
<br>
<br>
etc. whereby addition of an event, only means re-arranging that
section, and the ability of if (event) is still maintained since evNone
= 0
<br>
<br>
Any thought on this??
<br>
<br>
Regards,
<br>
Pierre Dumuid
<br>
<br>
</div>
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">
<pre wrap="">
</pre>
</div>
</body>
</html>