openshot-audio  0.1.4
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
juce::PopupMenu::HelperClasses::MenuWindow Class Reference
Inheritance diagram for juce::PopupMenu::HelperClasses::MenuWindow:
juce::Component juce::MouseListener

Public Member Functions

 MenuWindow (const PopupMenu &menu, MenuWindow *const parentWindow, const Options &opts, const bool alignToRectangle, const bool shouldDismissOnMouseUp, ApplicationCommandManager **const manager)
 
 ~MenuWindow ()
 
void paint (Graphics &g) override
 
void paintOverChildren (Graphics &g) override
 
void hide (const PopupMenu::Item *const item, const bool makeInvisible)
 
void dismissMenu (const PopupMenu::Item *const item)
 
bool keyPressed (const KeyPress &key) override
 
void inputAttemptWhenModal () override
 
void handleCommandMessage (int commandId) override
 
void mouseMove (const MouseEvent &e) override
 
void mouseDown (const MouseEvent &e) override
 
void mouseDrag (const MouseEvent &e) override
 
void mouseUp (const MouseEvent &e) override
 
void mouseWheelMove (const MouseEvent &, const MouseWheelDetails &wheel) override
 
void handleMouseEvent (const MouseEvent &e)
 
bool windowIsStillValid ()
 
MouseSourceStategetMouseState (MouseInputSource source)
 
bool isOverAnyMenu () const
 
bool isOverChildren () const
 
bool isAnyMouseOver () const
 
bool treeContains (const MenuWindow *const window) const noexcept
 
bool doesAnyJuceCompHaveFocus ()
 
void calculateWindowPos (const Rectangle< int > &target, const bool alignToRectangle)
 
void layoutMenuItems (const int maxMenuW, const int maxMenuH, int &width, int &height)
 
int workOutBestSize (const int maxMenuW)
 
void ensureItemIsVisible (const int itemID, int wantedY)
 
void resizeToBestWindowPos ()
 
void alterChildYPos (const int delta)
 
int updateYPositions ()
 
void setCurrentlyHighlightedChild (ItemComponent *const child)
 
bool isSubMenuVisible () const noexcept
 
bool showSubMenuFor (ItemComponent *const childComp)
 
void triggerCurrentlyHighlightedItem ()
 
void selectNextItem (const int delta)
 
void disableTimerUntilMouseMoves ()
 
bool canScroll () const noexcept
 
bool isTopScrollZoneActive () const noexcept
 
bool isBottomScrollZoneActive () const noexcept
 
- Public Member Functions inherited from juce::Component
 Component () noexcept
 
virtual ~Component ()
 
 Component (const String &componentName) noexcept
 
const StringgetName () const noexcept
 
virtual void setName (const String &newName)
 
const StringgetComponentID () const noexcept
 
void setComponentID (const String &newID)
 
virtual void setVisible (bool shouldBeVisible)
 
bool isVisible () const noexcept
 
virtual void visibilityChanged ()
 
bool isShowing () const
 
virtual void addToDesktop (int windowStyleFlags, void *nativeWindowToAttachTo=nullptr)
 
void removeFromDesktop ()
 
bool isOnDesktop () const noexcept
 
ComponentPeergetPeer () const
 
virtual void userTriedToCloseWindow ()
 
virtual void minimisationStateChanged (bool isNowMinimised)
 
virtual float getDesktopScaleFactor () const
 
void toFront (bool shouldAlsoGainFocus)
 
void toBack ()
 
void toBehind (Component *other)
 
void setAlwaysOnTop (bool shouldStayOnTop)
 
bool isAlwaysOnTop () const noexcept
 
int getX () const noexcept
 
int getY () const noexcept
 
int getWidth () const noexcept
 
int getHeight () const noexcept
 
int getRight () const noexcept
 
Point< int > getPosition () const noexcept
 
int getBottom () const noexcept
 
const Rectangle< int > & getBounds () const noexcept
 
Rectangle< int > getLocalBounds () const noexcept
 
Rectangle< int > getBoundsInParent () const noexcept
 
int getScreenX () const
 
int getScreenY () const
 
