projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LV2 extUI handling - amend to previous commit.
[ardour.git]
/
gtk2_ardour
/
diamond.h
diff --git
a/gtk2_ardour/diamond.h
b/gtk2_ardour/diamond.h
index 32544f4880e645510d26b99dc33e08ac1320c6d4..a9110d497d4bb79ec7d58406707d8ad1c5c0abc0 100644
(file)
--- a/
gtk2_ardour/diamond.h
+++ b/
gtk2_ardour/diamond.h
@@
-1,6
+1,6
@@
/*
/*
- Copyright (C) 2007 Paul Davis
- Author: Dav
e
Robillard
+ Copyright (C) 2007 Paul Davis
+ Author: Dav
id
Robillard
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-21,17
+21,28
@@
#define __ardour_diamond_h__
#include <libgnomecanvasmm/polygon.h>
#define __ardour_diamond_h__
#include <libgnomecanvasmm/polygon.h>
-#include "canvas-midi-event.h"
+#include "canvas-note-event.h"
+#include "canvas.h"
namespace Gnome {
namespace Canvas {
namespace Gnome {
namespace Canvas {
-class Diamond : public Polygon {
-public:
+class Diamond : public Polygon
+{
+ public:
Diamond(Group& group, double height);
Diamond(Group& group, double height);
-
+ ~Diamond ();
+
+ void move_to (double x, double y);
+ void move_by (double dx, double dy);
void set_height(double height);
void set_height(double height);
+
+ protected:
+ double _x;
+ double _y;
+ double _h;
+ GnomeCanvasPoints* points;
};
};