Mercurial > hg > svgui
comparison layer/TimeInstantLayer.h @ 373:0895517bb2d1 1.2-stable
* merge from trunk (1.2 ended up being tracked from trunk, but we may want
this branch for fixes later)
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 10:32:45 +0000 |
parents | 2f83b6e3b8ca |
children |
comparison
equal
deleted
inserted
replaced
337:813170c57b13 | 373:0895517bb2d1 |
---|---|
57 | 57 |
58 virtual void moveSelection(Selection s, size_t newStartFrame); | 58 virtual void moveSelection(Selection s, size_t newStartFrame); |
59 virtual void resizeSelection(Selection s, Selection newSize); | 59 virtual void resizeSelection(Selection s, Selection newSize); |
60 virtual void deleteSelection(Selection s); | 60 virtual void deleteSelection(Selection s); |
61 | 61 |
62 virtual void copy(Selection s, Clipboard &to); | 62 virtual void copy(View *v, Selection s, Clipboard &to); |
63 virtual bool paste(const Clipboard &from, int frameOffset, | 63 virtual bool paste(View *v, const Clipboard &from, int frameOffset, |
64 bool interactive); | 64 bool interactive); |
65 | 65 |
66 virtual const Model *getModel() const { return m_model; } | 66 virtual const Model *getModel() const { return m_model; } |
67 void setModel(SparseOneDimensionalModel *model); | 67 void setModel(SparseOneDimensionalModel *model); |
68 | 68 |
103 protected: | 103 protected: |
104 SparseOneDimensionalModel::PointList getLocalPoints(View *v, int) const; | 104 SparseOneDimensionalModel::PointList getLocalPoints(View *v, int) const; |
105 | 105 |
106 virtual int getDefaultColourHint(bool dark, bool &impose); | 106 virtual int getDefaultColourHint(bool dark, bool &impose); |
107 | 107 |
108 bool clipboardAlignmentDiffers(View *v, const Clipboard &) const; | |
109 | |
108 SparseOneDimensionalModel *m_model; | 110 SparseOneDimensionalModel *m_model; |
109 bool m_editing; | 111 bool m_editing; |
110 SparseOneDimensionalModel::Point m_editingPoint; | 112 SparseOneDimensionalModel::Point m_editingPoint; |
111 SparseOneDimensionalModel::EditCommand *m_editingCommand; | 113 SparseOneDimensionalModel::EditCommand *m_editingCommand; |
112 PlotStyle m_plotStyle; | 114 PlotStyle m_plotStyle; |