From: Christian S. <blu...@us...> - 2005-05-22 21:57:58
|
Update of /cvsroot/planeshift/planeshift/src/client/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6652/src/client/gui Modified Files: pawscontrolwindow.cpp Log Message: - Removed /spawn - Fixed focus issue with the toolbar - Moved around in the weathersystems, adding 2 new types of weather, snow and fog - Added /fog <sector> <density> <r> <g> <b> (GM7) Index: pawscontrolwindow.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/gui/pawscontrolwindow.cpp,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** pawscontrolwindow.cpp 17 May 2005 11:49:31 -0000 1.25 --- pawscontrolwindow.cpp 22 May 2005 21:57:49 -0000 1.26 *************** *** 444,447 **** --- 444,449 ---- psMainWidget* mainWdg = (psMainWidget*)parent; pawsWidget* at = mainWdg->OtherWidgetAt(this,x,y); + WindowManager()->SetCurrentFocusedWidget(at); + return at->OnMouseDown(button,modifiers,x,y); } *************** *** 454,457 **** --- 456,461 ---- psMainWidget* mainWdg = (psMainWidget*)parent; pawsWidget* at = mainWdg->OtherWidgetAt(this,x,y); + WindowManager()->SetCurrentFocusedWidget(at); + return at->OnMouseUp(button,modifiers,x,y); } |