diff options
Diffstat (limited to 'source/blender/editors/space_action/action_select.c')
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index 1b0b305b7aa..0fef3dd6e2b 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -161,19 +161,19 @@ static int actkeys_deselectall_exec(bContext *C, wmOperator *op) void ACTION_OT_select_all_toggle (wmOperatorType *ot) { /* identifiers */ - ot->name= "Select All"; - ot->idname= "ACTION_OT_select_all_toggle"; - ot->description= "Toggle selection of all keyframes"; + ot->name = "Select All"; + ot->idname = "ACTION_OT_select_all_toggle"; + ot->description = "Toggle selection of all keyframes"; /* api callbacks */ - ot->exec= actkeys_deselectall_exec; - ot->poll= ED_operator_action_active; + ot->exec = actkeys_deselectall_exec; + ot->poll = ED_operator_action_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* props */ - ot->prop= RNA_def_boolean(ot->srna, "invert", 0, "Invert", ""); + ot->prop = RNA_def_boolean(ot->srna, "invert", 0, "Invert", ""); } /* ******************** Border Select Operator **************************** */ @@ -319,25 +319,25 @@ static int actkeys_borderselect_exec(bContext *C, wmOperator *op) void ACTION_OT_select_border(wmOperatorType *ot) { /* identifiers */ - ot->name= "Border Select"; - ot->idname= "ACTION_OT_select_border"; - ot->description= "Select all keyframes within the specified region"; + ot->name = "Border Select"; + ot->idname = "ACTION_OT_select_border"; + ot->description = "Select all keyframes within the specified region"; /* api callbacks */ - ot->invoke= WM_border_select_invoke; - ot->exec= actkeys_borderselect_exec; - ot->modal= WM_border_select_modal; - ot->cancel= WM_border_select_cancel; + ot->invoke = WM_border_select_invoke; + ot->exec = actkeys_borderselect_exec; + ot->modal = WM_border_select_modal; + ot->cancel = WM_border_select_cancel; - ot->poll= ED_operator_action_active; + ot->poll = ED_operator_action_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* rna */ WM_operator_properties_gesture_border(ot, TRUE); - ot->prop= RNA_def_boolean(ot->srna, "axis_range", 0, "Axis Range", ""); + ot->prop = RNA_def_boolean(ot->srna, "axis_range", 0, "Axis Range", ""); } /* ******************** Column Select Operator **************************** */ @@ -527,19 +527,19 @@ static int actkeys_columnselect_exec(bContext *C, wmOperator *op) void ACTION_OT_select_column (wmOperatorType *ot) { /* identifiers */ - ot->name= "Select All"; - ot->idname= "ACTION_OT_select_column"; - ot->description= "Select all keyframes on the specified frame(s)"; + ot->name = "Select All"; + ot->idname = "ACTION_OT_select_column"; + ot->description = "Select all keyframes on the specified frame(s)"; /* api callbacks */ - ot->exec= actkeys_columnselect_exec; - ot->poll= ED_operator_action_active; + ot->exec = actkeys_columnselect_exec; + ot->poll = ED_operator_action_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* props */ - ot->prop= RNA_def_enum(ot->srna, "mode", prop_column_select_types, 0, "Mode", ""); + ot->prop = RNA_def_enum(ot->srna, "mode", prop_column_select_types, 0, "Mode", ""); } /* ******************** Select Linked Operator *********************** */ @@ -586,15 +586,15 @@ void ACTION_OT_select_linked (wmOperatorType *ot) { /* identifiers */ ot->name = "Select Linked"; - ot->idname= "ACTION_OT_select_linked"; + ot->idname = "ACTION_OT_select_linked"; ot->description = "Select keyframes occurring in the same F-Curves as selected ones"; /* api callbacks */ - ot->exec= actkeys_select_linked_exec; - ot->poll= ED_operator_action_active; + ot->exec = actkeys_select_linked_exec; + ot->poll = ED_operator_action_active; /* flags */ - ot->flag= OPTYPE_REGISTER/*|OPTYPE_UNDO*/; + ot->flag = OPTYPE_REGISTER/*|OPTYPE_UNDO*/; } /* ******************** Select More/Less Operators *********************** */ @@ -663,15 +663,15 @@ void ACTION_OT_select_more (wmOperatorType *ot) { /* identifiers */ ot->name = "Select More"; - ot->idname= "ACTION_OT_select_more"; + ot->idname = "ACTION_OT_select_more"; ot->description = "Select keyframes beside already selected ones"; /* api callbacks */ - ot->exec= actkeys_select_more_exec; - ot->poll= ED_operator_action_active; + ot->exec = actkeys_select_more_exec; + ot->poll = ED_operator_action_active; /* flags */ - ot->flag= OPTYPE_REGISTER/*|OPTYPE_UNDO*/; + ot->flag = OPTYPE_REGISTER/*|OPTYPE_UNDO*/; } /* ----------------- */ @@ -697,15 +697,15 @@ void ACTION_OT_select_less (wmOperatorType *ot) { /* identifiers */ ot->name = "Select Less"; - ot->idname= "ACTION_OT_select_less"; + ot->idname = "ACTION_OT_select_less"; ot->description = "Deselect keyframes on ends of selection islands"; /* api callbacks */ - ot->exec= actkeys_select_less_exec; - ot->poll= ED_operator_action_active; + ot->exec = actkeys_select_less_exec; + ot->poll = ED_operator_action_active; /* flags */ - ot->flag= OPTYPE_REGISTER/*|OPTYPE_UNDO*/; + ot->flag = OPTYPE_REGISTER/*|OPTYPE_UNDO*/; } /* ******************** Select Left/Right Operator ************************* */ @@ -863,20 +863,20 @@ static int actkeys_select_leftright_invoke (bContext *C, wmOperator *op, wmEvent void ACTION_OT_select_leftright (wmOperatorType *ot) { /* identifiers */ - ot->name= "Select Left/Right"; - ot->idname= "ACTION_OT_select_leftright"; - ot->description= "Select keyframes to the left or the right of the current frame"; + ot->name = "Select Left/Right"; + ot->idname = "ACTION_OT_select_leftright"; + ot->description = "Select keyframes to the left or the right of the current frame"; /* api callbacks */ - ot->invoke= actkeys_select_leftright_invoke; - ot->exec= actkeys_select_leftright_exec; - ot->poll= ED_operator_action_active; + ot->invoke = actkeys_select_leftright_invoke; + ot->exec = actkeys_select_leftright_exec; + ot->poll = ED_operator_action_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* id-props */ - ot->prop= RNA_def_enum(ot->srna, "mode", prop_actkeys_leftright_select_types, ACTKEYS_LRSEL_TEST, "Mode", ""); + ot->prop = RNA_def_enum(ot->srna, "mode", prop_actkeys_leftright_select_types, ACTKEYS_LRSEL_TEST, "Mode", ""); RNA_def_boolean(ot->srna, "extend", 0, "Extend Select", ""); } @@ -1177,16 +1177,16 @@ static int actkeys_clickselect_invoke(bContext *C, wmOperator *op, wmEvent *even void ACTION_OT_clickselect (wmOperatorType *ot) { /* identifiers */ - ot->name= "Mouse Select Keys"; - ot->idname= "ACTION_OT_clickselect"; - ot->description= "Select keyframes by clicking on them"; + ot->name = "Mouse Select Keys"; + ot->idname = "ACTION_OT_clickselect"; + ot->description = "Select keyframes by clicking on them"; /* api callbacks - absolutely no exec() this yet... */ - ot->invoke= actkeys_clickselect_invoke; - ot->poll= ED_operator_action_active; + ot->invoke = actkeys_clickselect_invoke; + ot->poll = ED_operator_action_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* id-props */ RNA_def_boolean(ot->srna, "extend", 0, "Extend Select", ""); // SHIFTKEY |