Point< int > getScreenPosition () const
 
Rectangle< int > getScreenBounds () const
 
Point< int > getLocalPoint (const Component *sourceComponent, Point< int > pointRelativeToSourceComponent) const
 
Point< float > getLocalPoint (const Component *sourceComponent, Point< float > pointRelativeToSourceComponent) const
 
Rectangle< int > getLocalArea (const Component *sourceComponent, const Rectangle< int > &areaRelativeToSourceComponent) const
 
Point< int > localPointToGlobal (Point< int > localPoint) const
 
Point< float > localPointToGlobal (Point< float > localPoint) const
 
Rectangle< int > localAreaToGlobal (const Rectangle< int > &localArea) const
 
void setTopLeftPosition (int x, int y)
 
void setTopLeftPosition (Point< int > newTopLeftPosition)
 
void setTopRightPosition (int x, int y)
 
void setSize (int newWidth, int newHeight)
 
void setBounds (int x, int y, int width, int height)
 
void setBounds (const Rectangle< int > &newBounds)
 
void setBounds (const RelativeRectangle &newBounds)
 
void setBounds (const String &newBoundsExpression)
 
void setBoundsRelative (float proportionalX, float proportionalY, float proportionalWidth, float proportionalHeight)
 
void setBoundsInset (const BorderSize< int > &borders)
 
void setBoundsToFit (int x, int y, int width, int height, Justification justification, bool onlyReduceInSize)
 
void setCentrePosition (int x, int y)
 
void setCentreRelative (float x, float y)
 
void centreWithSize (int width, int height)
 
void setTransform (const AffineTransform &transform)
 
AffineTransform getTransform () const
 
bool isTransformed () const noexcept
 
int proportionOfWidth (float proportion) const noexcept
 
int proportionOfHeight (float proportion) const noexcept
 
int getParentWidth () const noexcept
 
int getParentHeight () const noexcept
 
Rectangle< int > getParentMonitorArea () const
 
int getNumChildComponents () const noexcept
 
ComponentgetChildComponent (int index) const noexcept
 
int getIndexOfChildComponent (const Component *child) const noexcept
 
ComponentfindChildWithID (StringRef componentID) const noexcept
 
void addChildComponent (Component *child, int zOrder=-1)
 
void addChildComponent (Component &child, int zOrder=-1)
 
void addAndMakeVisible (Component *child, int zOrder=-1)
 
void addAndMakeVisible (Component &child, int zOrder=-1)
 
void addChildAndSetID (Component *child, const String &componentID)
 
void removeChildComponent (Component *childToRemove)
 
ComponentremoveChildComponent (int childIndexToRemove)
 
void removeAllChildren ()
 
void deleteAllChildren ()
 
ComponentgetParentComponent () const noexcept
 
template<class TargetClass >
TargetClass * findParentComponentOfClass () const
 
ComponentgetTopLevelComponent () const noexcept
 
bool isParentOf (const Component *possibleChild) const noexcept
 
virtual void parentHierarchyChanged ()
 
virtual void childrenChanged ()
 
virtual bool hitTest (int x, int y)
 
void setInterceptsMouseClicks (bool allowClicksOnThisComponent, bool allowClicksOnChildComponents) noexcept
 
void getInterceptsMouseClicks (bool &allowsClicksOnThisComponent, bool &allowsClicksOnChildComponents) const noexcept
 
bool contains (Point< int > localPoint)
 
bool reallyContains (Point< int > localPoint, bool returnTrueIfWithinAChild)
 
ComponentgetComponentAt (int x, int y)
 
ComponentgetComponentAt (Point< int > position)
 
void repaint ()
 
void repaint (int x, int y, int width, int height)
 
void repaint (const Rectangle< int > &area)
 
void setBufferedToImage (bool shouldBeBuffered)
 
Image createComponentSnapshot (const Rectangle< int > &areaToGrab, bool clipImageToComponentBounds=true, float scaleFactor=1.0f)
 
void paintEntireComponent (Graphics &context, bool ignoreAlphaLevel)
 
void setPaintingIsUnclipped (bool shouldPaintWithoutClipping) noexcept
 
