From: <ave...@us...> - 2004-01-17 14:42:13
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/how In directory sc8-pr-cvs1:/tmp/cvs-serv16519/how Modified Files: GUIDefines.py Log Message: Fix: fixed Syntax warning in GuiDefines.py Index: GUIDefines.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/how/GUIDefines.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GUIDefines.py 9 Dec 2003 17:42:48 -0000 1.1 --- GUIDefines.py 17 Jan 2004 14:42:09 -0000 1.2 *************** *** 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,13 **** --- 25,33 ---- 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 IE_GUI_BUTTON_ON_PRESS = 0x00000000 + IE_GUI_MOUSE_OVER_BUTTON = 0x00000001 IE_GUI_SLIDER_ON_CHANGE = 0x02000000 IE_GUI_EDIT_ON_CHANGE = 0x03000000 *************** *** 20,46 **** 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 |