1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00
JUCE/modules/juce_gui_basics
reuk 612c50f4a4
Windowing: Store originator component when initiating a mouse drag
Before this change, when starting a mouse drag from a nested view such
as a webview, JUCE was unable to automatically determine which component
is associated with the drag.

Instead of relying on automatic detection, users can pass the
"sourceComponent" argument when initiating a drag to specify the parent
view that should receive associated drag events. However, previously the
sourceComponent was only used to find the view associated with the
mouse-down, but not the mouse-up. Automatic detection was always used
for the mouse-up, but this could fail in the case of a drag started from
a nested view.

Now, the drag event source will store a weak reference to the source
component provided by the user, and use the same component for both
mouse-down and mouse-up events.
2025-01-13 16:56:42 +00:00
..
accessibility Accessibility: Add AccessibilityHandler::postSystemNotification() function for posting an OS-specific accessible notification 2024-12-04 11:11:21 +00:00
application Update licensing information 2024-04-16 11:39:35 +01:00
buttons Font: Deprecate getStringWidth and getGlyphPositions 2024-09-18 19:13:09 +01:00
commands Update licensing information 2024-04-16 11:39:35 +01:00
components Component: Ensure global mouse listeners are notified on mouse up 2024-10-20 22:59:39 +01:00
desktop Reapply "Windows: Use new window hit-testing API to implement Windows window-management features like Aero Snap" 2024-07-29 16:11:59 +01:00
detail Singleton: Add new macros to simplify singleton creation 2024-10-16 10:36:52 +01:00
drawables Use getSiblingFile in more places 2024-11-20 10:10:35 +00:00
filebrowser Versioning: Add the JUCE version number to any internally created threads 2024-09-26 08:10:56 +00:00
keyboard Windows: Fix DLL build 2024-10-22 13:24:46 +01:00
layout Grid: Fix cell ordering comparison 2024-11-21 13:42:54 +00:00
lookandfeel PopupMenu: Move section header size calculation into LookAndFeel methods. 2024-12-19 21:51:40 +00:00
menus PopupMenu: Move section header size calculation into LookAndFeel methods. 2024-12-19 21:51:40 +00:00
misc ScopedThreadDPIAwarenessSetter: Make moveable 2024-12-13 14:42:26 +00:00
mouse DragImageComponent: Avoid case where image may detach from mouse when dragging between screens 2024-12-02 17:20:42 +00:00
native Windowing: Store originator component when initiating a mouse drag 2025-01-13 16:56:42 +00:00
positioning Update licensing information 2024-04-16 11:39:35 +01:00
properties Update licensing information 2024-04-16 11:39:35 +01:00
widgets Windows: Fix DLL build 2024-10-22 13:24:46 +01:00
windows WindowsDLL: Add missing JUCE_API attributes 2024-10-27 16:16:26 +00:00
juce_gui_basics.cpp Compatibility: Add new macros for straightforward checking of minimum deployment target 2024-11-05 13:28:10 +00:00
juce_gui_basics.h Bump version number to 8.0.6 2025-01-10 09:29:00 +00:00
juce_gui_basics.mm Update licensing information 2024-04-16 11:39:35 +01:00