From: Jarda B. <edh...@us...> - 2004-11-18 23:32:54
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/pst In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15110/GUIScripts/pst Modified Files: GUIMA.py Log Message: Made SetEvent() a virtual method in Control class. Thus controls wishing to have EventHandlers have to override it. Deleted now obsolete Interface::SetEvent() changed IE_GHUI_MAP_ON_CLICK to IE_GUI_MAP_ON_PRESS to make it similar to other controls Index: GUIMA.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/pst/GUIMA.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** GUIMA.py 18 Nov 2004 21:03:23 -0000 1.14 --- GUIMA.py 18 Nov 2004 23:32:42 -0000 1.15 *************** *** 71,75 **** GemRB.SetVarAssoc (Window, Map, "x", 1) ! GemRB.SetEvent (Window, Map, IE_GUI_MAP_ON_CLICK, "SetMapNote") --- 71,75 ---- GemRB.SetVarAssoc (Window, Map, "x", 1) ! GemRB.SetEvent (Window, Map, IE_GUI_MAP_ON_PRESS, "SetMapNote") |