diff view/View.h @ 222:cd81066ac7ad

* More useful status bar text -- show the current play time and the extents of the visible area * Add update-i18n.sh to update the i18n/ts and qm files -- I can't get qmake to do the right thing now that the project file has been split up into several project files * Fix missing Q_OBJECTs, etc, reported by lupdate * Update Russian translation from AlexandrE
author Chris Cannam
date Wed, 07 Mar 2007 17:07:02 +0000
parents bd2d0346da0e
children 9465b5375235
line wrap: on
line diff
--- a/view/View.h	Mon Mar 05 15:32:55 2007 +0000
+++ b/view/View.h	Wed Mar 07 17:07:02 2007 +0000
@@ -224,6 +224,10 @@
     virtual QString toXmlString(QString indent = "",
 				QString extraAttributes = "") const;
 
+    // First frame actually in model, to right of scale, if present
+    virtual size_t getFirstVisibleFrame() const;
+    virtual size_t getLastVisibleFrame() const;
+
     size_t getModelsStartFrame() const;
     size_t getModelsEndFrame() const;
 
@@ -239,7 +243,7 @@
                             bool globalScroll,
                             PlaybackFollowMode followMode);
 
-    void zoomLevelChanged(void *, unsigned long, bool);
+    void zoomLevelChanged(unsigned long, bool);
 
     void contextHelpChanged(const QString &);
 
@@ -255,7 +259,7 @@
     virtual void globalCentreFrameChanged(unsigned long);
     virtual void viewCentreFrameChanged(View *, unsigned long);
     virtual void viewManagerPlaybackFrameChanged(unsigned long);
-    virtual void viewManagerZoomLevelChanged(void *, unsigned long, bool);
+    virtual void viewZoomLevelChanged(View *, unsigned long, bool);
 
     virtual void propertyContainerSelected(View *, PropertyContainer *pc);