comparison layer/ImageLayer.h @ 810:b68af2be4545 tonioni

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:42:25 +0100
parents 4c8ca536b54f
children b66fb15de477
comparison
equal deleted inserted replaced
802:584b11df8e4f 810:b68af2be4545
41 virtual void paint(View *v, QPainter &paint, QRect rect) const; 41 virtual void paint(View *v, QPainter &paint, QRect rect) const;
42 42
43 virtual QString getFeatureDescription(View *v, QPoint &) const; 43 virtual QString getFeatureDescription(View *v, QPoint &) const;
44 44
45 virtual bool snapToFeatureFrame(View *v, int &frame, 45 virtual bool snapToFeatureFrame(View *v, int &frame,
46 size_t &resolution, 46 int &resolution,
47 SnapType snap) const; 47 SnapType snap) const;
48 48
49 virtual void drawStart(View *v, QMouseEvent *); 49 virtual void drawStart(View *v, QMouseEvent *);
50 virtual void drawDrag(View *v, QMouseEvent *); 50 virtual void drawDrag(View *v, QMouseEvent *);
51 virtual void drawEnd(View *v, QMouseEvent *); 51 virtual void drawEnd(View *v, QMouseEvent *);
52 52
53 virtual void editStart(View *v, QMouseEvent *); 53 virtual void editStart(View *v, QMouseEvent *);
54 virtual void editDrag(View *v, QMouseEvent *); 54 virtual void editDrag(View *v, QMouseEvent *);
55 virtual void editEnd(View *v, QMouseEvent *); 55 virtual void editEnd(View *v, QMouseEvent *);
56 56
57 virtual void moveSelection(Selection s, size_t newStartFrame); 57 virtual void moveSelection(Selection s, int newStartFrame);
58 virtual void resizeSelection(Selection s, Selection newSize); 58 virtual void resizeSelection(Selection s, Selection newSize);
59 virtual void deleteSelection(Selection s); 59 virtual void deleteSelection(Selection s);
60 60
61 virtual void copy(View *v, Selection s, Clipboard &to); 61 virtual void copy(View *v, Selection s, Clipboard &to);
62 virtual bool paste(View *v, const Clipboard &from, int frameOffset, 62 virtual bool paste(View *v, const Clipboard &from, int frameOffset,
96 96
97 virtual void setLayerDormant(const View *v, bool dormant); 97 virtual void setLayerDormant(const View *v, bool dormant);
98 98
99 void setProperties(const QXmlAttributes &attributes); 99 void setProperties(const QXmlAttributes &attributes);
100 100
101 virtual bool addImage(long frame, QString url); // using a command 101 virtual bool addImage(int frame, QString url); // using a command
102 102
103 protected slots: 103 protected slots:
104 void checkAddSources(); 104 void checkAddSources();
105 void fileSourceReady(); 105 void fileSourceReady();
106 106