comparison layer/TextLayer.h @ 359:020c485aa7e0

* More work on aligning copy/paste between layers. It's a surprisingly complicated business.
author Chris Cannam
date Wed, 06 Feb 2008 12:49:49 +0000
parents 2f83b6e3b8ca
children e1a9e478b7f2
comparison
equal deleted inserted replaced
358:8b69f36c74be 359:020c485aa7e0
54 54
55 virtual void moveSelection(Selection s, size_t newStartFrame); 55 virtual void moveSelection(Selection s, size_t newStartFrame);
56 virtual void resizeSelection(Selection s, Selection newSize); 56 virtual void resizeSelection(Selection s, Selection newSize);
57 virtual void deleteSelection(Selection s); 57 virtual void deleteSelection(Selection s);
58 58
59 virtual void copy(Selection s, Clipboard &to); 59 virtual void copy(View *v, Selection s, Clipboard &to);
60 virtual bool paste(const Clipboard &from, int frameOffset, 60 virtual bool paste(View *v, const Clipboard &from, int frameOffset,
61 bool interactive); 61 bool interactive);
62 62
63 virtual bool editOpen(View *, QMouseEvent *); // on double-click 63 virtual bool editOpen(View *, QMouseEvent *); // on double-click
64 64
65 virtual const Model *getModel() const { return m_model; } 65 virtual const Model *getModel() const { return m_model; }