summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r--gtk2_ardour/utils.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index 5d7bf000ea..54ef65acd0 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -23,12 +23,13 @@
#include <string>
#include <cmath>
#include <vector>
+
#include "ardour/types.h"
-#include <libgnomecanvasmm/line.h>
+
#include <gdkmm/types.h>
#include <gtkmm/menushell.h>
-#include "canvas.h"
+#include "canvas/types.h"
namespace PBD {
class Controllable;
@@ -42,6 +43,10 @@ namespace Gtk {
class Adjustment;
}
+namespace ArdourCanvas {
+ class Item;
+}
+
extern sigc::signal<void> DPIReset;
gint just_hide_it (GdkEventAny*, Gtk::Window*);
@@ -60,8 +65,6 @@ bool rgba_p_from_style (std::string, float*, float*, float*, std::string = "fg",
void decorate (Gtk::Window& w, Gdk::WMDecoration d);
-bool canvas_item_visible (ArdourCanvas::Item* item);
-
void set_color (Gdk::Color&, int);
bool relay_key_press (GdkEventKey* ev, Gtk::Window* win);