Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-12-17 18:38:40 +0300
committerTon Roosendaal <ton@blender.org>2008-12-17 18:38:40 +0300
commit07d63eb67943e6f9e93443fbbb903436c9b9503d (patch)
tree17b20fffb625948666ae05b89f6cc26c2eb28ae2 /source/blender/editors/include/ED_markers.h
parent616edcca1222c25b53c13d4da4c3af4f7a0f349a (diff)
2.5
- Made a nice generic 'OK confirm' implementation for operators. Just use in operator type definition this line: ot->invoke= WM_operator_confirm; It will autmatically use operator name for asking OK. It will also use properties (if set before). Note for Brecht: the test okee_operator() you coded could better not be used in operators themselves. In future we can also add menus that get automatically generated based on operator properties. Like 'add constraint' showing the constraint types. - Added this confirm call for most of the keys you'd expect it for. (user settings, delete marker, rip area, split region, etc). - Cleanup: moved ed_markers.c to the util/ directory, it doesnt belong in space_time. Also made separate function for the marker keymap definition. - removed ancient redraw notifier from ghost event level (every key press gave full screen draw)
Diffstat (limited to 'source/blender/editors/include/ED_markers.h')
-rw-r--r--source/blender/editors/include/ED_markers.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_markers.h b/source/blender/editors/include/ED_markers.h
index cad985ce37c..49f805e4ddb 100644
--- a/source/blender/editors/include/ED_markers.h
+++ b/source/blender/editors/include/ED_markers.h
@@ -34,13 +34,14 @@ enum {
DRAW_MARKERS_LOCAL = (1<<1)
};
-
+struct wmWindowManager;
void draw_markers_time(const bContext *C, int flag);
-/* register operators, called in ED_operatortypes_screen() */
+/* called in screen_ops.c:ED_operatortypes_screen() */
void ED_marker_operatortypes(void);
-
+/* called in screen_ops.c:ED_keymap_screen() */
+void ED_marker_keymap(struct wmWindowManager *wm);
#endif /* ED_MARKERS_H */