From 78218d89d68861cf96884ce6553ea587b4f6eeb4 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 29 Nov 2008 15:10:31 +0000 Subject: 2.5: work on bringing back SpaceTime options - RMB select, also with SHIFT - RMB tweak for translate - SHIFT+D dupli - BKEY border select/deselect - AKEY (de)select all - XKEY delete - GKEY grab Added some XXX comments for future todos, especially for when other spaces come back with time markers. Also added ED_util for putting in all to-be-cleaned cruft Context conflict: input methods for Markers can conflict with other spacetypes. It was solved in pre-2.5 with manually tweaking it all over, but I would prefer one keymap for all marker stuff. Needs some thinking... could be solved with a boundbox check for bottom part of 2d window. Tweak issue: both tweak styles are possible: - Hold mouse button, move, operator ends on mouse release - Hold mouse button, move, operator ends on mouse click Problem is that modally handled operators use fixed keymaps... like ESC, SPACE, ENTER, or press/release mousebutton for 'assign'. There's a lot to say for making this all consistant, or become part of 1 general keymap? Should also be possibe to define 'tweak' defaults for Tablet different than for mouse... --- source/blender/editors/include/ED_markers.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source/blender/editors/include/ED_markers.h') diff --git a/source/blender/editors/include/ED_markers.h b/source/blender/editors/include/ED_markers.h index 09346417d5a..cad985ce37c 100644 --- a/source/blender/editors/include/ED_markers.h +++ b/source/blender/editors/include/ED_markers.h @@ -36,13 +36,10 @@ enum { -struct wmOperatorType; - - void draw_markers_time(const bContext *C, int flag); -/* operators */ -void ED_MARKER_OT_add(struct wmOperatorType *ot); +/* register operators, called in ED_operatortypes_screen() */ +void ED_marker_operatortypes(void); #endif /* ED_MARKERS_H */ -- cgit v1.2.3