|
Blender V5.3
|
#include <cstdlib>#include <cstring>#include "MEM_guardedalloc.h"#include "CLG_log.h"#include "BLI_array_utils_c.hh"#include "BLI_utildefines.hh"#include "DNA_curve_types.h"#include "DNA_object_types.h"#include "BKE_context.hh"#include "BKE_layer.hh"#include "BKE_main.hh"#include "BKE_undo_system.hh"#include "BKE_vfont.hh"#include "DEG_depsgraph.hh"#include "ED_curve.hh"#include "ED_undo.hh"#include "WM_api.hh"#include "WM_types.hh"#include "BLI_array_store.hh"#include "BLI_array_store_utils.hh"#include "BLI_listbase.hh"Go to the source code of this file.
Classes | |
| struct | blender::UndoFont |
| struct | blender::FontUndoStep |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | USE_ARRAY_STORE |
| #define | ARRAY_CHUNK_SIZE 32 |
| #define | STATE_COMPACT(uf, id, len) |
| #define | STATE_EXPAND(uf, id, len) |
| #define | STATE_FREE(uf, id) |
Functions | |
Undo/Redo Helper Functions | |
| static void | blender::undofont_to_editfont (UndoFont *uf, Curve *cu) |
| static void * | blender::undofont_from_editfont (UndoFont *uf, Curve *cu) |
| static void | blender::undofont_free_data (UndoFont *uf) |
| static Object * | blender::editfont_object_from_context (bContext *C) |
Implements ED Undo System | |
| static bool | blender::font_undosys_poll (bContext *C) |
| static bool | blender::font_undosys_step_encode (bContext *C, Main *bmain, UndoStep *us_p) |
| static void | blender::font_undosys_step_decode (bContext *C, Main *bmain, UndoStep *us_p, const eUndoStepDir, bool) |
| static void | blender::font_undosys_step_free (UndoStep *us_p) |
| static void | blender::font_undosys_foreach_ID_ref (UndoStep *us_p, UndoTypeForEachIDRefFn foreach_ID_ref_fn, void *user_data) |
| void | blender::ED_font_undosys_type (UndoType *ut) |
Variables | |
| static CLG_LogRef | blender::LOG = {"undo.font"} |
Array Store | |
| static struct | blender::uf_arraystore = {{nullptr}} |
| static void | blender::uf_arraystore_compact_ex (UndoFont *uf, const UndoFont *uf_ref, bool create) |
| static void | blender::uf_arraystore_compact (UndoFont *um, const UndoFont *uf_ref) |
| static void | blender::uf_arraystore_compact_with_info (UndoFont *um, const UndoFont *uf_ref) |
| static void | blender::uf_arraystore_expand_clear (UndoFont *um) |
| static void | blender::uf_arraystore_expand (UndoFont *uf) |
| static void | blender::uf_arraystore_free (UndoFont *uf) |
| #define ARRAY_CHUNK_SIZE 32 |
Definition at line 43 of file editfont_undo.cc.
Referenced by blender::text_undosys_step_encode_to_state().
| #define STATE_COMPACT | ( | uf, | |
| id, | |||
| len ) |
Referenced by blender::uf_arraystore_compact_ex().
| #define STATE_EXPAND | ( | uf, | |
| id, | |||
| len ) |
Referenced by blender::uf_arraystore_expand().
| #define STATE_FREE | ( | uf, | |
| id ) |
Referenced by blender::uf_arraystore_free().
| #define USE_ARRAY_STORE |
Definition at line 36 of file editfont_undo.cc.