2.5
authorTon Roosendaal <ton@blender.org>
Fri, 23 Jan 2009 14:43:25 +0000 (14:43 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 23 Jan 2009 14:43:25 +0000 (14:43 +0000)
commit66437a62a73966de8ccb673473ba69d6c1ed66a3
tree6b200663643b67dea804e8b9805abf128a010493
parentf4133b730c93f6db985b6751d18b72ea7f429c34
2.5

Font object + editing back.

Was quite some work due to a myriad of globals all over!
Works nicely 100% local now.

To enable a single textedit operator, I've added a new
keymap entry KM_TEXTEDIT, which gives all keyboard events
to the handler. Also had to add a new keymap-add function
to force a keymap handler in beginning of region handlers.
In future this can be used to prioritize handlers.

Also: split off the arrow keys (frame change) to a separate
region level handler. Can be set with default flag in
regiontype->keymapflag ED_KEYMAP_FRAMES
35 files changed:
source/blender/blenkernel/BKE_curve.h
source/blender/blenkernel/BKE_font.h
source/blender/blenkernel/BKE_global.h
source/blender/blenkernel/intern/anim.c
source/blender/blenkernel/intern/curve.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/font.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/curve/curve_intern.h [new file with mode: 0644]
source/blender/editors/curve/curve_ops.c [new file with mode: 0644]
source/blender/editors/curve/editfont.c [new file with mode: 0644]
source/blender/editors/curve/lorem.c [new file with mode: 0644]
source/blender/editors/include/ED_curve.h
source/blender/editors/include/ED_screen.h
source/blender/editors/mesh/editmesh.c
source/blender/editors/object/object_edit.c
source/blender/editors/screen/area.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_action/space_action.c
source/blender/editors/space_api/spacetypes.c
source/blender/editors/space_buttons/space_buttons.c
source/blender/editors/space_image/space_image.c
source/blender/editors/space_ipo/space_ipo.c
source/blender/editors/space_nla/space_nla.c
source/blender/editors/space_node/space_node.c
source/blender/editors/space_sequencer/space_sequencer.c
source/blender/editors/space_sound/space_sound.c
source/blender/editors/space_time/space_time.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/makesdna/DNA_curve_types.h
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/WM_types.h
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/wm_event_types.h