From: Laszlo T. <ave...@us...> - 2006-12-09 14:58:37
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/tob In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv2226/tob Modified Files: GUIMA.py Log Message: some corrections to the map window Index: GUIMA.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/tob/GUIMA.py,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** GUIMA.py 3 Dec 2006 17:16:58 -0000 1.29 --- GUIMA.py 9 Dec 2006 14:58:33 -0000 1.30 *************** *** 118,126 **** GemRB.SetVarAssoc (Window, Map, "ShowMapNotes", IE_GUI_MAP_REVEAL_MAP) GemRB.SetEvent (Window, Map, IE_GUI_MAP_ON_PRESS, "RevealMap") - GemRB.SetVisible (OptionsWindow, 1) GemRB.SetVisible (Window, 1) - GemRB.SetVisible (PortraitWindow, 1) GemRB.SetVisible (OptionsWindow, 2) GemRB.SetVisible (PortraitWindow, 2) return --- 118,128 ---- GemRB.SetVarAssoc (Window, Map, "ShowMapNotes", IE_GUI_MAP_REVEAL_MAP) GemRB.SetEvent (Window, Map, IE_GUI_MAP_ON_PRESS, "RevealMap") GemRB.SetVisible (Window, 1) GemRB.SetVisible (OptionsWindow, 2) GemRB.SetVisible (PortraitWindow, 2) + GemRB.SetVisible (OptionsWindow, 3) + GemRB.SetVisible (PortraitWindow, 3) + GemRB.SetVisible (Window, 3) + GemRB.SetControlStatus(Window, Map, IE_GUI_CONTROL_FOCUSED) return *************** *** 183,186 **** --- 185,189 ---- GemRB.SetVisible (Window, 1) GemRB.SetVisible (PortraitWindow, 1) + GemRB.SetControlStatus(Window, Map, IE_GUI_CONTROL_FOCUSED) def LeftDoublePressMap (): |