void setComponentEffect (ImageEffectFilter *newEffect)
 
ImageEffectFiltergetComponentEffect () const noexcept
 
LookAndFeelgetLookAndFeel () const noexcept
 
void setLookAndFeel (LookAndFeel *newLookAndFeel)
 
virtual void lookAndFeelChanged ()
 
void sendLookAndFeelChange ()
 
void setOpaque (bool shouldBeOpaque)
 
bool isOpaque () const noexcept
 
void setBroughtToFrontOnMouseClick (bool shouldBeBroughtToFront) noexcept
 
bool isBroughtToFrontOnMouseClick () const noexcept
 
void setWantsKeyboardFocus (bool wantsFocus) noexcept
 
bool getWantsKeyboardFocus () const noexcept
 
void setMouseClickGrabsKeyboardFocus (bool shouldGrabFocus)
 
bool getMouseClickGrabsKeyboardFocus () const noexcept
 
void grabKeyboardFocus ()
 
bool hasKeyboardFocus (bool trueIfChildIsFocused) const
 
void moveKeyboardFocusToSibling (bool moveToNext)
 
virtual KeyboardFocusTraversercreateFocusTraverser ()
 
int getExplicitFocusOrder () const
 
void setExplicitFocusOrder (int newFocusOrderIndex)
 
void setFocusContainer (bool shouldBeFocusContainer) noexcept
 
bool isFocusContainer () const noexcept
 
bool isEnabled () const noexcept
 
void setEnabled (bool shouldBeEnabled)
 
virtual void enablementChanged ()
 
void setAlpha (float newAlpha)
 
float getAlpha () const
 
void setMouseCursor (const MouseCursor &cursorType)
 
virtual MouseCursor getMouseCursor ()
 
void updateMouseCursor () const
 
virtual void mouseEnter (const MouseEvent &event) override
 
virtual void mouseExit (const MouseEvent &event) override
 
virtual void mouseDoubleClick (const MouseEvent &event) override
 
virtual void mouseMagnify (const MouseEvent &event, float scaleFactor)
 
void setRepaintsOnMouseActivity (bool shouldRepaint) noexcept
 
void addMouseListener (MouseListener *newListener, bool wantsEventsForAllNestedChildComponents)
 
void removeMouseListener (MouseListener *listenerToRemove)
 
void addKeyListener (KeyListener *newListener)
 
void removeKeyListener (KeyListener *listenerToRemove)
 
virtual bool keyStateChanged (bool isKeyDown)
 
virtual void modifierKeysChanged (const ModifierKeys &modifiers)
 
virtual void focusGained (FocusChangeType cause)
 
virtual void focusLost (FocusChangeType cause)
 
virtual void focusOfChildComponentChanged (FocusChangeType cause)
 
bool isMouseOver (bool includeChildren=false) const
 
bool isMouseButtonDown () const
 
bool isMouseOverOrDragging () const
 
Point< int > getMouseXYRelative () const
 
virtual void resized ()
 
virtual void moved ()
 
virtual void childBoundsChanged (Component *child)
 
virtual void parentSizeChanged ()
 
virtual void broughtToFront ()
 
void addComponentListener (ComponentListener *newListener)
 
void removeComponentListener (ComponentListener *listenerToRemove)
 
void postCommandMessage (int commandId)
 
int runModalLoop ()
 
void enterModalState (bool takeKeyboardFocus=true, ModalComponentManager::Callback *callback=nullptr, bool deleteWhenDismissed=false)
 
void exitModalState (int returnValue)
 
bool isCurrentlyModal () const noexcept
 
bool isCurrentlyBlockedByAnotherModalComponent () const
 
virtual bool canModalEventBeSentToComponent (const Component *targetComponent)
 
NamedValueSetgetProperties () noexcept
 
const NamedValueSetgetProperties () const noexcept
 
Colour findColour (int colourId, bool inheritFromParent=false) const
 
void setColour (int colourId, Colour newColour)
 
void removeColour (int colourId)
 
bool isColourSpecified (int colourId) const
 
void copyAllExplicitColoursTo (Component &target) const
 
