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:
authorCampbell Barton <ideasman42@gmail.com>2009-09-12 21:16:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-12 21:16:12 +0400
commitf9eb93bc7bd8351864cc4787953e2faf7d4cfd30 (patch)
tree1e34e042078ab98ee6e07a9db1a8617e38745973 /source/blender/editors/space_sequencer
parentf130f16fef38d40ee492ccb4ff1ad0708329ae3c (diff)
many docstrings from Ron Walker and Luca (mindrones on IRC),
only did a spot check on these, may need adjusting later.
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_add.c2
-rw-r--r--source/blender/editors/space_sequencer/sequencer_buttons.c1
-rw-r--r--source/blender/editors/space_sequencer/sequencer_edit.c52
-rw-r--r--source/blender/editors/space_sequencer/sequencer_select.c20
4 files changed, 51 insertions, 24 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c
index e6d50976957..8a1b3bf3465 100644
--- a/source/blender/editors/space_sequencer/sequencer_add.c
+++ b/source/blender/editors/space_sequencer/sequencer_add.c
@@ -662,7 +662,7 @@ void SEQUENCER_OT_effect_strip_add(struct wmOperatorType *ot)
/* identifiers */
ot->name= "Add Effect Strip";
ot->idname= "SEQUENCER_OT_effect_strip_add";
- ot->description= "Add an effect to the sequencer, most are applied ontop of existing strips";
+ ot->description= "Add an effect to the sequencer, most are applied on top of existing strips";
/* api callbacks */
ot->invoke= sequencer_add_effect_strip_invoke;
diff --git a/source/blender/editors/space_sequencer/sequencer_buttons.c b/source/blender/editors/space_sequencer/sequencer_buttons.c
index cc4f5cf5ce3..789843f5490 100644
--- a/source/blender/editors/space_sequencer/sequencer_buttons.c
+++ b/source/blender/editors/space_sequencer/sequencer_buttons.c
@@ -126,6 +126,7 @@ void SEQUENCER_OT_properties(wmOperatorType *ot)
{
ot->name= "Properties";
ot->idname= "SEQUENCER_OT_properties";
+ ot->description= "Open sequencer properties panel.";
ot->exec= sequencer_properties;
ot->poll= ED_operator_sequencer_active;
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 1555784f470..4e71e4883d1 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -1461,7 +1461,8 @@ void SEQUENCER_OT_snap(struct wmOperatorType *ot)
/* identifiers */
ot->name= "Snap strips";
ot->idname= "SEQUENCER_OT_snap";
-
+ ot->description="Frame where selected strips will be snapped.";
+
/* api callbacks */
ot->invoke= sequencer_snap_invoke;
ot->exec= sequencer_snap_exec;
@@ -1471,7 +1472,7 @@ void SEQUENCER_OT_snap(struct wmOperatorType *ot)
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
- RNA_def_int(ot->srna, "frame", 0, INT_MIN, INT_MAX, "Frame", "Frame where selected strips will snaped", INT_MIN, INT_MAX);
+ RNA_def_int(ot->srna, "frame", 0, INT_MIN, INT_MAX, "Frame", "Frame where selected strips will be snapped", INT_MIN, INT_MAX);
}
/* mute operator */
@@ -1514,7 +1515,8 @@ void SEQUENCER_OT_mute(struct wmOperatorType *ot)
/* identifiers */
ot->name= "Mute Strips";
ot->idname= "SEQUENCER_OT_mute";
-
+ ot->description="Mute selected strips.";
+
/* api callbacks */
ot->exec= sequencer_mute_exec;
@@ -1567,7 +1569,8 @@ void SEQUENCER_OT_unmute(struct wmOperatorType *ot)
/* identifiers */
ot->name= "UnMute Strips";
ot->idname= "SEQUENCER_OT_unmute";
-
+ ot->description="UnMute unselected rather than selected strips.";
+
/* api callbacks */
ot->exec= sequencer_unmute_exec;
@@ -1606,7 +1609,8 @@ void SEQUENCER_OT_lock(struct wmOperatorType *ot)
/* identifiers */
ot->name= "Lock Strips";
ot->idname= "SEQUENCER_OT_lock";
-
+ ot->description="Lock the active strip so that it can't be transformed.";
+
/* api callbacks */
ot->exec= sequencer_lock_exec;
@@ -1642,7 +1646,8 @@ void SEQUENCER_OT_unlock(struct wmOperatorType *ot)
/* identifiers */
ot->name= "UnLock Strips";
ot->idname= "SEQUENCER_OT_unlock";
-
+ ot->description="Unlock the active strip so that it can't be transformed.";
+
/* api callbacks */
ot->exec= sequencer_unlock_exec;
@@ -1678,7 +1683,8 @@ void SEQUENCER_OT_reload(struct wmOperatorType *ot)
/* identifiers */
ot->name= "Reload Strips";
ot->idname= "SEQUENCER_OT_reload";
-
+ ot->description="Reload strips in the sequencer.";
+
/* api callbacks */
ot->exec= sequencer_reload_exec;
@@ -1709,7 +1715,8 @@ void SEQUENCER_OT_refresh_all(struct wmOperatorType *ot)
/* identifiers */
ot->name= "Refresh Sequencer";
ot->idname= "SEQUENCER_OT_refresh_all";
-
+ ot->description="Refresh the sequencer editor.";
+
/* api callbacks */
ot->exec= sequencer_refresh_all_exec;
@@ -1806,7 +1813,8 @@ void SEQUENCER_OT_cut(struct wmOperatorType *ot)
/* identifiers */
ot->name= "Cut Strips";
ot->idname= "SEQUENCER_OT_cut";
-
+ ot->description="Cut the selected strips.";
+
/* api callbacks */
ot->invoke= sequencer_cut_invoke;
ot->exec= sequencer_cut_exec;
@@ -1817,7 +1825,7 @@ void SEQUENCER_OT_cut(struct wmOperatorType *ot)
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
RNA_def_int(ot->srna, "frame", 0, INT_MIN, INT_MAX, "Frame", "Frame where selected strips will be cut", INT_MIN, INT_MAX);
- RNA_def_enum(ot->srna, "type", prop_cut_types, SEQ_CUT_SOFT, "Type", "the type of cut operation to perform on strips");
+ RNA_def_enum(ot->srna, "type", prop_cut_types, SEQ_CUT_SOFT, "Type", "The type of cut operation to perform on strips");
RNA_def_enum(ot->srna, "side", prop_side_types, SEQ_SIDE_BOTH, "Side", "The side that remains selected after cutting");
}
@@ -1856,7 +1864,8 @@ void SEQUENCER_OT_duplicate(wmOperatorType *ot)
/* identifiers */
ot->name= "Duplicate";
ot->idname= "SEQUENCER_OT_duplicate";
-
+ ot->description="Duplicate the selected strips.";
+
/* api callbacks */
ot->invoke= sequencer_add_duplicate_invoke;
ot->exec= sequencer_add_duplicate_exec;
@@ -1938,7 +1947,8 @@ void SEQUENCER_OT_delete(wmOperatorType *ot)
/* identifiers */
ot->name= "Erase Strips";
ot->idname= "SEQUENCER_OT_delete";
-
+ ot->description="Erase selected strips from the sequencer.";
+
/* api callbacks */
ot->invoke= WM_operator_confirm;
ot->exec= sequencer_delete_exec;
@@ -2031,7 +2041,8 @@ void SEQUENCER_OT_images_separate(wmOperatorType *ot)
/* identifiers */
ot->name= "Separate Images";
ot->idname= "SEQUENCER_OT_images_separate";
-
+ ot->description="On image sequences strips, it return a strip for each image.";
+
/* api callbacks */
ot->invoke= WM_operator_confirm;
ot->exec= sequencer_separate_images_exec;
@@ -2103,7 +2114,8 @@ void SEQUENCER_OT_meta_toggle(wmOperatorType *ot)
/* identifiers */
ot->name= "Toggle Meta Strip";
ot->idname= "SEQUENCER_OT_meta_toggle";
-
+ ot->description="Toggle a metastrip (to edit enclosed strips).";
+
/* api callbacks */
ot->exec= sequencer_meta_toggle_exec;
@@ -2207,7 +2219,8 @@ void SEQUENCER_OT_meta_make(wmOperatorType *ot)
/* identifiers */
ot->name= "Make Meta Strip";
ot->idname= "SEQUENCER_OT_meta_make";
-
+ ot->description="Group selected strips into a metastrip.";
+
/* api callbacks */
ot->invoke= WM_operator_confirm;
ot->exec= sequencer_meta_make_exec;
@@ -2276,7 +2289,8 @@ void SEQUENCER_OT_meta_separate(wmOperatorType *ot)
/* identifiers */
ot->name= "UnMeta Strip";
ot->idname= "SEQUENCER_OT_meta_separate";
-
+ ot->description="Put the contents of a metastrip back in the sequencer.";
+
/* api callbacks */
ot->invoke= WM_operator_confirm;
ot->exec= sequencer_meta_separate_exec;
@@ -2342,7 +2356,8 @@ void SEQUENCER_OT_view_all(wmOperatorType *ot)
/* identifiers */
ot->name= "View All";
ot->idname= "SEQUENCER_OT_view_all";
-
+ ot->description="View all the strips in the sequencer.";
+
/* api callbacks */
ot->exec= sequencer_view_all_exec;
@@ -2422,7 +2437,8 @@ void SEQUENCER_OT_view_selected(wmOperatorType *ot)
/* identifiers */
ot->name= "View Selected";
ot->idname= "SEQUENCER_OT_view_selected";
-
+ ot->description="Zoom the sequencer on the selected strips.";
+
/* api callbacks */
ot->exec= sequencer_view_selected_exec;
diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c
index dda5837e5f5..747e1609213 100644
--- a/source/blender/editors/space_sequencer/sequencer_select.c
+++ b/source/blender/editors/space_sequencer/sequencer_select.c
@@ -232,7 +232,8 @@ void SEQUENCER_OT_select_all_toggle(struct wmOperatorType *ot)
/* identifiers */
ot->name= "(De)Select All";
ot->idname= "SEQUENCER_OT_select_all_toggle";
-
+ ot->description="Select or deselect all strips.";
+
/* api callbacks */
ot->exec= sequencer_deselect_exec;
@@ -272,7 +273,8 @@ void SEQUENCER_OT_select_inverse(struct wmOperatorType *ot)
/* identifiers */
ot->name= "Select Inverse";
ot->idname= "SEQUENCER_OT_select_inverse";
-
+ ot->description="Select unselected strips.";
+
/* api callbacks */
ot->exec= sequencer_select_inverse_exec;
@@ -448,6 +450,7 @@ void SEQUENCER_OT_select(wmOperatorType *ot)
/* identifiers */
ot->name= "Activate/Select";
ot->idname= "SEQUENCER_OT_select";
+ ot->description="Select a strip (last selected becomes the \"active strip\").";
/* api callbacks */
ot->invoke= sequencer_select_invoke;
@@ -533,6 +536,7 @@ void SEQUENCER_OT_select_more(wmOperatorType *ot)
/* identifiers */
ot->name= "Select More";
ot->idname= "SEQUENCER_OT_select_more";
+ ot->description="DOC_BROKEN";
/* api callbacks */
ot->exec= sequencer_select_more_exec;
@@ -562,6 +566,7 @@ void SEQUENCER_OT_select_less(wmOperatorType *ot)
/* identifiers */
ot->name= "Select less";
ot->idname= "SEQUENCER_OT_select_less";
+ ot->description="DOC_BROKEN";
/* api callbacks */
ot->exec= sequencer_select_less_exec;
@@ -616,6 +621,7 @@ void SEQUENCER_OT_select_linked_pick(wmOperatorType *ot)
/* identifiers */
ot->name= "Select pick linked";
ot->idname= "SEQUENCER_OT_select_linked_pick";
+ ot->description="DOC_BROKEN";
/* api callbacks */
ot->invoke= sequencer_select_linked_pick_invoke;
@@ -650,7 +656,8 @@ void SEQUENCER_OT_select_linked(wmOperatorType *ot)
/* identifiers */
ot->name= "Select linked";
ot->idname= "SEQUENCER_OT_select_linked";
-
+ ot->description="DOC_BROKEN";
+
/* api callbacks */
ot->exec= sequencer_select_linked_exec;
ot->poll= ED_operator_sequencer_active;
@@ -701,7 +708,8 @@ void SEQUENCER_OT_select_handles(wmOperatorType *ot)
/* identifiers */
ot->name= "Select Handles";
ot->idname= "SEQUENCER_OT_select_handles";
-
+ ot->description="DOC_BROKEN";
+
/* api callbacks */
ot->exec= sequencer_select_handles_exec;
ot->poll= ED_operator_sequencer_active;
@@ -737,7 +745,8 @@ void SEQUENCER_OT_select_active_side(wmOperatorType *ot)
/* identifiers */
ot->name= "Select Active Side";
ot->idname= "SEQUENCER_OT_select_active_side";
-
+ ot->description="DOC_BROKEN";
+
/* api callbacks */
ot->exec= sequencer_select_active_side_exec;
ot->poll= ED_operator_sequencer_active;
@@ -799,6 +808,7 @@ void SEQUENCER_OT_select_border(wmOperatorType *ot)
/* identifiers */
ot->name= "Border Select";
ot->idname= "SEQUENCER_OT_select_border";
+ ot->description="Enable border select mode.";
/* api callbacks */
ot->invoke= WM_border_select_invoke;