#include <AreaSelectionComp.h>
|
| void | drawNormalisedZoomedRect (Graphics &g, const Rectangle< float > &rect) const |
| |
| void | drawNormalisedZoomedRectLine (Graphics &g, const Rectangle< float > &rect) const |
| |
| void | drawZoomedRect (Graphics &g, const Rectangle< float > &rect) const |
| |
| void | drawNormalisedZoomedLine (Graphics &g, Line< float > line, float thickness) const |
| |
| void | drawZoomedLine (Graphics &g, const Line< float > &line, float thickness) const |
| |
| void | drawNormalisedZoomedText (Graphics &g, String text, Rectangle< float > bounds) const |
| |
| void | drawNormalisedZoomedPath (Graphics &g, const Path &path, float thickness) |
| |
| void | drawZoomedPath (Graphics &g, Path path, float thickness) |
| |
| void | drawNormalisedZoomedImage (Graphics &g, Image &image, const Rectangle< float > &bounds, bool fillAlphaChannelWithCurrentBrush=false) |
| |
| void | fillNormalisedZoomedEllipse (Graphics &g, const Rectangle< float > &bounds) |
| |
| void | drawNormalisedZoomedEllipse (Graphics &g, const Rectangle< float > &bounds) |
| |
| void | drawZoomedEllipse (Graphics &g, const Rectangle< float > &bounds) |
| |
◆ WaveformMode
| Enumerator |
|---|
| bothLines | |
| onlyStartLine | |
| noLine | |
| modeNUM_MODES | |
◆ AreaSelectionComp()
| krotos::AreaSelectionComp::AreaSelectionComp |
( |
bool | drawBackground, |
|
|
bool | drawMarqueeBackground, |
|
|
bool | useEndPoint ) |
◆ ~AreaSelectionComp()
| krotos::AreaSelectionComp::~AreaSelectionComp |
( |
| ) |
|
|
override |
◆ addListener()
| void krotos::AreaSelectionComp::addListener |
( |
Listener * | Listener | ) |
|
◆ determineMinSelectionWidth()
| void krotos::AreaSelectionComp::determineMinSelectionWidth |
( |
float | sampleRate, |
|
|
float | numSamples ) |
◆ getEndPosInPercentage()
| float krotos::AreaSelectionComp::getEndPosInPercentage |
( |
| ) |
|
◆ getStartPosInPercentage()
| float krotos::AreaSelectionComp::getStartPosInPercentage |
( |
| ) |
|
◆ modifierKeysChanged()
| void krotos::AreaSelectionComp::modifierKeysChanged |
( |
const ModifierKeys & | modifiers | ) |
|
|
overrideprivate |
◆ mouseDown()
| void krotos::AreaSelectionComp::mouseDown |
( |
const MouseEvent & | event | ) |
|
|
overrideprivate |
◆ mouseDrag()
| void krotos::AreaSelectionComp::mouseDrag |
( |
const MouseEvent & | event | ) |
|
|
overrideprivate |
◆ mouseUp()
| void krotos::AreaSelectionComp::mouseUp |
( |
const MouseEvent & | event | ) |
|
|
overrideprivate |
◆ paint()
| void krotos::AreaSelectionComp::paint |
( |
Graphics & | g | ) |
|
|
override |
◆ removeListener()
| void krotos::AreaSelectionComp::removeListener |
( |
Listener * | Listener | ) |
|
◆ setEndPointInPercentage()
| void krotos::AreaSelectionComp::setEndPointInPercentage |
( |
float | percentage | ) |
|
◆ setStartPointInPercentage()
| void krotos::AreaSelectionComp::setStartPointInPercentage |
( |
float | percentage, |
|
|
float | nonModulatedPercentage = -1 ) |
◆ setWaveformMode()
| void krotos::AreaSelectionComp::setWaveformMode |
( |
WaveformMode | mode | ) |
|
◆ toggleAreaOrControl()
| void krotos::AreaSelectionComp::toggleAreaOrControl |
( |
bool | toggleState | ) |
|
◆ inAreaSelectMode
| bool krotos::AreaSelectionComp::inAreaSelectMode {true} |
|
private |
◆ m_additionalPercentHack
| float krotos::AreaSelectionComp::m_additionalPercentHack = 0.03f |
|
private |
◆ m_clickingThreshold
| const int krotos::AreaSelectionComp::m_clickingThreshold {5} |
|
private |
◆ m_diff
| float krotos::AreaSelectionComp::m_diff {0.f} |
|
private |
◆ m_dragging
| bool krotos::AreaSelectionComp::m_dragging {false} |
|
private |
◆ m_drawBackground
| bool krotos::AreaSelectionComp::m_drawBackground |
|
private |
◆ m_drawMarqueeBackground
| bool krotos::AreaSelectionComp::m_drawMarqueeBackground |
|
private |
◆ m_endPosPercentage
| float krotos::AreaSelectionComp::m_endPosPercentage {1.f} |
|
private |
◆ m_epsilon
| const float krotos::AreaSelectionComp::m_epsilon {0.0001f} |
|
private |
◆ m_grabAreaWidth
| int krotos::AreaSelectionComp::m_grabAreaWidth = 10 |
|
private |
◆ m_leftBarWasSelected
| bool krotos::AreaSelectionComp::m_leftBarWasSelected {false} |
|
private |
◆ m_lineWidth
| const int krotos::AreaSelectionComp::m_lineWidth {2} |
|
private |
◆ m_listeners
| ListenerList<Listener> krotos::AreaSelectionComp::m_listeners |
|
private |
◆ m_minSelectionWidth
◆ m_minSelectionWidthMin
| const int krotos::AreaSelectionComp::m_minSelectionWidthMin {m_lineWidth} |
|
private |
◆ m_rightBarWasSelected
| bool krotos::AreaSelectionComp::m_rightBarWasSelected {false} |
|
private |
◆ m_selectionEnd
| int krotos::AreaSelectionComp::m_selectionEnd |
|
private |
◆ m_selectionStart
| int krotos::AreaSelectionComp::m_selectionStart |
|
private |
◆ m_selectionWidth
| int krotos::AreaSelectionComp::m_selectionWidth {0} |
|
private |
◆ m_shiftDragging
| bool krotos::AreaSelectionComp::m_shiftDragging {false} |
|
private |
◆ m_shiftKeyPressed
| bool krotos::AreaSelectionComp::m_shiftKeyPressed {false} |
|
private |
◆ m_startPosPercentage
| float krotos::AreaSelectionComp::m_startPosPercentage {0.f} |
|
private |
◆ m_useEndPoint
| bool krotos::AreaSelectionComp::m_useEndPoint |
|
private |
◆ m_waveformMode
The documentation for this class was generated from the following files: