From: Willem J. P. <wjp...@us...> - 2007-01-31 21:34:11
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/tob In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv21524/GUIScripts/tob Modified Files: GUIINV.py Log Message: fix graphical glitches in inventory slots (caused by changing the palette in guiscripts) Index: GUIINV.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/tob/GUIINV.py,v retrieving revision 1.71 retrieving revision 1.72 diff -C2 -d -r1.71 -r1.72 *** GUIINV.py 31 Dec 2006 16:46:13 -0000 1.71 --- GUIINV.py 31 Jan 2007 21:33:35 -0000 1.72 *************** *** 433,446 **** else: if SlotType["ResRef"]=="*": ! GemRB.SetButtonBAM (Window, Button, "",0,0,0) GemRB.SetTooltip (Window, Button, SlotType["Tip"]) itemname = "" elif SlotType["ResRef"]=="": ! GemRB.SetButtonBAM (Window, Button, "",0,0,0) GemRB.SetButtonFlags (Window, Button, IE_GUI_BUTTON_NO_IMAGE, OP_OR) GemRB.SetTooltip (Window, Button, "") itemname = "" else: ! GemRB.SetButtonBAM (Window, Button, SlotType["ResRef"],0,0,0) GemRB.SetTooltip (Window, Button, SlotType["Tip"]) --- 433,446 ---- else: if SlotType["ResRef"]=="*": ! GemRB.SetButtonBAM (Window, Button, "",0,0) GemRB.SetTooltip (Window, Button, SlotType["Tip"]) itemname = "" elif SlotType["ResRef"]=="": ! GemRB.SetButtonBAM (Window, Button, "",0,0) GemRB.SetButtonFlags (Window, Button, IE_GUI_BUTTON_NO_IMAGE, OP_OR) GemRB.SetTooltip (Window, Button, "") itemname = "" else: ! GemRB.SetButtonBAM (Window, Button, SlotType["ResRef"],0,0) GemRB.SetTooltip (Window, Button, SlotType["Tip"]) |