add plural forms for pt to gtk2_ardour/po/pt.po
[ardour.git] / gtk2_ardour / marker.h
index 3a3339d31881370d33a90495a2f590a37b6e5a22..becc809a742c4114ac98cd9f9c0b897951b608de 100644 (file)
@@ -38,7 +38,11 @@ namespace ARDOUR {
 
 class PublicEditor;
 
-class Marker : public sigc::trackable
+/** Location Marker
+ *
+ * Editor ruler representation of a location marker or range on the timeline.
+ */
+class ArdourMarker : public sigc::trackable
 {
   public:
        enum Type {
@@ -56,12 +60,14 @@ class Marker : public sigc::trackable
        };
 
 
-       Marker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, Type,
+       ArdourMarker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, Type,
                framepos_t frame = 0, bool handle_events = true);
 
-       virtual ~Marker ();
+       virtual ~ArdourMarker ();
 
-       static PBD::Signal1<void,Marker*> CatchDeletion;
+       static PBD::Signal1<void,ArdourMarker*> CatchDeletion;
+
+       static void setup_sizes (const double timebar_height);
 
        ArdourCanvas::Item& the_item() const;
 
@@ -127,11 +133,11 @@ class Marker : public sigc::trackable
 
 private:
        /* disallow copy construction */
-       Marker (Marker const &);
-       Marker & operator= (Marker const &);
+       ArdourMarker (ArdourMarker const &);
+       ArdourMarker & operator= (ArdourMarker const &);
 };
 
-class TempoMarker : public Marker
+class TempoMarker : public ArdourMarker
 {
   public:
         TempoMarker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, ARDOUR::TempoSection&);
@@ -139,11 +145,12 @@ class TempoMarker : public Marker
 
        ARDOUR::TempoSection& tempo() const { return _tempo; }
 
+       void update_height_mark (const double& ratio);
   private:
        ARDOUR::TempoSection& _tempo;
 };
 
-class MeterMarker : public Marker
+class MeterMarker : public ArdourMarker
 {
   public:
         MeterMarker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, ARDOUR::MeterSection&);