Blender V5.3
interface_undo.cc File Reference
#include <cstring>
#include "BLI_listbase.hh"
#include "DNA_listBase.h"
#include "MEM_guardedalloc.h"
#include "interface_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ui::UndoStack_Text_State
struct  blender::ui::UndoStack_Text

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui

Functions

Text Field Undo Stack
static const char * blender::ui::textedit_undo_impl (UndoStack_Text *stack, int *r_cursor_index)
static const char * blender::ui::textedit_redo_impl (UndoStack_Text *stack, int *r_cursor_index)
const char * blender::ui::textedit_undo (UndoStack_Text *stack, int direction, int *r_cursor_index)
void blender::ui::textedit_undo_push (UndoStack_Text *stack, const char *text, int cursor_index)
UndoStack_Text * blender::ui::textedit_undo_stack_create ()
void blender::ui::textedit_undo_stack_destroy (UndoStack_Text *stack)

Detailed Description

Undo stack to use for UI widgets that manage their own editing state.

Definition in file interface_undo.cc.