r1014: Enable horizontal scrolling with the mouse wheel by pressing Ctrl.
[cinelerra_cv/ct.git] / cinelerra / undostackitem.C
blobed81942a32014bab285e1eb044157fd610fb796c
1 #include "undostackitem.h"
2 #include <string.h>
6 UndoStackItem::UndoStackItem() : ListItem<UndoStackItem>()
8         description = 0;
9         creator = 0;
12 UndoStackItem::~UndoStackItem()
14         delete [] description;
17 void UndoStackItem::set_description(char *description)
19         this->description = new char[strlen(description) + 1];
20         strcpy(this->description, description);
23 void UndoStackItem::set_creator(void *creator)
25         this->creator = creator;
28 void UndoStackItem::undo()
32 int UndoStackItem::get_size()
34         return 0;