2.5 - Time operations to Animation Module
authorJoshua Leung <aligorith@gmail.com>
Sun, 21 Dec 2008 08:02:24 +0000 (08:02 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sun, 21 Dec 2008 08:02:24 +0000 (08:02 +0000)
commitdf274a8b58a9f3f9e4a6e34e76bb2fb2e06b7e3f
treef9ab9e835aad7cdf02470ff8693b6711647e53f8
parente2cca3320ac9e32c9f5ad51e1c6de1d049aa5b98
2.5 - Time operations to Animation Module

Moved time_ops.c contents to anim_ops.c, as the operators there are applicable to all other Animation Editors too. anim_ops.c will therefore contain all operators which will apply to all Animation Editors (i.e. change frame, frames/seconds display toggle, and soon Preview Range tools).

As such, added new global 'Animation' keymap like for View2D and Markers, which will ensure that these tools can be accessed in an uniform way across editors.
Note that the order that these things are added is important, as the Animation ones will often 'steal' events from the View2D and Markers ones if placed before the others. To prevent that, we'd need to be able to set boundboxes here...
source/blender/editors/animation/anim_ops.c [new file with mode: 0644]
source/blender/editors/include/ED_anim_api.h
source/blender/editors/include/ED_screen.h
source/blender/editors/interface/view2d_ops.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_ipo/space_ipo.c
source/blender/editors/space_time/space_time.c
source/blender/editors/space_time/time_ops.c