Mercurial > hg > svcore
changeset 13:1fa7cc0d008b
* Add basic drag editing of time instants.
Plenty of tuning to do for both this and drawing.
author | Chris Cannam |
---|---|
date | Thu, 26 Jan 2006 18:01:38 +0000 |
parents | f67ddc287bc3 |
children | b101cc2ae1ab |
files | base/Layer.h |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/base/Layer.h Thu Jan 26 16:15:40 2006 +0000 +++ b/base/Layer.h Thu Jan 26 18:01:38 2006 +0000 @@ -100,9 +100,13 @@ // Layer needs to get actual mouse events, I guess. Draw mode is // probably the easier. - virtual void drawStart(QMouseEvent *e) { } - virtual void drawDrag(QMouseEvent *e) { } - virtual void drawEnd(QMouseEvent *e) { } + virtual void drawStart(QMouseEvent *) { } + virtual void drawDrag(QMouseEvent *) { } + virtual void drawEnd(QMouseEvent *) { } + + virtual void editStart(QMouseEvent *) { } + virtual void editDrag(QMouseEvent *) { } + virtual void editEnd(QMouseEvent *) { } // Text mode: //