virtual void colourChanged ()
 
virtual MarkerListgetMarkers (bool xAxis)
 
void * getWindowHandle () const
 
PositionergetPositioner () const noexcept
 
void setPositioner (Positioner *newPositioner)
 
void setCachedComponentImage (CachedComponentImage *newCachedImage)
 
CachedComponentImagegetCachedComponentImage () const noexcept
 
 JUCE_DEPRECATED (Point< int > relativePositionToGlobal(Point< int >) const)
 
 JUCE_DEPRECATED (Point< int > globalPositionToRelative(Point< int >) const)
 
 JUCE_DEPRECATED (Point< int > relativePositionToOtherComponent(const Component *, Point< int >) const)
 
- Public Member Functions inherited from juce::MouseListener
virtual ~MouseListener ()
 

Static Public Member Functions

static Array< MenuWindow * > & getActiveWindows ()
 
- Static Public Member Functions inherited from juce::Component
static Component *JUCE_CALLTYPE getCurrentlyFocusedComponent () noexcept
 
static void JUCE_CALLTYPE unfocusAllComponents ()
 
static void JUCE_CALLTYPE beginDragAutoRepeat (int millisecondsBetweenCallbacks)
 
static bool JUCE_CALLTYPE isMouseButtonDownAnywhere () noexcept
 
static int JUCE_CALLTYPE getNumCurrentlyModalComponents () noexcept
 
static Component *JUCE_CALLTYPE getCurrentlyModalComponent (int index=0) noexcept
 

Public Attributes

MenuWindowparent
 
const Options options
 
OwnedArray< ItemComponentitems
 
ApplicationCommandManager ** managerOfChosenCommand
 
WeakReference< ComponentcomponentAttachedTo
 
Rectangle< int > windowPos
 
bool hasBeenOver
 
bool needsToScroll
 
bool dismissOnMouseUp
 
bool hideOnExit
 
bool disableMouseMoves
 
bool hasAnyJuceCompHadFocus
 
int numColumns
 
int contentHeight
 
int childYOffset
 
Component::SafePointer< ItemComponentcurrentChild
 
ScopedPointer< MenuWindowactiveSubMenu
 
Array< int > columnWidths
 
uint32 windowCreationTime
 
uint32 lastFocusedTime
 
uint32 timeEnteredCurrentChildComp
 
OwnedArray< MouseSourceStatemouseSourceStates
 

Additional Inherited Members

- Public Types inherited from juce::Component
enum  FocusChangeType { focusChangedByMouseClick, focusChangedByTabKey, focusChangedDirectly }
 
- Protected Member Functions inherited from juce::Component
virtual ComponentPeercreateNewPeer (int styleFlags, void *nativeWindowToAttachTo)
 

Constructor & Destructor Documentation

◆ MenuWindow()

juce::PopupMenu::HelperClasses::MenuWindow::MenuWindow ( const PopupMenu menu,
MenuWindow *const  parentWindow,
const Options opts,
const bool  alignToRectangle,
const bool  shouldDismissOnMouseUp,
ApplicationCommandManager **const  manager 
)
inline

◆ ~MenuWindow()

juce::PopupMenu::HelperClasses::MenuWindow::~MenuWindow ( )
inline

Member Function Documentation

◆ alterChildYPos()

void juce::PopupMenu::HelperClasses::MenuWindow::alterChildYPos ( const int  delta)
inline

◆ calculateWindowPos()

void juce::PopupMenu::HelperClasses::MenuWindow::calculateWindowPos ( const Rectangle< int > &  target,
const bool  alignToRectangle 
)
inline

◆ canScroll()

bool juce::PopupMenu::HelperClasses::MenuWindow::canScroll ( ) const
inlinenoexcept

◆ disableTimerUntilMouseMoves()

void juce::PopupMenu::HelperClasses::MenuWindow::disableTimerUntilMouseMoves ( )
inline

◆ dismissMenu()

void juce::PopupMenu::HelperClasses::MenuWindow::dismissMenu ( const PopupMenu::Item *const  item)
inline

◆ doesAnyJuceCompHaveFocus()

