upgrade to JUCE 5.4.3. Remove (probably) unused JUCE modules. Remove VST2 target (it's been end-of-life'd by Steinberg and by JUCE)
This commit is contained in:
@ -63,7 +63,7 @@ public:
|
||||
callback. Any ComponentListener objects that have registered with it will also have their
|
||||
ComponentListener::componentBeingDeleted() methods called.
|
||||
*/
|
||||
virtual ~Component();
|
||||
~Component() override;
|
||||
|
||||
//==============================================================================
|
||||
/** Creates a component, setting its name at the same time.
|
||||
@ -867,8 +867,8 @@ public:
|
||||
|
||||
/** Changes the default return value for the hitTest() method.
|
||||
|
||||
Setting this to false is an easy way to make a component pass its mouse-clicks
|
||||
through to the components behind it.
|
||||
Setting this to false is an easy way to make a component pass all its mouse events
|
||||
(not just clicks) through to the components behind it.
|
||||
|
||||
When a component is created, the default setting for this is true.
|
||||
|
||||
@ -1480,7 +1480,7 @@ public:
|
||||
the source component in which it occurred
|
||||
@see mouseEnter, mouseExit, mouseDrag, contains
|
||||
*/
|
||||
virtual void mouseMove (const MouseEvent& event) override;
|
||||
void mouseMove (const MouseEvent& event) override;
|
||||
|
||||
/** Called when the mouse first enters a component.
|
||||
|
||||
@ -1496,7 +1496,7 @@ public:
|
||||
the source component in which it occurred
|
||||
@see mouseExit, mouseDrag, mouseMove, contains
|
||||
*/
|
||||
virtual void mouseEnter (const MouseEvent& event) override;
|
||||
void mouseEnter (const MouseEvent& event) override;
|
||||
|
||||
/** Called when the mouse moves out of a component.
|
||||
|
||||
@ -1511,7 +1511,7 @@ public:
|
||||
the source component in which it occurred
|
||||
@see mouseEnter, mouseDrag, mouseMove, contains
|
||||
*/
|
||||
virtual void mouseExit (const MouseEvent& event) override;
|
||||
void mouseExit (const MouseEvent& event) override;
|
||||
|
||||
/** Called when a mouse button is pressed.
|
||||
|
||||
@ -1526,7 +1526,7 @@ public:
|
||||
the source component in which it occurred
|
||||
@see mouseUp, mouseDrag, mouseDoubleClick, contains
|
||||
*/
|
||||
virtual void mouseDown (const MouseEvent& event) override;
|
||||
void mouseDown (const MouseEvent& event) override;
|
||||
|
||||
/** Called when the mouse is moved while a button is held down.
|
||||
|
||||
@ -1538,7 +1538,7 @@ public:
|
||||
the source component in which it occurred
|
||||
@see mouseDown, mouseUp, mouseMove, contains, setDragRepeatInterval
|
||||
*/
|
||||
virtual void mouseDrag (const MouseEvent& event) override;
|
||||
void mouseDrag (const MouseEvent& event) override;
|
||||
|
||||
/** Called when a mouse button is released.
|
||||
|
||||
@ -1553,7 +1553,7 @@ public:
|
||||
the source component in which it occurred
|
||||
@see mouseDown, mouseDrag, mouseDoubleClick, contains
|
||||
*/
|
||||
virtual void mouseUp (const MouseEvent& event) override;
|
||||
void mouseUp (const MouseEvent& event) override;
|
||||
|
||||
/** Called when a mouse button has been double-clicked on a component.
|
||||
|
||||
@ -1565,7 +1565,7 @@ public:
|
||||
the source component in which it occurred
|
||||
@see mouseDown, mouseUp
|
||||
*/
|
||||
virtual void mouseDoubleClick (const MouseEvent& event) override;
|
||||
void mouseDoubleClick (const MouseEvent& event) override;
|
||||
|
||||
/** Called when the mouse-wheel is moved.
|
||||
|
||||
@ -1582,8 +1582,8 @@ public:
|
||||
@param event details about the mouse event
|
||||
@param wheel details about the mouse wheel movement
|
||||
*/
|
||||
virtual void mouseWheelMove (const MouseEvent& event,
|
||||
const MouseWheelDetails& wheel) override;
|
||||
void mouseWheelMove (const MouseEvent& event,
|
||||
const MouseWheelDetails& wheel) override;
|
||||
|
||||
/** Called when a pinch-to-zoom mouse-gesture is used.
|
||||
|
||||
@ -1596,7 +1596,7 @@ public:
|
||||
should be changed. A value of 1.0 would indicate no change,
|
||||
values greater than 1.0 mean it should be enlarged.
|
||||
*/
|
||||
virtual void mouseMagnify (const MouseEvent& event, float scaleFactor) override;
|
||||
void mouseMagnify (const MouseEvent& event, float scaleFactor) override;
|
||||
|
||||
//==============================================================================
|
||||
/** Ensures that a non-stop stream of mouse-drag events will be sent during the
|
||||
@ -2123,7 +2123,7 @@ public:
|
||||
and you can test whether it's null before using it to see if something has deleted
|
||||
it.
|
||||
|
||||
The ComponentType typedef must be Component, or some subclass of Component.
|
||||
The ComponentType template parameter must be Component, or some subclass of Component.
|
||||
|
||||
You may also want to use a WeakReference<Component> object for the same purpose.
|
||||
*/
|
||||
@ -2132,7 +2132,7 @@ public:
|
||||
{
|
||||
public:
|
||||
/** Creates a null SafePointer. */
|
||||
SafePointer() noexcept {}
|
||||
SafePointer() = default;
|
||||
|
||||
/** Creates a SafePointer that points at the given component. */
|
||||
SafePointer (ComponentType* component) : weakRef (component) {}
|
||||
@ -2205,7 +2205,7 @@ public:
|
||||
/** Creates a Positioner which can control the specified component. */
|
||||
explicit Positioner (Component& component) noexcept;
|
||||
/** Destructor. */
|
||||
virtual ~Positioner() {}
|
||||
virtual ~Positioner() = default;
|
||||
|
||||
/** Returns the component that this positioner controls. */
|
||||
Component& getComponent() const noexcept { return component; }
|
||||
@ -2249,7 +2249,7 @@ public:
|
||||
|
||||
/** Sets a flag to indicate whether mouse drag events on this Component should be ignored when it is inside a
|
||||
Viewport with drag-to-scroll functionality enabled. This is useful for Components such as sliders that
|
||||
should not move their parent Viewport when dragged.
|
||||
should not move when their parent Viewport when dragged.
|
||||
*/
|
||||
void setViewportIgnoreDragFlag (bool ignoreDrag) noexcept { flags.viewportIgnoreDragFlag = ignoreDrag; }
|
||||
|
||||
@ -2280,8 +2280,6 @@ private:
|
||||
std::unique_ptr<CachedComponentImage> cachedImage;
|
||||
|
||||
class MouseListenerList;
|
||||
friend class MouseListenerList;
|
||||
friend struct ContainerDeletePolicy<MouseListenerList>;
|
||||
std::unique_ptr<MouseListenerList> mouseListeners;
|
||||
std::unique_ptr<Array<KeyListener*>> keyListeners;
|
||||
ListenerList<ComponentListener> componentListeners;
|
||||
|
Reference in New Issue
Block a user