diff view/Pane.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 5b7472db612b
children 6dab3ac2fe73
line wrap: on
line diff
--- a/view/Pane.h	Mon Mar 05 15:32:55 2007 +0000
+++ b/view/Pane.h	Wed Mar 07 17:07:02 2007 +0000
@@ -48,6 +48,8 @@
     void setCentreLineVisible(bool visible);
     bool getCentreLineVisible() const { return m_centreLineVisible; }
 
+    virtual size_t getFirstVisibleFrame() const;
+
     virtual QString toXmlString(QString indent = "",
 				QString extraAttributes = "") const;
 
@@ -58,7 +60,7 @@
 public slots:
     virtual void toolModeChanged();
     virtual void zoomWheelsEnabledChanged();
-    virtual void zoomLevelChanged();
+    virtual void viewZoomLevelChanged(View *v, unsigned long z, bool locked);
 
     virtual void horizontalThumbwheelMoved(int value);
     virtual void verticalThumbwheelMoved(int value);
@@ -117,6 +119,7 @@
     size_t m_selectionStartFrame;
     Selection m_editingSelection;
     int m_editingSelectionEdge;
+    mutable int m_scaleWidth;
 
     enum DragMode {
         UnresolvedDrag,