bool juce::PopupMenu::HelperClasses::MenuWindow::doesAnyJuceCompHaveFocus ( )
inline

◆ ensureItemIsVisible()

void juce::PopupMenu::HelperClasses::MenuWindow::ensureItemIsVisible ( const int  itemID,
int  wantedY 
)
inline

◆ getActiveWindows()

static Array<MenuWindow*>& juce::PopupMenu::HelperClasses::MenuWindow::getActiveWindows ( )
inlinestatic

◆ getMouseState()

MouseSourceState& juce::PopupMenu::HelperClasses::MenuWindow::getMouseState ( MouseInputSource  source)
inline

◆ handleCommandMessage()

void juce::PopupMenu::HelperClasses::MenuWindow::handleCommandMessage ( int  commandId)
inlineoverridevirtual

Called to handle a command that was sent by postCommandMessage().

This is called by the message thread when a command message arrives, and the component can override this method to process it in any way it needs to.

See also
postCommandMessage

Reimplemented from juce::Component.

◆ handleMouseEvent()

void juce::PopupMenu::HelperClasses::MenuWindow::handleMouseEvent ( const MouseEvent e)
inline

◆ hide()

void juce::PopupMenu::HelperClasses::MenuWindow::hide ( const PopupMenu::Item *const  item,
const bool  makeInvisible 
)
inline

◆ inputAttemptWhenModal()

void juce::PopupMenu::HelperClasses::MenuWindow::inputAttemptWhenModal ( )
inlineoverridevirtual

Called when the user tries to click on a component that is blocked by another modal component.

When a component is modal and the user clicks on one of the other components, the modal component will receive this callback.

The default implementation of this method will play a beep, and bring the currently modal component to the front, but it can be overridden to do other tasks.

See also
isCurrentlyBlockedByAnotherModalComponent, canModalEventBeSentToComponent

Reimplemented from juce::Component.

◆ isAnyMouseOver()

bool juce::PopupMenu::HelperClasses::MenuWindow::isAnyMouseOver ( ) const
inline

◆ isBottomScrollZoneActive()

bool juce::PopupMenu::HelperClasses::MenuWindow::isBottomScrollZoneActive ( ) const
inlinenoexcept

◆ isOverAnyMenu()

bool juce::PopupMenu::HelperClasses::MenuWindow::isOverAnyMenu ( ) const
inline

◆ isOverChildren()

bool juce::PopupMenu::HelperClasses::MenuWindow::isOverChildren ( ) const
inline

◆ isSubMenuVisible()

bool juce::PopupMenu::HelperClasses::MenuWindow::isSubMenuVisible ( ) const
inlinenoexcept

◆ isTopScrollZoneActive()

bool juce::PopupMenu::HelperClasses::MenuWindow::isTopScrollZoneActive ( ) const
inlinenoexcept

◆ keyPressed()

bool juce::PopupMenu::HelperClasses::MenuWindow::keyPressed ( const KeyPress key)
inlineoverridevirtual

Called when a key is pressed.

When a key is pressed, the component that has the keyboard focus will have this method called. Remember that a component will only be given the focus if its setWantsKeyboardFocus() method has been used to enable this.

If your implementation returns true, the event will be consumed and not passed on to any other listeners. If it returns false, the key will be passed to any KeyListeners that have been registered with this component. As soon as one of these returns true, the process will stop, but if they all return false, the event will be passed upwards to this component's parent, and so on.

The default implementation of this method does nothing and returns false.

See also
keyStateChanged, getCurrentlyFocusedComponent, addKeyListener

Reimplemented from juce::Component.

◆ layoutMenuItems()

void juce::PopupMenu::HelperClasses::MenuWindow::layoutMenuItems ( const int  maxMenuW,
const int  maxMenuH,
int &  width,
int &  height 
)
inline

◆ mouseDown()

void juce::PopupMenu::HelperClasses::MenuWindow::mouseDown ( const MouseEvent event)
inlineoverridevirtual

Called when a mouse button is pressed.

The MouseEvent object passed in contains lots of methods for finding out which button was pressed, as well as which modifier keys (e.g. shift, ctrl) were held down at the time.

