openshot-audio  0.1.7
Public Member Functions | Public Attributes | List of all members
MouseInputSource::SourceList Struct Reference
Inheritance diagram for MouseInputSource::SourceList:
Timer

Public Member Functions

 SourceList ()
 
bool addSource ()
 
void addSource (int index, bool isMouse)
 
MouseInputSourcegetMouseSource (int index) const noexcept
 
MouseInputSourcegetOrCreateMouseInputSource (int touchIndex)
 
int getNumDraggingMouseSources () const noexcept
 
MouseInputSourcegetDraggingMouseSource (int index) const noexcept
 
void beginDragAutoRepeat (const int interval)
 
void timerCallback () override
 
- Public Member Functions inherited from 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 Timer
static void JUCE_CALLTYPE callPendingTimersSynchronously ()
 
- Protected Member Functions inherited from Timer
 Timer () noexcept
 
 Timer (const Timer &) noexcept
 

Constructor & Destructor Documentation

◆ SourceList()

MouseInputSource::SourceList::SourceList ( )
inline

Member Function Documentation

◆ addSource() [1/2]

bool MouseInputSource::SourceList::addSource ( )

◆ addSource() [2/2]

void MouseInputSource::SourceList::addSource ( int  index,
bool  isMouse 
)
inline

◆ beginDragAutoRepeat()

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

◆ getDraggingMouseSource()

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

◆ getMouseSource()

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

◆ getNumDraggingMouseSources()

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

◆ getOrCreateMouseInputSource()

MouseInputSource* MouseInputSource::SourceList::getOrCreateMouseInputSource ( int  touchIndex)
inline

◆ timerCallback()

void 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 Timer.

Member Data Documentation

◆ sourceArray

Array<MouseInputSource> MouseInputSource::SourceList::sourceArray

◆ sources

OwnedArray<MouseInputSourceInternal> MouseInputSource::SourceList::sources

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