# HG changeset patch # User Chris Cannam # Date 1138298498 0 # Node ID 1fa7cc0d008b60fc4090cc33a6b0f24a306eabbd # Parent f67ddc287bc31ec7be71b38675c5129b398c20c2 * Add basic drag editing of time instants. Plenty of tuning to do for both this and drawing. diff -r f67ddc287bc3 -r 1fa7cc0d008b base/Layer.h --- 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: //