comparison view/ViewManager.h @ 394:592d692b4f8b

* A bit more work on the data editor
author Chris Cannam
date Wed, 11 Jun 2008 12:54:18 +0000
parents e1a9e478b7f2
children 73a58a4dfebd
comparison
equal deleted inserted replaced
393:6671eb37d6d6 394:592d692b4f8b
57 57
58 void setAudioPlaySource(AudioPlaySource *source); 58 void setAudioPlaySource(AudioPlaySource *source);
59 59
60 bool isPlaying() const; 60 bool isPlaying() const;
61 61
62 unsigned long getGlobalCentreFrame() const; 62 unsigned long getGlobalCentreFrame() const; // the set method is a slot
63 void setGlobalCentreFrame(unsigned long);
64 unsigned long getGlobalZoom() const; 63 unsigned long getGlobalZoom() const;
65 64
66 unsigned long getPlaybackFrame() const; 65 unsigned long getPlaybackFrame() const; // the set method is a slot
67 void setPlaybackFrame(unsigned long frame);
68 66
69 // Only meaningful in solo mode, and used for optional alignment feature 67 // Only meaningful in solo mode, and used for optional alignment feature
70 Model *getPlaybackModel() const; 68 Model *getPlaybackModel() const;
71 void setPlaybackModel(Model *); 69 void setPlaybackModel(Model *);
72 70
238 void zoomWheelsEnabledChanged(); 236 void zoomWheelsEnabledChanged();
239 237
240 public slots: 238 public slots:
241 void viewCentreFrameChanged(unsigned long, bool, PlaybackFollowMode); 239 void viewCentreFrameChanged(unsigned long, bool, PlaybackFollowMode);
242 void viewZoomLevelChanged(unsigned long, bool); 240 void viewZoomLevelChanged(unsigned long, bool);
241 void setGlobalCentreFrame(unsigned long);
242 void setPlaybackFrame(unsigned long);
243 243
244 protected slots: 244 protected slots:
245 void checkPlayStatus(); 245 void checkPlayStatus();
246 void playStatusChanged(bool playing); 246 void playStatusChanged(bool playing);
247 void seek(unsigned long); 247 void seek(unsigned long);