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:
Diffstat (limited to 'source/blender/editors/include/ED_undo.h')
-rw-r--r--source/blender/editors/include/ED_undo.h47
1 files changed, 25 insertions, 22 deletions
diff --git a/source/blender/editors/include/ED_undo.h b/source/blender/editors/include/ED_undo.h
index 12839e36a12..ebc50e186a2 100644
--- a/source/blender/editors/include/ED_undo.h
+++ b/source/blender/editors/include/ED_undo.h
@@ -32,37 +32,40 @@ struct wmOperator;
struct wmOperatorType;
/* undo.c */
-void ED_undo_push(struct bContext *C, const char *str);
-void ED_undo_push_op(struct bContext *C, struct wmOperator *op);
-void ED_undo_grouped_push(struct bContext *C, const char *str);
-void ED_undo_grouped_push_op(struct bContext *C, struct wmOperator *op);
-void ED_undo_pop_op(struct bContext *C, struct wmOperator *op);
-void ED_undo_pop(struct bContext *C);
-void ED_undo_redo(struct bContext *C);
-void ED_OT_undo(struct wmOperatorType *ot);
-void ED_OT_undo_push(struct wmOperatorType *ot);
-void ED_OT_redo(struct wmOperatorType *ot);
-void ED_OT_undo_redo(struct wmOperatorType *ot);
-void ED_OT_undo_history(struct wmOperatorType *ot);
+void ED_undo_push(struct bContext *C, const char *str);
+void ED_undo_push_op(struct bContext *C, struct wmOperator *op);
+void ED_undo_grouped_push(struct bContext *C, const char *str);
+void ED_undo_grouped_push_op(struct bContext *C, struct wmOperator *op);
+void ED_undo_pop_op(struct bContext *C, struct wmOperator *op);
+void ED_undo_pop(struct bContext *C);
+void ED_undo_redo(struct bContext *C);
+void ED_OT_undo(struct wmOperatorType *ot);
+void ED_OT_undo_push(struct wmOperatorType *ot);
+void ED_OT_redo(struct wmOperatorType *ot);
+void ED_OT_undo_redo(struct wmOperatorType *ot);
+void ED_OT_undo_history(struct wmOperatorType *ot);
-int ED_undo_operator_repeat(struct bContext *C, struct wmOperator *op);
+int ED_undo_operator_repeat(struct bContext *C, struct wmOperator *op);
/* convenience since UI callbacks use this mostly*/
-void ED_undo_operator_repeat_cb(struct bContext *C, void *arg_op, void *arg_unused);
-void ED_undo_operator_repeat_cb_evt(struct bContext *C, void *arg_op, int arg_unused);
+void ED_undo_operator_repeat_cb(struct bContext *C, void *arg_op, void *arg_unused);
+void ED_undo_operator_repeat_cb_evt(struct bContext *C, void *arg_op, int arg_unused);
-bool ED_undo_is_valid(const struct bContext *C, const char *undoname);
+bool ED_undo_is_valid(const struct bContext *C, const char *undoname);
-bool ED_undo_is_memfile_compatible(const struct bContext *C);
+bool ED_undo_is_memfile_compatible(const struct bContext *C);
-void ED_undo_object_editmode_restore_helper(
- struct bContext *C,
- struct Object **object_array, uint object_array_len, uint object_array_stride);
+void ED_undo_object_editmode_restore_helper(struct bContext *C,
+ struct Object **object_array,
+ uint object_array_len,
+ uint object_array_stride);
struct UndoStack *ED_undo_stack_get(void);
/* helpers */
-void ED_undo_object_set_active_or_warn(
- struct ViewLayer *view_layer, struct Object *ob, const char *info, struct CLG_LogRef *log);
+void ED_undo_object_set_active_or_warn(struct ViewLayer *view_layer,
+ struct Object *ob,
+ const char *info,
+ struct CLG_LogRef *log);
/* undo_system_types.c */
void ED_undosys_type_init(void);