Support gizmos for the the action space type based on how it is done for other types of spaces in Blender (e.g: view3d, image).
See patch submission for sample code.
Summary
Blender's Python API allows developers to indicate the space type a GizmoGroup should be registered to, by specifying the bl_space_type in its class definition.
The issue is that when using the DOPESHEET_EDITOR space type, the GizmoGroup gets properly registered but never actually shows in the UI.
The proposal
This patch adds what is missing to display and interact with gizmos within the action space type. Based on how it is done for other types of spaces in Blender (e.g: view3d, image), it consists in:
- setting the ED_KEYMAP_GIZMO flag to the action region keymap flag
- drawing the gizmo map within the action_main_region_draw function
Having access to gizmos in dopesheet-like editors opens possibilities for new types of contextual tools. In order to demonstrate what can be done, a sample Python script is attached. It adds handles to interactively adjust the scene start and end frames.
