|
| | blender::ENUM_OPERATORS (UndoEncodeHints) |
| | blender::UNDO_REF_ID_TYPE (GreasePencil) |
| | blender::UNDO_REF_ID_TYPE (Mesh) |
| | blender::UNDO_REF_ID_TYPE (Object) |
| | blender::UNDO_REF_ID_TYPE (Scene) |
| | blender::UNDO_REF_ID_TYPE (Text) |
| | blender::UNDO_REF_ID_TYPE (Image) |
| | blender::UNDO_REF_ID_TYPE (PaintCurve) |
| UndoStack * | blender::BKE_undosys_stack_create () |
| void | blender::BKE_undosys_stack_destroy (UndoStack *ustack) |
| void | blender::BKE_undosys_stack_clear (UndoStack *ustack) |
| void | blender::BKE_undosys_stack_clear_active (UndoStack *ustack) |
| bool | blender::BKE_undosys_stack_has_undo (const UndoStack *ustack, const char *name) |
| bool | blender::BKE_undosys_stack_has_redo (const UndoStack *ustack) |
| void | blender::BKE_undosys_stack_init_from_main (UndoStack *ustack, Main *bmain) |
| void | blender::BKE_undosys_stack_init_from_context (UndoStack *ustack, bContext *C) |
| UndoStep * | blender::BKE_undosys_stack_active_with_type (UndoStack *ustack, const UndoType *ut) |
| UndoStep * | blender::BKE_undosys_stack_init_or_active_with_type (UndoStack *ustack, const UndoType *ut) |
| void | blender::BKE_undosys_stack_limit_steps_and_memory (UndoStack *ustack, int steps, size_t memory_limit) |
This enables skip while group-level is set. In general it's not allowed that #UndoStack.step_active have 'skip' enabled.
This rule is relaxed for grouping, however it's important each call to BKE_undosys_stack_group_begin has a matching BKE_undosys_stack_group_end.
- Levels are used so nesting is supported, where the last call to BKE_undosys_stack_group_end will set the active undo step that should not be skipped.
- Correct begin/end is checked by an assert since any errors here will cause undo to consider all steps part of one large group.
- Calls to begin/end with no undo steps being pushed is supported and does nothing.
|
| void | blender::BKE_undosys_stack_group_begin (UndoStack *ustack) |
| void | blender::BKE_undosys_stack_group_end (UndoStack *ustack) |
| UndoStep * | blender::BKE_undosys_step_push_init_with_type (UndoStack *ustack, bContext *C, const char *name, const UndoType *ut) |
| UndoStep * | blender::BKE_undosys_step_push_init (UndoStack *ustack, bContext *C, const char *name) |
| eUndoPushReturn | blender::BKE_undosys_step_push_with_type (UndoStack *ustack, bContext *C, const char *name, UndoEncodeHints hints, const UndoType *ut) |
| eUndoPushReturn | blender::BKE_undosys_step_push (UndoStack *ustack, bContext *C, const char *name, UndoEncodeHints hints) |
| UndoStep * | blender::BKE_undosys_step_find_by_name_with_type (UndoStack *ustack, const char *name, const UndoType *ut) |
| UndoStep * | blender::BKE_undosys_step_find_by_type (UndoStack *ustack, const UndoType *ut) |
| UndoStep * | blender::BKE_undosys_step_find_by_name (UndoStack *ustack, const char *name) |
| eUndoStepDir | blender::BKE_undosys_step_calc_direction (const UndoStack *ustack, const UndoStep *us_target, const UndoStep *us_reference) |
| bool | blender::BKE_undosys_step_load_data_ex (UndoStack *ustack, bContext *C, UndoStep *us_target, UndoStep *us_reference, bool use_skip) |
| bool | blender::BKE_undosys_step_load_data (UndoStack *ustack, bContext *C, UndoStep *us_target) |
| void | blender::BKE_undosys_step_load_from_index (UndoStack *ustack, bContext *C, int index) |
| bool | blender::BKE_undosys_step_undo_with_data_ex (UndoStack *ustack, bContext *C, UndoStep *us_target, bool use_skip) |
| bool | blender::BKE_undosys_step_undo_with_data (UndoStack *ustack, bContext *C, UndoStep *us_target) |
| bool | blender::BKE_undosys_step_undo (UndoStack *ustack, bContext *C) |
| bool | blender::BKE_undosys_step_redo_with_data_ex (UndoStack *ustack, bContext *C, UndoStep *us_target, bool use_skip) |
| bool | blender::BKE_undosys_step_redo_with_data (UndoStack *ustack, bContext *C, UndoStep *us_target) |
| bool | blender::BKE_undosys_step_redo (UndoStack *ustack, bContext *C) |
| UndoStep * | blender::BKE_undosys_step_same_type_next (UndoStep *us) |
| UndoStep * | blender::BKE_undosys_step_same_type_prev (UndoStep *us) |
| bool | blender::BKE_undosys_type_foreach (FunctionRef< bool(const UndoType *ut)> fn) |
| UndoType * | blender::BKE_undosys_type_append (void(*undosys_fn)(UndoType *)) |
| void | blender::BKE_undosys_type_free_all () |
| const UndoType * | blender::BKE_undosys_type_from_context (bContext *C) |
| void | blender::BKE_undosys_print (UndoStack *ustack) |