From: Laszlo T. <ave...@us...> - 2004-10-10 13:34:06
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/tob In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19739/GUIScripts/tob Modified Files: GUIMA.py Log Message: Implemented optional linking of mapcontrol to a label to display mapnotes Modified guiscripts for bg2 Index: GUIMA.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/tob/GUIMA.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** GUIMA.py 9 Oct 2004 21:51:03 -0000 1.8 --- GUIMA.py 10 Oct 2004 13:32:55 -0000 1.9 *************** *** 66,74 **** Label = GemRB.GetControl (Window, 0x10000003) ! GemRB.SetControlSize (Window, Label, 0, 0) ! GemRB.SetControlPos (Window, Label, 65535, 0) #remove this crap # Map Control ! GemRB.CreateMapControl (Window, 2, 0, 0, 0, 0, "FLAG1") Map = GemRB.GetControl (Window, 2) GemRB.SetVarAssoc (Window, Map, "ShowMapNotes", 1) --- 66,73 ---- Label = GemRB.GetControl (Window, 0x10000003) ! GemRB.SetText (Window, Label, "") # Map Control ! GemRB.CreateMapControl (Window, 2, 0, 0, 0, 0, "FLAG1", Label) Map = GemRB.GetControl (Window, 2) GemRB.SetVarAssoc (Window, Map, "ShowMapNotes", 1) |