[Gcblue-commits] gcb_wx/scripts HotKey.py,1.4,1.5 UnitCommands.py,1.17,1.18
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-06-11 21:02:10
|
Update of /cvsroot/gcblue/gcb_wx/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5785/scripts Modified Files: HotKey.py UnitCommands.py Log Message: Initial commit for drag and drop icon gui Index: HotKey.py =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/scripts/HotKey.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** HotKey.py 10 Mar 2005 03:28:28 -0000 1.4 --- HotKey.py 11 Jun 2005 21:01:44 -0000 1.5 *************** *** 22,25 **** --- 22,27 ---- elif (key == 'f'): UnitInfo.SendCommand('ShowFlightPanel') + elif (key == 's'): + UnitInfo.SendCommand('ShowPlatformPanel') elif (key == 'g'): # toggle landing gear/landing state for air units if (UnitInfo.GetLandingState()): Index: UnitCommands.py =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/scripts/UnitCommands.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** UnitCommands.py 17 May 2005 00:20:40 -0000 1.17 --- UnitCommands.py 11 Jun 2005 21:01:44 -0000 1.18 *************** *** 272,275 **** --- 272,278 ---- UI.SendCommand('ShowFlightPanel') + def ShowStoresPanel(UI): + UI.Sendcommand('ShowStoresPanel') + def ToggleRadars(UI): n_sensors = UI.GetSensorCount() |