comparison view/View.h @ 373:0895517bb2d1 1.2-stable

* merge from trunk (1.2 ended up being tracked from trunk, but we may want this branch for fixes later)
author Chris Cannam
date Wed, 27 Feb 2008 10:32:45 +0000
parents 4a542ba875c2
children c1e5af9f2c3c
comparison
equal deleted inserted replaced
337:813170c57b13 373:0895517bb2d1
308 View(QWidget *, bool showProgress); 308 View(QWidget *, bool showProgress);
309 virtual void paintEvent(QPaintEvent *e); 309 virtual void paintEvent(QPaintEvent *e);
310 virtual void drawSelections(QPainter &); 310 virtual void drawSelections(QPainter &);
311 virtual bool shouldLabelSelections() const { return true; } 311 virtual bool shouldLabelSelections() const { return true; }
312 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1); 312 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1);
313 313 virtual void setPaintFont(QPainter &paint);
314
314 typedef std::vector<Layer *> LayerList; 315 typedef std::vector<Layer *> LayerList;
315 316
316 int getModelsSampleRate() const; 317 int getModelsSampleRate() const;
317 bool areLayersScrollable() const; 318 bool areLayersScrollable() const;
318 LayerList getScrollableBackLayers(bool testChanged, bool &changed) const; 319 LayerList getScrollableBackLayers(bool testChanged, bool &changed) const;