- drawExtraViews
void drawExtraViews(DrawBuf buf)
override to allow extra views
- ensureCursorVisible
void ensureCursorVisible()
Undocumented in source. Be warned that the author may not have intended to support it.
- getDisplayData
float[] getDisplayData()
get data to display - override to show some other data than wave (e.g. to show excitation)
- getDisplayPos
bool getDisplayPos(int offset, int y0, int y1)
Undocumented in source. Be warned that the author may not have intended to support it.
- getDisplayValues
MinMax getDisplayValues(int offset)
Undocumented in source. Be warned that the author may not have intended to support it.
- getDisplayValuesNoCache
MinMax getDisplayValuesNoCache(int offset)
Undocumented in source. Be warned that the author may not have intended to support it.
- getExtraViewsHeight
int getExtraViewsHeight(int parentHeight)
override to allow extra views
- getPlayPosition
void getPlayPosition()
player position to screen
- getSelectionUpsampled
WaveFile getSelectionUpsampled()
Undocumented in source. Be warned that the author may not have intended to support it.
- getSelectionWave
WaveFile getSelectionWave()
Undocumented in source. Be warned that the author may not have intended to support it.
- handleAction
bool handleAction(Action a)
override to handle specific actions
- layout
void layout(Rect rc)
Set widget rectangle to specified value and layout widget contents. (Step 2 of two phase layout).
- layoutExtraViews
void layoutExtraViews(Rect rc)
override to allow extra views
- limitPosition
void limitPosition(int position)
Undocumented in source. Be warned that the author may not have intended to support it.
- measure
void measure(int parentWidth, int parentHeight)
Measure widget according to desired width and height constraints. (Step 1 of two phase layout).
- onDraw
void onDraw(DrawBuf buf)
Draw widget at its position to buffer
- onKeyEvent
bool onKeyEvent(KeyEvent event)
process key event, return true if event is processed.
- onMouseEvent
bool onMouseEvent(MouseEvent event)
process mouse event; return true if event is processed by widget.
- onScrollEvent
bool onScrollEvent(AbstractSlider source, ScrollEvent event)
- onTimer
bool onTimer(ulong id)
Undocumented in source. Be warned that the author may not have intended to support it.
- openSampleFile
void openSampleFile(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
- openSampleFile
void openSampleFile()
Undocumented in source. Be warned that the author may not have intended to support it.
- setCursorPos
void setCursorPos(int x)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPlayPosition
void setPlayPosition()
set cursor position to player position
- updateHScale
void updateHScale(int newScale, int preserveX)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateScrollBar
void updateScrollBar()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateSelection
void updateSelection(int x)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateView
void updateView()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateZoomCache
void updateZoomCache()
Undocumented in source. Be warned that the author may not have intended to support it.
- visibleYRange
MinMax visibleYRange()
Undocumented in source. Be warned that the author may not have intended to support it.
- zoomFull
void zoomFull()
Undocumented in source. Be warned that the author may not have intended to support it.