From: <ave...@us...> - 2004-01-17 14:42:13
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/pst In directory sc8-pr-cvs1:/tmp/cvs-serv16519/pst Modified Files: GUIDefines.py MessageWindow.py Log Message: Fix: fixed Syntax warning in GuiDefines.py Index: GUIDefines.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/pst/GUIDefines.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** GUIDefines.py 26 Dec 2003 13:55:43 -0000 1.3 --- GUIDefines.py 17 Jan 2004 14:42:10 -0000 1.4 *************** *** 1,2 **** --- 1,20 ---- + global IE_GUI_BUTTON_NO_IMAGE + global IE_GUI_BUTTON_IMAGE + global IE_GUI_BUTTON_PICTURE + global IE_GUI_BUTTON_NO_PICTURE + global IE_GUI_BUTTON_NO_SOUND + global IE_GUI_BUTTON_SOUND + global IE_GUI_BUTTON_CHECKBOX + global IE_GUI_BUTTON_PUSHBUTTON + global IE_GUI_BUTTON_ENABLED + global IE_GUI_BUTTON_UNPRESSED + global IE_GUI_BUTTON_PRESSED + global IE_GUI_BUTTON_SELECTED + global IE_GUI_BUTTON_DISABLED + + global IE_GUI_BUTTON_ON_PRESS + global IE_GUI_SLIDER_ON_CHANGE + global IE_GUI_SCROLLBAR_ON_CHANGE + #button flags IE_GUI_BUTTON_NORMAL = 0x00000004 #default button, doesn't stick *************** *** 7,11 **** IE_GUI_BUTTON_CHECKBOX = 0x00000010 #or radio button IE_GUI_BUTTON_RADIOBUTTON= 0x00000020 #sticks in a state ! IE_GUI_BUTTON_DEFAULT = 0x00000040 #enter button triggers it #events --- 25,29 ---- IE_GUI_BUTTON_CHECKBOX = 0x00000010 #or radio button IE_GUI_BUTTON_RADIOBUTTON= 0x00000020 #sticks in a state ! IE_GUI_BUTTON_DEFAULT = 0x00000040 #enter button triggers it #events *************** *** 22,48 **** IE_GUI_BUTTON_SELECTED = 0x00000002 IE_GUI_BUTTON_DISABLED = 0x00000003 - global IE_GUI_BUTTON_NO_IMAGE - global IE_GUI_BUTTON_IMAGE - global IE_GUI_BUTTON_PICTURE - global IE_GUI_BUTTON_NO_PICTURE - global IE_GUI_BUTTON_NO_SOUND - global IE_GUI_BUTTON_SOUND - global IE_GUI_BUTTON_CHECKBOX - global IE_GUI_BUTTON_PUSHBUTTON - global IE_GUI_BUTTON_ENABLED - global IE_GUI_BUTTON_UNPRESSED - global IE_GUI_BUTTON_PRESSED - global IE_GUI_BUTTON_SELECTED - global IE_GUI_BUTTON_DISABLED - - global IE_GUI_BUTTON_ON_PRESS - global IE_GUI_SLIDER_ON_CHANGE - global IE_GUI_SCROLLBAR_ON_CHANGE OP_SET = 0 OP_OR = 1 OP_NAND = 2 - global OP_SET, OP_OR, OP_NAND - GEMRB_VERSION = -1 global GEMRB_VERSION --- 40,49 ---- IE_GUI_BUTTON_SELECTED = 0x00000002 IE_GUI_BUTTON_DISABLED = 0x00000003 + global OP_SET, OP_OR, OP_NAND OP_SET = 0 OP_OR = 1 OP_NAND = 2 global GEMRB_VERSION + GEMRB_VERSION = -1 Index: MessageWindow.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/pst/MessageWindow.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MessageWindow.py 11 Jan 2004 16:49:09 -0000 1.5 --- MessageWindow.py 17 Jan 2004 14:42:10 -0000 1.6 *************** *** 42,46 **** CloseButton= GemRB.GetControl(MessageWindow, 0) ! GemRB.SetText(MessageWindow, CloseButton, 4243) OpenButton = GemRB.GetControl(OptionsWindow, 10) --- 42,46 ---- CloseButton= GemRB.GetControl(MessageWindow, 0) ! GemRB.SetText(MessageWindow, CloseButton, 28082) OpenButton = GemRB.GetControl(OptionsWindow, 10) |