Mercurial > hg > svgui
comparison view/View.h @ 516:e4e0ae491a48
* Attempt to pick more sensible default centre frame for newly created view
author | Chris Cannam |
---|---|
date | Tue, 03 Mar 2009 16:46:27 +0000 |
parents | 455810e65543 |
children | 3f698e237585 |
comparison
equal
deleted
inserted
replaced
515:ff1dc4f302bd | 516:e4e0ae491a48 |
---|---|
173 */ | 173 */ |
174 virtual Layer *getSelectedLayer(); | 174 virtual Layer *getSelectedLayer(); |
175 virtual const Layer *getSelectedLayer() const; | 175 virtual const Layer *getSelectedLayer() const; |
176 | 176 |
177 virtual void setViewManager(ViewManager *m); | 177 virtual void setViewManager(ViewManager *m); |
178 virtual void setViewManager(ViewManager *m, long initialFrame); | |
178 virtual ViewManager *getViewManager() const { return m_manager; } | 179 virtual ViewManager *getViewManager() const { return m_manager; } |
179 | 180 |
180 virtual void setFollowGlobalPan(bool f); | 181 virtual void setFollowGlobalPan(bool f); |
181 virtual bool getFollowGlobalPan() const { return m_followPan; } | 182 virtual bool getFollowGlobalPan() const { return m_followPan; } |
182 | 183 |