UI
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 22 Apr 2009 18:39:44 +0000 (18:39 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 22 Apr 2009 18:39:44 +0000 (18:39 +0000)
commitaf02a0aa4e0b80c3c1154e7be095f4a387f81179
tree3f714e683c96929cc4e44962570860ab0f635bc9
parent643d59bb9bf3bdd46f41a0b8c79384146629f9c8
UI
* Headers and menus can now be created in python.
* Replaced the uiMenuItem functions to create menus with equivalent
  uiItem functions using a layout, removing duplicated code.
* More uiItem functions are now exposed to python.
* The text editor header, panels and one of its menus are now created
  in space_text.py.
* Buttons window data context icon new changes depending on active
  object.

Issues
* Icons are not wrapped yet, hardcoded ints at the moment.
* The ID browse template is unfinished.
45 files changed:
release/ui/space_text.py [new file with mode: 0644]
source/blender/blenkernel/BKE_library.h
source/blender/blenkernel/BKE_screen.h
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/screen.c
source/blender/editors/animation/keyframing.c
source/blender/editors/armature/editarmature.c
source/blender/editors/armature/poselib.c
source/blender/editors/curve/curve_ops.c
source/blender/editors/curve/editcurve.c
source/blender/editors/include/BIF_transform.h
source/blender/editors/include/UI_interface.h
source/blender/editors/interface/interface_anim.c
source/blender/editors/interface/interface_api.c
source/blender/editors/interface/interface_layout.c
source/blender/editors/interface/interface_regions.c
source/blender/editors/interface/interface_utils.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/editors/object/object_edit.c
source/blender/editors/physics/editparticle.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_buttons/buttons_header.c
source/blender/editors/space_image/image_header.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_image/space_image.c
source/blender/editors/space_info/info_header.c
source/blender/editors/space_sequencer/sequencer_header.c
source/blender/editors/space_text/space_text.c
source/blender/editors/space_text/text_header.c
source/blender/editors/space_text/text_intern.h
source/blender/editors/space_text/text_ops.c
source/blender/editors/space_view3d/view3d_header.c
source/blender/editors/space_view3d/view3d_snap.c
source/blender/editors/transform/transform_ops.c
source/blender/editors/transform/transform_orientations.c
source/blender/editors/uvedit/uvedit_unwrap_ops.c
source/blender/makesdna/DNA_screen_types.h
source/blender/makesdna/DNA_space_types.h
source/blender/makesrna/intern/rna_context.c
source/blender/makesrna/intern/rna_screen.c
source/blender/makesrna/intern/rna_space.c
source/blender/makesrna/intern/rna_text.c
source/blender/makesrna/intern/rna_ui.c
source/blender/python/intern/bpy_ui.c
source/blender/windowmanager/intern/wm_operators.c