comparison gui/ui/actions.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 29761b2b8cb0
children d798beebfe71
comparison
equal deleted inserted replaced
35646:0e0775a09c97 35647:a30496350cb9
230 mplayer(MPLAYER_EXIT_GUI, EXIT_ERROR, 0); 230 mplayer(MPLAYER_EXIT_GUI, EXIT_ERROR, 0);
231 } 231 }
232 232
233 wsDestroyWindow(&guiApp.mainWindow); 233 wsDestroyWindow(&guiApp.mainWindow);
234 234
235 wsCreateWindow(&guiApp.mainWindow, guiApp.main.x, guiApp.main.y, guiApp.main.width, guiApp.main.height, wsNoBorder, wsShowMouseCursor | wsHandleMouseButton | wsHandleMouseMove, wsShowFrame | wsMaxSize | wsHideWindow, "MPlayer"); 235 wsCreateWindow(&guiApp.mainWindow, guiApp.main.x, guiApp.main.y, guiApp.main.width, guiApp.main.height, wsNoBorder, wsShowMouseCursor | wsHandleMouseButton | wsHandleMouseMove, wsShowFrame | wsMinSize | wsMaxSize | wsHideWindow, "MPlayer");
236 wsCreateImage(&guiApp.mainWindow, guiApp.main.Bitmap.Width, guiApp.main.Bitmap.Height); 236 wsCreateImage(&guiApp.mainWindow, guiApp.main.Bitmap.Width, guiApp.main.Bitmap.Height);
237 wsSetShape(&guiApp.mainWindow, guiApp.main.Mask.Image); 237 wsSetShape(&guiApp.mainWindow, guiApp.main.Mask.Image);
238 wsSetIcon(wsDisplay, guiApp.mainWindow.WindowID, &guiIcon); 238 wsSetIcon(wsDisplay, guiApp.mainWindow.WindowID, &guiIcon);
239 239
240 guiApp.mainWindow.ReDraw = (void *)uiMainDraw; 240 guiApp.mainWindow.ReDraw = (void *)uiMainDraw;