summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-hit.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-15 19:44:27 +0000
committerDavid Robillard <d@drobilla.net>2009-02-15 19:44:27 +0000
commit166395c96b8a85d90b9785e629c739494494130f (patch)
treead688f25e8298519f63829e926a09d8739fbf5b0 /gtk2_ardour/canvas-hit.h
parentecaf107ed3dd2bb3443a92fc3dd9cf566d3439e3 (diff)
Fix genererally retarded and broken note range / diskstream display / etc. related things (correctly display region contents on initial session load).
git-svn-id: svn://localhost/ardour2/branches/3.0@4583 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-hit.h')
-rw-r--r--gtk2_ardour/canvas-hit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/canvas-hit.h b/gtk2_ardour/canvas-hit.h
index c4578b3530..a467952966 100644
--- a/gtk2_ardour/canvas-hit.h
+++ b/gtk2_ardour/canvas-hit.h
@@ -41,6 +41,9 @@ public:
{
}
+ void show() { Diamond::show(); }
+ void hide() { Diamond::hide(); }
+
double x1() { double x1, y1, x2, y2; get_bounds(x1,y1,x2,y2); return x1; }
double y1() { double x1, y1, x2, y2; get_bounds(x1,y1,x2,y2); return y1; }
double x2() { double x1, y1, x2, y2; get_bounds(x1,y1,x2,y2); return x2; }