diff gui/ui/ui.h @ 35796:497a1c45a597

Add uiMainDone(), uiVideoDone(), uiPlaybarDone() and uiMenuDone(). These are the counterparts to the Init functions and they free and release everything associated with the respective window. (Something that hasn't been done so far.)
author ib
date Fri, 25 Jan 2013 23:47:34 +0000
parents 5eac7c0879b7
children 84c93a60ead3
line wrap: on
line diff
--- a/gui/ui/ui.h	Fri Jan 25 22:31:37 2013 +0000
+++ b/gui/ui/ui.h	Fri Jan 25 23:47:34 2013 +0000
@@ -28,14 +28,18 @@
 extern int             sx, sy;
 
 void uiMainInit( void );
+void uiMainDone( void );
 
 void uiVideoInit( void );
+void uiVideoDone( void );
 
 void uiMenuInit( void );
+void uiMenuDone( void );
 void uiMenuHide( int mx, int my, int w );
 void uiMenuShow( int mx, int my );
 
 void uiPlaybarInit( void );
+void uiPlaybarDone( void );
 void uiPlaybarShow( int y );
 
 #endif /* MPLAYER_GUI_UI_H */