|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Public Member Functions | |
| MouseSourceState (MenuWindow &w, MouseInputSource s) | |
| void | handleMouseEvent (const MouseEvent &e) |
| void | timerCallback () override |
| The user-defined callback routine that actually gets called periodically. | |
| bool | isOver () const |
Public Member Functions inherited from juce::Timer | |
| virtual | ~Timer () |
| Destructor. | |
| void | startTimer (int intervalInMilliseconds) noexcept |
| Starts the timer and sets the length of interval required. | |
| void | startTimerHz (int timerFrequencyHz) noexcept |
| Starts the timer with an interval specified in Hertz. | |
| void | stopTimer () noexcept |
| Stops the timer. | |
| bool | isTimerRunning () const noexcept |
| Returns true if the timer is currently running. | |
| int | getTimerInterval () const noexcept |
| Returns the timer's interval. | |
Public Attributes | |
| MenuWindow & | window |
| MouseInputSource | source |
Additional Inherited Members | |
Static Public Member Functions inherited from juce::Timer | |
| static void JUCE_CALLTYPE | callAfterDelay (int milliseconds, std::function< void()> functionToCall) |
| Invokes a lambda after a given number of milliseconds. | |
| static void JUCE_CALLTYPE | callPendingTimersSynchronously () |
| For internal use only: invokes any timers that need callbacks. | |
Protected Member Functions inherited from juce::Timer | |
| Timer () noexcept | |
| Creates a Timer. | |
| Timer (const Timer &) noexcept | |
| Creates a copy of another timer. | |
Definition at line 1331 of file juce_PopupMenu.cpp.
| juce::PopupMenu::HelperClasses::MouseSourceState::MouseSourceState | ( | MenuWindow & | w, |
| MouseInputSource | s | ||
| ) |
Definition at line 1334 of file juce_PopupMenu.cpp.
| void juce::PopupMenu::HelperClasses::MouseSourceState::handleMouseEvent | ( | const MouseEvent & | e | ) |
Definition at line 1340 of file juce_PopupMenu.cpp.
| bool juce::PopupMenu::HelperClasses::MouseSourceState::isOver | ( | ) | const |
Definition at line 1362 of file juce_PopupMenu.cpp.
|
overridevirtual |
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.
Definition at line 1349 of file juce_PopupMenu.cpp.
| MouseInputSource juce::PopupMenu::HelperClasses::MouseSourceState::source |
Definition at line 1368 of file juce_PopupMenu.cpp.
| MenuWindow& juce::PopupMenu::HelperClasses::MouseSourceState::window |
Definition at line 1367 of file juce_PopupMenu.cpp.