Revise illustration in German skin documentation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37094 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename some variables.

This should make their purposes more obvious.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37095 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Adjust indent.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37096 b3059339-0415-0410-9bf9-f77b7e298cf2
Check numphases.

Don't allow it to be zero.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37097 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove SinglePhasePutImage().

Nothing in the skin documentation indicates that a phase image with just
one phase will be treated specially, and there is absolutely no reason
to do so.

Fortunately, there seems to be no skin relying on SinglePhasePutImage().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37098 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix the index passed to PutImage() for item type itVPotmeter.

Unlike the position for drawing the button (from bottom to top), the
index for the phase image has to be in the usual range, i.e. 0 for 0%
and numphases - 1 for 100%, so that the phase image can be designed
straightforwardly.

Fix the parameter although PutImage() currently doesn't work for item
type itVPotmeter at all.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37099 b3059339-0415-0410-9bf9-f77b7e298cf2
Revise and update skin documentation on phase images.

Add an illustration of vpotmeter phases.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37100 b3059339-0415-0410-9bf9-f77b7e298cf2
Change the parameter list of PutImage().

Put destination data first and source data second,
hence put x and y at the beginning.

Add buffer to be drawn in and its width to the list.

As a result, the global variables image_buffer and
drawbuf_width can be removed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37101 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Adjust indent.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37102 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix PutImage() for item type itVPotmeter.

Add missing code to handle it.

Please note: PutImage() did never work
for an itVPotmeter phase image so far.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37103 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unnecessary parentheses.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37104 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove variable.

Directly use img->Width instead of storing it in iw.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37105 b3059339-0415-0410-9bf9-f77b7e298cf2
Simplify condition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37106 b3059339-0415-0410-9bf9-f77b7e298cf2
Rename parameter.

It isn't the number of items but the last index in use.

Rewrite the condition in order ro reflect this.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37107 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove braces.

As a result, move up variable declarations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37108 b3059339-0415-0410-9bf9-f77b7e298cf2