diff options
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 9d1f4457013..3f89140888b 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -302,6 +302,16 @@ void WM_operator_properties_select_all(struct wmOperatorType *ot); void WM_operator_properties_select_action(struct wmOperatorType *ot, int default_action); void WM_operator_properties_select_action_simple(struct wmOperatorType *ot, int default_action); void WM_operator_properties_select_random(struct wmOperatorType *ot); +struct CheckerIntervalParams { + int nth; /* bypass when set to zero */ + int skip; + int offset; +}; +void WM_operator_properties_checker_interval(struct wmOperatorType *ot, bool nth_can_disable); +void WM_operator_properties_checker_interval_from_op( + struct wmOperator *op, struct CheckerIntervalParams *op_params); +bool WM_operator_properties_checker_interval_test( + const struct CheckerIntervalParams *op_params, int depth); /* MOVE THIS SOMEWHERE ELSE */ |