comparison base/Selection.h @ 9:73d85d19919f

* Add play-selection and looping modes. Looping seems to work OK, but the plain play-selection is miscalculating current frame number to feed back to the GUI. * Cache selection rectanges wherever possible in View::paintEvent.
author Chris Cannam
date Tue, 24 Jan 2006 16:20:58 +0000
parents 214054a0d8b8
children bb9291d84810
comparison
equal deleted inserted replaced
8:214054a0d8b8 9:73d85d19919f
22 virtual ~Selection(); 22 virtual ~Selection();
23 23
24 bool isEmpty() const; 24 bool isEmpty() const;
25 size_t getStartFrame() const; 25 size_t getStartFrame() const;
26 size_t getEndFrame() const; 26 size_t getEndFrame() const;
27 bool contains(size_t frame) const;
27 28
28 bool operator<(const Selection &) const; 29 bool operator<(const Selection &) const;
29 bool operator==(const Selection &) const; 30 bool operator==(const Selection &) const;
30 31
31 protected: 32 protected: