projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r228@gwythaint (orig r768): fugalh | 2006-08-09 08:14:55 -0600
[ardour.git]
/
gtk2_ardour
/
axis_view.h
diff --git
a/gtk2_ardour/axis_view.h
b/gtk2_ardour/axis_view.h
index 0d09ca51aca6b795ae48048b4873af988ff75bdb..12b7d32188d38d1fda1ea5d6ea60430381a096cf 100644
(file)
--- a/
gtk2_ardour/axis_view.h
+++ b/
gtk2_ardour/axis_view.h
@@
-22,9
+22,13
@@
#define __ardour_gtk_axis_view_h__
#include <list>
#define __ardour_gtk_axis_view_h__
#include <list>
-#include <gtkmm.h>
+
+#include <gtkmm/label.h>
+#include <gdkmm/color.h>
+
#include <pbd/xml++.h>
#include "prompter.h"
#include <pbd/xml++.h>
#include "prompter.h"
+#include "selectable.h"
namespace ARDOUR {
class Session;
namespace ARDOUR {
class Session;
@@
-34,7
+38,7
@@
namespace ARDOUR {
* AxisView defines the abstract base class for time-axis trackviews and routes.
*
*/
* AxisView defines the abstract base class for time-axis trackviews and routes.
*
*/
-class AxisView : public
sigc::track
able
+class AxisView : public
virtual Select
able
{
public:
/**
{
public:
/**
@@
-48,12
+52,6
@@
class AxisView : public sigc::trackable
virtual string name() const = 0;
virtual string name() const = 0;
- virtual void set_selected (bool yn) {
- if (yn != _selected) {
- _selected = yn;
- }
- }
-
virtual bool marked_for_display() const { return _marked_for_display; }
virtual void set_marked_for_display (bool yn) {
virtual bool marked_for_display() const { return _marked_for_display; }
virtual void set_marked_for_display (bool yn) {
@@
-62,7
+60,6
@@
class AxisView : public sigc::trackable
}
}
}
}
- virtual bool selected() const { return _selected; }
sigc::signal<void> Hiding;
sigc::signal<void> GoingAway;
sigc::signal<void> Hiding;
sigc::signal<void> GoingAway;
@@
-77,13
+74,13
@@
class AxisView : public sigc::trackable
*
* @return the unique random color.
*/
*
* @return the unique random color.
*/
- static GdkColor unique_random_color();
+ static Gdk
::
Color unique_random_color();
ARDOUR::Session& _session;
Gdk::Color _color;
ARDOUR::Session& _session;
Gdk::Color _color;
- static list<GdkColor> used_colors;
+ static list<Gdk
::
Color> used_colors;
Gtk::Label name_label;
Gtk::Label name_label;