projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added dialog to allow adding any Midi CC track.
[ardour.git]
/
gtk2_ardour
/
marker_time_axis_view.h
diff --git
a/gtk2_ardour/marker_time_axis_view.h
b/gtk2_ardour/marker_time_axis_view.h
index a8e86131cc7e6d40c2f93723adf8f3d714ad4774..fd23c1de878e1ed689ba4ab349cca91a07796a60 100644
(file)
--- a/
gtk2_ardour/marker_time_axis_view.h
+++ b/
gtk2_ardour/marker_time_axis_view.h
@@
-15,18
+15,18
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#ifndef __ardour_marker_time_axis_view_h__
#define __ardour_marker_time_axis_view_h__
#include <list>
*/
#ifndef __ardour_marker_time_axis_view_h__
#define __ardour_marker_time_axis_view_h__
#include <list>
-
-#include <gtk--.h>
-#include <gtk-canvas.h>
+#include <gdkmm/color.h>
+#include <libgnomecanvasmm/group.h>
#include <ardour/location.h>
#include <ardour/location.h>
+#include "simplerect.h"
+#include "canvas.h"
class PublicEditor;
class MarkerTimeAxis;
class PublicEditor;
class MarkerTimeAxis;
@@
-40,7
+40,7
@@
class TimeAxisViewItem ;
* This object is responsible for the time axis canvas view, and
* maintains the list of items that have been added to it
*/
* This object is responsible for the time axis canvas view, and
* maintains the list of items that have been added to it
*/
-class MarkerTimeAxisView : public
SigC::Object
+class MarkerTimeAxisView : public
sigc::trackable
{
public:
//---------------------------------------------------------------------------------------//
{
public:
//---------------------------------------------------------------------------------------//
@@
-73,7
+73,7
@@
class MarkerTimeAxisView : public SigC::Object
/**
*
*/
/**
*
*/
-
GtkCanvas
Item *canvas_item() { return canvas_group; }
+
ArdourCanvas::
Item *canvas_item() { return canvas_group; }
//---------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------//
@@
-114,7
+114,7
@@
class MarkerTimeAxisView : public SigC::Object
*
* @param color the new base color
*/
*
* @param color the new base color
*/
- void apply_color(GdkColor& color) ;
+ void apply_color(Gdk
::
Color& color) ;
//---------------------------------------------------------------------------------------//
// Child MarkerView Accessors/Mutators
//---------------------------------------------------------------------------------------//
// Child MarkerView Accessors/Mutators
@@
-130,7
+130,7
@@
class MarkerTimeAxisView : public SigC::Object
* @param duration the duration the new item should be placed upon the timeline
* @param src the identity of the object that initiated the change
*/
* @param duration the duration the new item should be placed upon the timeline
* @param src the identity of the object that initiated the change
*/
- MarkerView* add_marker_view(ImageFrameView* ifv, std::string mark_type, std::string mark_id,
jack_nframes_t start, jack_
nframes_t dur, void* src) ;
+ MarkerView* add_marker_view(ImageFrameView* ifv, std::string mark_type, std::string mark_id,
nframes_t start,
nframes_t dur, void* src) ;
/**
* Returns the named MarkerView or 0 if the named marker does not exist
/**
* Returns the named MarkerView or 0 if the named marker does not exist
@@
-202,10
+202,10
@@
class MarkerTimeAxisView : public SigC::Object
// Emitted Signals
/** Emitted when a MarkerView is Added */
// Emitted Signals
/** Emitted when a MarkerView is Added */
-
SigC::Signal2
<void,MarkerView*,void*> MarkerViewAdded ;
+
sigc::signal
<void,MarkerView*,void*> MarkerViewAdded ;
/** Emitted when a MarkerView Item is removed */
/** Emitted when a MarkerView Item is removed */
-
SigC::Signal2
<void,std::string,void*> MarkerViewRemoved ;
+
sigc::signal
<void,std::string,void*> MarkerViewRemoved ;
private:
/**
private:
/**
@@
-224,14
+224,14
@@
class MarkerTimeAxisView : public SigC::Object
/* the TimeAxisView that this object is acting as the view helper for */
MarkerTimeAxis& _trackview ;
/* the TimeAxisView that this object is acting as the view helper for */
MarkerTimeAxis& _trackview ;
-
GtkCanvasItem
*canvas_group ;
-
GtkCanvasItem
*canvas_rect ; /* frame around the whole thing */
+
ArdourCanvas::Group
*canvas_group ;
+
ArdourCanvas::SimpleRect
*canvas_rect ; /* frame around the whole thing */
/** the current samples per unit */
double _samples_per_unit;
/* XXX why are these different? */
/** the current samples per unit */
double _samples_per_unit;
/* XXX why are these different? */
- GdkColor region_color;
+ Gdk
::
Color region_color;
uint32_t stream_base_color;
}; /* class MarkerTimeAxisView */
uint32_t stream_base_color;
}; /* class MarkerTimeAxisView */