Once a button is held down, the mouseDrag method will be called when the mouse moves, until the button is released.

Parameters
eventdetails about the position and status of the mouse event, including the source component in which it occurred
See also
mouseUp, mouseDrag, mouseDoubleClick, contains

Reimplemented from juce::Component.

◆ mouseDrag()

void juce::PopupMenu::HelperClasses::MenuWindow::mouseDrag ( const MouseEvent event)
inlineoverridevirtual

Called when the mouse is moved while a button is held down.

When a mouse button is pressed inside a component, that component receives mouseDrag callbacks each time the mouse moves, even if the mouse strays outside the component's bounds.

Parameters
eventdetails about the position and status of the mouse event, including the source component in which it occurred
See also
mouseDown, mouseUp, mouseMove, contains, setDragRepeatInterval

Reimplemented from juce::Component.

◆ mouseMove()

void juce::PopupMenu::HelperClasses::MenuWindow::mouseMove ( const MouseEvent event)
inlineoverridevirtual

Called when the mouse moves inside a component.

If the mouse button isn't pressed and the mouse moves over a component, this will be called to let the component react to this.

A component will always get a mouseEnter callback before a mouseMove.

Parameters
eventdetails about the position and status of the mouse event, including the source component in which it occurred
See also
mouseEnter, mouseExit, mouseDrag, contains

Reimplemented from juce::Component.

◆ mouseUp()

void juce::PopupMenu::HelperClasses::MenuWindow::mouseUp ( const MouseEvent event)
inlineoverridevirtual

Called when a mouse button is released.

A mouseUp callback is sent to the component in which a button was pressed even if the mouse is actually over a different component when the button is released.

The MouseEvent object passed in contains lots of methods for finding out which buttons were down just before they were released.

Parameters
eventdetails about the position and status of the mouse event, including the source component in which it occurred
See also
mouseDown, mouseDrag, mouseDoubleClick, contains

Reimplemented from juce::Component.

◆ mouseWheelMove()

void juce::PopupMenu::HelperClasses::MenuWindow::mouseWheelMove ( const MouseEvent event,
const MouseWheelDetails wheel 
)
inlineoverridevirtual

Called when the mouse-wheel is moved.

This callback is sent to the component that the mouse is over when the wheel is moved.

If not overridden, a component will forward this message to its parent, so that parent components can collect mouse-wheel messages that happen to child components which aren't interested in them. (Bear in mind that if you attach a component as a mouse-listener to other components, then those wheel moves will also end up calling this method and being passed up to the parents, which may not be what you intended to happen).

Parameters
eventdetails about the mouse event
wheeldetails about the mouse wheel movement

Reimplemented from juce::Component.

◆ paint()

void juce::PopupMenu::HelperClasses::MenuWindow::paint ( Graphics g)
inlineoverridevirtual

Components can override this method to draw their content.

The paint() method gets called when a region of a component needs redrawing, either because the component's repaint() method has been called, or because something has happened on the screen that means a section of a window needs to be redrawn.

Any child components will draw themselves over whatever this method draws. If you need to paint over the top of your child components, you can also implement the paintOverChildren() method to do this.

If you want to cause a component to redraw itself, this is done asynchronously - calling the repaint() method marks a region of the component as "dirty", and the paint() method will automatically be called sometime later, by the message thread, to paint any bits that need refreshing. In Juce (and almost all modern UI frameworks), you never redraw something synchronously.

You should never need to call this method directly - to take a snapshot of the component you could use createComponentSnapshot() or paintEntireComponent().

Parameters
gthe graphics context that must be used to do the drawing operations.
See also
repaint, paintOverChildren, Graphics

Reimplemented from juce::Component.

◆ paintOverChildren()

void juce::PopupMenu::HelperClasses::MenuWindow::paintOverChildren ( Graphics g)
inlineoverridevirtual

Components can override this method to draw over the top of their children.

For most drawing operations, it's better to use the normal paint() method, but if you need to overlay something on top of the children, this can be used.

See also
paint, Graphics

Reimplemented from juce::Component.

