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:
authorCampbell Barton <ideasman42@gmail.com>2018-04-05 16:22:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-05 16:22:33 +0300
commitad1ea9a427e3543a43ca2589f87f0c94b9be03ca (patch)
tree267fcc16524cd1336d2a55d08a497025a552d825 /source/blender/editors/include/ED_text.h
parent79c3c5689416014afd4fe417fac404c34b7a6cf0 (diff)
Undo: split text undo steps out of the data-block
This moves undo storage into a separate struct which is passed in from the undo system.
Diffstat (limited to 'source/blender/editors/include/ED_text.h')
-rw-r--r--source/blender/editors/include/ED_text.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_text.h b/source/blender/editors/include/ED_text.h
index 5517e50aef4..763fbe3bac5 100644
--- a/source/blender/editors/include/ED_text.h
+++ b/source/blender/editors/include/ED_text.h
@@ -33,10 +33,13 @@
struct SpaceText;
struct ARegion;
struct UndoType;
+struct TextUndoBuf;
bool ED_text_region_location_from_cursor(struct SpaceText *st, struct ARegion *ar, const int cursor_co[2], int r_pixel_co[2]);
/* text_undo.c */
void ED_text_undosys_type(struct UndoType *ut);
+struct TextUndoBuf *ED_text_undo_push_init(struct bContext *C);
+
#endif /* __ED_TEXT_H__ */