summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-flag.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-24 06:09:29 +0000
committerDavid Robillard <d@drobilla.net>2012-05-24 06:09:29 +0000
commit6fa6514cfdb0ce38d93b51197f599dfd091bad1d (patch)
tree10c50e4752aae8ebffe24564561192b8325abe47 /gtk2_ardour/canvas-flag.h
parent224e6175adc29f64cf0fc255fe05c95b99e5ec7d (diff)
Remove over 500 unnecessary includes (including 54 of session.h).
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-flag.h')
-rw-r--r--gtk2_ardour/canvas-flag.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/gtk2_ardour/canvas-flag.h b/gtk2_ardour/canvas-flag.h
index ef78221803..c8b32c72a5 100644
--- a/gtk2_ardour/canvas-flag.h
+++ b/gtk2_ardour/canvas-flag.h
@@ -6,8 +6,6 @@
#include <libgnomecanvasmm/widget.h>
#include <libgnomecanvasmm/text.h>
-#include "ardour/midi_model.h"
-
#include "simplerect.h"
#include "simpleline.h"
@@ -20,19 +18,19 @@ class CanvasFlag : public Group
{
public:
CanvasFlag(MidiRegionView& region,
- Group& parent,
- double height,
- guint outline_color_rgba = 0xc0c0c0ff,
- guint fill_color_rgba = 0x07070707,
- double x = 0.0,
- double y = 0.0);
+ Group& parent,
+ double height,
+ guint outline_color_rgba = 0xc0c0c0ff,
+ guint fill_color_rgba = 0x07070707,
+ double x = 0.0,
+ double y = 0.0);
virtual ~CanvasFlag();
virtual bool on_event(GdkEvent* ev);
virtual void set_text(const std::string& a_text);
- virtual void set_height (double);
+ virtual void set_height (double);
protected:
Text* _text;