comparison view/Pane.h @ 592:a13aa5320221 sonification

Extends the audio feedback of the piano scale to the Spectrum layer (horizontal piano keyboard). Increase of the piano keyboard width (SpectrogramLayer) and height (SpectrumLayer) for layout purposes. A get method should be added to obtain the scale size parameter outside the layer class.
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Wed, 06 Jul 2011 18:05:42 +0100
parents 683c46d7500b
children
comparison
equal deleted inserted replaced
591:0946feb81b79 592:a13aa5320221
49 bool getCentreLineVisible() const { return m_centreLineVisible; } 49 bool getCentreLineVisible() const { return m_centreLineVisible; }
50 50
51 virtual size_t getFirstVisibleFrame() const; 51 virtual size_t getFirstVisibleFrame() const;
52 52
53 virtual size_t getVerticalScaleWidth() const; 53 virtual size_t getVerticalScaleWidth() const;
54
55 //virtual size_t getHorizontalScaleHeight() const;
54 56
55 virtual QImage *toNewImage(size_t f0, size_t f1); 57 virtual QImage *toNewImage(size_t f0, size_t f1);
56 virtual QImage *toNewImage() { return View::toNewImage(); } 58 virtual QImage *toNewImage() { return View::toNewImage(); }
57 virtual QSize getImageSize(size_t f0, size_t f1); 59 virtual QSize getImageSize(size_t f0, size_t f1);
58 virtual QSize getImageSize() { return View::getImageSize(); } 60 virtual QSize getImageSize() { return View::getImageSize(); }