Blender  V2.93
undo_system_types.c
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
21 #include <string.h>
22 
23 #include "BLI_utildefines.h"
24 
25 #include "ED_armature.h"
26 #include "ED_curve.h"
27 #include "ED_lattice.h"
28 #include "ED_mball.h"
29 #include "ED_mesh.h"
30 #include "ED_paint.h"
31 #include "ED_particle.h"
32 #include "ED_sculpt.h"
33 #include "ED_text.h"
34 #include "ED_undo.h"
35 #include "undo_intern.h"
36 
37 /* Keep last */
38 #include "BKE_undo_system.h"
39 
41 {
42  /* Edit Modes */
49 
50  /* Paint Modes */
52 
54 
56 
58 
59  /* Text editor */
61 
62  /* Keep global undo last (as a fallback). */
64 }
65 
67 {
69 }
UndoType * BKE_undosys_type_append(void(*undosys_fn)(UndoType *))
Definition: undo_system.c:947
const UndoType * BKE_UNDOSYS_TYPE_SCULPT
Definition: undo_system.c:104
const UndoType * BKE_UNDOSYS_TYPE_MEMFILE
Definition: undo_system.c:101
const UndoType * BKE_UNDOSYS_TYPE_PARTICLE
Definition: undo_system.c:103
const UndoType * BKE_UNDOSYS_TYPE_TEXT
Definition: undo_system.c:105
const UndoType * BKE_UNDOSYS_TYPE_PAINTCURVE
Definition: undo_system.c:102
void BKE_undosys_type_free_all(void)
Definition: undo_system.c:960
const UndoType * BKE_UNDOSYS_TYPE_IMAGE
Definition: undo_system.c:100
void ED_lattice_undosys_type(struct UndoType *ut)
void ED_mball_undosys_type(struct UndoType *ut)
void ED_mesh_undosys_type(struct UndoType *ut)
void ED_paintcurve_undosys_type(struct UndoType *ut)
void ED_image_undosys_type(struct UndoType *ut)
Definition: image_undo.c:993
void ED_particle_undosys_type(struct UndoType *ut)
void ED_sculpt_undosys_type(struct UndoType *ut)
Definition: sculpt_undo.c:1604
void ED_text_undosys_type(struct UndoType *ut)
Definition: text_undo.c:257
void ED_armature_undosys_type(UndoType *ut)
void ED_curve_undosys_type(UndoType *ut)
void ED_font_undosys_type(UndoType *ut)
void ED_memfile_undosys_type(UndoType *ut)
Definition: memfile_undo.c:275
void ED_undosys_type_free(void)
void ED_undosys_type_init(void)