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
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
juce::PopupMenu::HelperClasses::MouseSourceState Class Referencefinal
Inheritance diagram for juce::PopupMenu::HelperClasses::MouseSourceState:
juce::Timer

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

MenuWindowwindow
 
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.
 

Detailed Description

Definition at line 1331 of file juce_PopupMenu.cpp.

Constructor & Destructor Documentation

◆ MouseSourceState()

juce::PopupMenu::HelperClasses::MouseSourceState::MouseSourceState ( MenuWindow w,
MouseInputSource  s 
)

Definition at line 1334 of file juce_PopupMenu.cpp.

Member Function Documentation

◆ handleMouseEvent()

void juce::PopupMenu::HelperClasses::MouseSourceState::handleMouseEvent ( const MouseEvent e)

Definition at line 1340 of file juce_PopupMenu.cpp.

◆ isOver()

bool juce::PopupMenu::HelperClasses::MouseSourceState::isOver ( ) const

Definition at line 1362 of file juce_PopupMenu.cpp.

◆ timerCallback()

void juce::PopupMenu::HelperClasses::MouseSourceState::timerCallback ( )
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.

Member Data Documentation

◆ source

MouseInputSource juce::PopupMenu::HelperClasses::MouseSourceState::source

Definition at line 1368 of file juce_PopupMenu.cpp.

◆ window

MenuWindow& juce::PopupMenu::HelperClasses::MouseSourceState::window

Definition at line 1367 of file juce_PopupMenu.cpp.


The documentation for this class was generated from the following file: