Relocate uiMainEvent().

Move the code to actions.c, because it's general ui code
and not really related to the main window.

As a result, uiMainRender can't be static any longer.

Additionally, format moved code to MPlayer coding style.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35865 b3059339-0415-0410-9bf9-f77b7e298cf2
Relocate uiMainEvent() prototype.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35866 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename uiMainEvent() uiEvent().

This completes r35865 and r35866.

Additionally, rename parameter msg ev.


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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35868 b3059339-0415-0410-9bf9-f77b7e298cf2
Add missing type to variable declaration.


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


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

It's a general ui variable and not really related to the main window.

Additionally, remove unnecessary initialization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35871 b3059339-0415-0410-9bf9-f77b7e298cf2
Set MouseHandler for menu window.

Adjust parameters to prototype and use this handler to call the menu.

As a result, uiMenuMouse() can be static now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35872 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix segmentation fault with menu window.

Check whether menu is present before calling menu's mouse handler.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35873 b3059339-0415-0410-9bf9-f77b7e298cf2
Add new functions uiMainInit() and uiVideoInit().

Relocate handler initialization stuff there
and reorder the windows init calls.

As a result, all handler functions can be static now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35874 b3059339-0415-0410-9bf9-f77b7e298cf2
Add comment on order of window initialization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35875 b3059339-0415-0410-9bf9-f77b7e298cf2
Relocate menu window initialization debug message.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35876 b3059339-0415-0410-9bf9-f77b7e298cf2
Add a playbar window initialization debug message.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35877 b3059339-0415-0410-9bf9-f77b7e298cf2
Improve debug message.

Let user see whether width and height have been given.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35878 b3059339-0415-0410-9bf9-f77b7e298cf2
Allow video window without image displayed in it.

A special value NULL is allowed as image now
(in which case width and height are mandatory).


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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35880 b3059339-0415-0410-9bf9-f77b7e298cf2
Update skin documentation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35881 b3059339-0415-0410-9bf9-f77b7e298cf2
Move video window initialization code to uiVideoInit().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35882 b3059339-0415-0410-9bf9-f77b7e298cf2
Move main window initialization code to uiMainInit().

The code existed twice and could be removed from both
interface.c and actions.c.


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


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