LMMS
Loading...
Searching...
No Matches
juce::MouseInputSource::SourceList Struct Reference
Inheritance diagram for juce::MouseInputSource::SourceList:
juce::Timer

Public Member Functions

 SourceList ()
bool addSource ()
bool canUseTouch ()
MouseInputSourceaddSource (int index, MouseInputSource::InputSourceType type)
MouseInputSourcegetMouseSource (int index) noexcept
MouseInputSourcegetOrCreateMouseInputSource (MouseInputSource::InputSourceType type, int touchIndex=0)
int getNumDraggingMouseSources () const noexcept
MouseInputSourcegetDraggingMouseSource (int index) noexcept
void beginDragAutoRepeat (int interval)
void timerCallback () override
Public Member Functions inherited from juce::Timer
virtual ~Timer ()
void startTimer (int intervalInMilliseconds) noexcept
void startTimerHz (int timerFrequencyHz) noexcept
void stopTimer () noexcept
bool isTimerRunning () const noexcept
int getTimerInterval () const noexcept

Public Attributes

OwnedArray< MouseInputSourceInternalsources
Array< MouseInputSourcesourceArray

Additional Inherited Members

Static Public Member Functions inherited from juce::Timer
static void JUCE_CALLTYPE callAfterDelay (int milliseconds, std::function< void()> functionToCall)
static void JUCE_CALLTYPE callPendingTimersSynchronously ()
Protected Member Functions inherited from juce::Timer
 Timer () noexcept
 Timer (const Timer &) noexcept

Constructor & Destructor Documentation

◆ SourceList()

juce::MouseInputSource::SourceList::SourceList ( )
inline

Member Function Documentation

◆ addSource() [1/2]

bool juce::MouseInputSource::SourceList::addSource ( )

◆ addSource() [2/2]

MouseInputSource * juce::MouseInputSource::SourceList::addSource ( int index,
MouseInputSource::InputSourceType type )
inline

◆ beginDragAutoRepeat()

void juce::MouseInputSource::SourceList::beginDragAutoRepeat ( int interval)
inline

◆ canUseTouch()

bool juce::MouseInputSource::SourceList::canUseTouch ( )

◆ getDraggingMouseSource()

MouseInputSource * juce::MouseInputSource::SourceList::getDraggingMouseSource ( int index)
inlinenoexcept

◆ getMouseSource()

MouseInputSource * juce::MouseInputSource::SourceList::getMouseSource ( int index)
inlinenoexcept

◆ getNumDraggingMouseSources()

int juce::MouseInputSource::SourceList::getNumDraggingMouseSources ( ) const
inlinenoexcept

◆ getOrCreateMouseInputSource()

MouseInputSource * juce::MouseInputSource::SourceList::getOrCreateMouseInputSource ( MouseInputSource::InputSourceType type,
int touchIndex = 0 )
inline

◆ timerCallback()

void juce::MouseInputSource::SourceList::timerCallback ( )
inlineoverridevirtual

The user-defined callback routine that actually gets called periodically.

It's perfectly ok to call startTimer() or stopTimer() from within this callback to change the subsequent intervals.

Implements juce::Timer.

Member Data Documentation

◆ sourceArray

Array<MouseInputSource> juce::MouseInputSource::SourceList::sourceArray

◆ sources

OwnedArray<MouseInputSourceInternal> juce::MouseInputSource::SourceList::sources

The documentation for this struct was generated from the following files: