Blender Git Loki
Git Commits -> Revision b36d557
December 15, 2014, 13:52 (GMT) |
Refactor 'immediate search' Previous implementation was uglyly relying on button using a specific icon (VIEWZOOM) to enable this feature. Now we have a dedicated button flag (UI_BUT_TEXTEDIT_UPDATE) and a dedicated RNA subtype (PROP_SEARCH) for that. Also, if no icon is specified, it automatically set VIEWZOOM for it, which saves us explicitely defining it in UI py code! NOTE: this is to be committed asap in master, but has to wait for after 2.73, so storing it here for now. |
Commit Details:
Full Hash: b36d5570c8179241e4829904b40974fb552cad20
Parent Commit: 66f3def
Lines Changed: +55, -35
14 Modified Paths:
/release/scripts/modules/rna_keymap_ui.py (+2, -1) (Diff)
/release/scripts/startup/bl_ui/space_outliner.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/__init__.py (+1, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+26, -25) (Diff)
/source/blender/editors/interface/interface_handlers.c (+3, -2) (Diff)
/source/blender/editors/interface/interface_utils.c (+11, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+2, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+1, -1) (Diff)
/source/blender/makesrna/RNA_types.h (+1, -1) (Diff)
/source/blender/python/intern/bpy_props.c (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_outliner.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/__init__.py (+1, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+26, -25) (Diff)
/source/blender/editors/interface/interface_handlers.c (+3, -2) (Diff)
/source/blender/editors/interface/interface_utils.c (+11, -0) (Diff)
/source/blender/editors/space_file/space_file.c (+2, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+1, -1) (Diff)
/source/blender/makesrna/RNA_types.h (+1, -1) (Diff)
/source/blender/python/intern/bpy_props.c (+1, -0) (Diff)