◆ resizeToBestWindowPos()

void juce::PopupMenu::HelperClasses::MenuWindow::resizeToBestWindowPos ( )
inline

◆ selectNextItem()

void juce::PopupMenu::HelperClasses::MenuWindow::selectNextItem ( const int  delta)
inline

◆ setCurrentlyHighlightedChild()

void juce::PopupMenu::HelperClasses::MenuWindow::setCurrentlyHighlightedChild ( ItemComponent *const  child)
inline

◆ showSubMenuFor()

bool juce::PopupMenu::HelperClasses::MenuWindow::showSubMenuFor ( ItemComponent *const  childComp)
inline

◆ treeContains()

bool juce::PopupMenu::HelperClasses::MenuWindow::treeContains ( const MenuWindow *const  window) const
inlinenoexcept

◆ triggerCurrentlyHighlightedItem()

void juce::PopupMenu::HelperClasses::MenuWindow::triggerCurrentlyHighlightedItem ( )
inline

◆ updateYPositions()

int juce::PopupMenu::HelperClasses::MenuWindow::updateYPositions ( )
inline

◆ windowIsStillValid()

bool juce::PopupMenu::HelperClasses::MenuWindow::windowIsStillValid ( )
inline

◆ workOutBestSize()

int juce::PopupMenu::HelperClasses::MenuWindow::workOutBestSize ( const int  maxMenuW)
inline

Member Data Documentation

◆ activeSubMenu

ScopedPointer<MenuWindow> juce::PopupMenu::HelperClasses::MenuWindow::activeSubMenu

◆ childYOffset

int juce::PopupMenu::HelperClasses::MenuWindow::childYOffset

◆ columnWidths

Array<int> juce::PopupMenu::HelperClasses::MenuWindow::columnWidths

◆ componentAttachedTo

WeakReference<Component> juce::PopupMenu::HelperClasses::MenuWindow::componentAttachedTo

◆ contentHeight

int juce::PopupMenu::HelperClasses::MenuWindow::contentHeight

◆ currentChild

Component::SafePointer<ItemComponent> juce::PopupMenu::HelperClasses::MenuWindow::currentChild

◆ disableMouseMoves

bool juce::PopupMenu::HelperClasses::MenuWindow::disableMouseMoves

◆ dismissOnMouseUp

bool juce::PopupMenu::HelperClasses::MenuWindow::dismissOnMouseUp

◆ hasAnyJuceCompHadFocus

bool juce::PopupMenu::HelperClasses::MenuWindow::hasAnyJuceCompHadFocus

◆ hasBeenOver

bool juce::PopupMenu::HelperClasses::MenuWindow::hasBeenOver

◆ hideOnExit

bool juce::PopupMenu::HelperClasses::MenuWindow::hideOnExit

◆ items

OwnedArray<ItemComponent> juce::PopupMenu::HelperClasses::MenuWindow::items

◆ lastFocusedTime

uint32 juce::PopupMenu::HelperClasses::MenuWindow::lastFocusedTime

◆ managerOfChosenCommand

ApplicationCommandManager** juce::PopupMenu::HelperClasses::MenuWindow::managerOfChosenCommand

◆ mouseSourceStates

OwnedArray<MouseSourceState> juce::PopupMenu::HelperClasses::MenuWindow::mouseSourceStates

◆ needsToScroll

bool juce::PopupMenu::HelperClasses::MenuWindow::needsToScroll

◆ numColumns

int juce::PopupMenu::HelperClasses::MenuWindow::numColumns

◆ options

const Options juce::PopupMenu::HelperClasses::MenuWindow::options

◆ parent

MenuWindow* juce::PopupMenu::HelperClasses::MenuWindow::parent

◆ timeEnteredCurrentChildComp

uint32 juce::PopupMenu::HelperClasses::MenuWindow::timeEnteredCurrentChildComp

◆ windowCreationTime

uint32 juce::PopupMenu::HelperClasses::MenuWindow::windowCreationTime

◆ windowPos

Rectangle<int> juce::PopupMenu::HelperClasses::MenuWindow::windowPos

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