RNA read-only wrapped wmEvent so python operators invoke functions
authorCampbell Barton <ideasman42@gmail.com>
Sun, 21 Jun 2009 14:30:59 +0000 (14:30 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 21 Jun 2009 14:30:59 +0000 (14:30 +0000)
commit7f55c3b89c67a17d454389815be313b4c66f34b4
tree31f6d8adc536d40c032d4610fad64a8ec80de80c
parent1f9368b37ec9a418cd8996ffd9ee24f4bd47b2dd
RNA read-only wrapped wmEvent so python operators invoke functions
* 2 new enums event_value_items and event_type_items in RNA_enum_types.h
* WM_key_event_string now uses an RNA enum lookup rather then its own switch statement.
* moved wmEvent from WM_types.h into DNA_windowmanager_types.h
* added RNA_enum_identifier and RNA_enum_name to get strings from an enum value.
source/blender/editors/transform/transform_input.c
source/blender/editors/transform/transform_ndofinput.c
source/blender/editors/transform/transform_numinput.c
source/blender/makesdna/DNA_windowmanager_types.h
source/blender/makesrna/RNA_access.h
source/blender/makesrna/RNA_enum_types.h
source/blender/makesrna/intern/rna_access.c
source/blender/makesrna/intern/rna_wm.c
source/blender/python/intern/bpy_operator_wrap.c
source/blender/windowmanager/WM_types.h
source/blender/windowmanager/intern/wm_keymap.c