comparison gui/interface.c @ 35647:a30496350cb9

Don't allow shrinking the main window. Its fixed size is defined in the skin file.
author ib
date Mon, 14 Jan 2013 17:27:45 +0000
parents 58d55c933757
children f6c00eacd816
comparison
equal deleted inserted replaced
35646:0e0775a09c97 35647:a30496350cb9
182 uiMenuInit(); 182 uiMenuInit();
183 uiPlaybarInit(); 183 uiPlaybarInit();
184 184
185 // i=wsHideFrame|wsMaxSize|wsHideWindow; 185 // i=wsHideFrame|wsMaxSize|wsHideWindow;
186 // if ( guiApp.mainDecoration ) i=wsShowFrame|wsMaxSize|wsHideWindow; 186 // if ( guiApp.mainDecoration ) i=wsShowFrame|wsMaxSize|wsHideWindow;
187 i = wsShowFrame | wsMaxSize | wsHideWindow; 187 i = wsShowFrame | wsMinSize | wsMaxSize | wsHideWindow;
188 wsCreateWindow(&guiApp.mainWindow, guiApp.main.x, guiApp.main.y, guiApp.main.width, guiApp.main.height, wsNoBorder, wsShowMouseCursor | wsHandleMouseButton | wsHandleMouseMove, i, "MPlayer"); 188 wsCreateWindow(&guiApp.mainWindow, guiApp.main.x, guiApp.main.y, guiApp.main.width, guiApp.main.height, wsNoBorder, wsShowMouseCursor | wsHandleMouseButton | wsHandleMouseMove, i, "MPlayer");
189 wsSetShape(&guiApp.mainWindow, guiApp.main.Mask.Image); 189 wsSetShape(&guiApp.mainWindow, guiApp.main.Mask.Image);
190 wsXDNDMakeAwareness(&guiApp.mainWindow); 190 wsXDNDMakeAwareness(&guiApp.mainWindow);
191 191
192 mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] screen depth: %d\n", wsDepthOnScreen); 192 mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] screen depth: %d\n", wsDepthOnScreen);