Mercurial > mplayer.hg
diff gui/ui/playbar.c @ 35780:4073fff5efc7
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.
author | ib |
---|---|
date | Fri, 25 Jan 2013 12:26:31 +0000 |
parents | 8ad72f9cf697 |
children | 5fb29877d2a3 |
line wrap: on
line diff
--- a/gui/ui/playbar.c Fri Jan 25 11:57:24 2013 +0000 +++ b/gui/ui/playbar.c Fri Jan 25 12:26:31 2013 +0000 @@ -252,7 +252,7 @@ guiApp.playbarWindow.DrawHandler=uiPlaybarDraw; guiApp.playbarWindow.MouseHandler=uiPlaybarMouse; - guiApp.playbarWindow.KeyHandler=uiMainKey; + guiApp.playbarWindow.KeyHandler=guiApp.mainWindow.KeyHandler; playbarLength=guiApp.videoWindow.Height; }