kwave
18.07.70
|
#include <Zoomable.h>
Public Member Functions | |
Zoomable () | |
virtual | ~Zoomable () |
virtual int | visibleWidth () const =0 |
virtual sample_index_t | visibleSamples () const =0 |
virtual double | zoom () const =0 |
virtual void | setZoom (double factor)=0 |
virtual void | scrollTo (sample_index_t pos)=0 |
Definition at line 27 of file Zoomable.h.
|
inline |
|
inlinevirtual |
destructor
Definition at line 35 of file Zoomable.h.
References scrollTo(), setZoom(), visibleSamples(), visibleWidth(), and zoom().
|
pure virtual |
Scrolls the display so that the given position gets visible, centered within the display if possible.
Referenced by Kwave::FileContext::updatePlaybackPos(), and ~Zoomable().
|
pure virtual |
Set a new zoom factor [samples/pixel]
factor | new zoom value |
Referenced by Kwave::ZoomToolBar::selectZoom(), and ~Zoomable().
|
pure virtual |
Returns the width of the current view in samples
Implemented in Kwave::MainWidget.
Referenced by Kwave::ZoomToolBar::setZoomInfo(), and ~Zoomable().
|
pure virtual |
Returns the width of the visible area
Implemented in Kwave::MainWidget.
Referenced by Kwave::ZoomToolBar::selectZoom(), and ~Zoomable().
|
pure virtual |
Returns the current zoom factor [samples/pixel]
Implemented in Kwave::MainWidget.
Referenced by Kwave::ZoomToolBar::selectZoom(), and ~Zoomable().