attila
27924e4996
Viewport: Stop ongoing physical drag upon user interaction
An animated drag operation will now stop if the user interacts with
the content area again before the animation is finished. It is also
stopped if the user interacts with the scrollbars.
2 years ago
reuk
53484db875
Accessibility: Avoid allowing TextEditor and Viewport internal components to be accessibility-focused
The TextHolderComponent and Viewport::componentHolder don't have any
accessible semantics, so they shouldn't be included in the accessible
component hierarchy.
3 years ago
reuk
c9950e3801
Accessibility: Avoid allowing TextEditor and Viewport internal components to be accessibility-focused
The TextHolderComponent and Viewport::componentHolder don't have any
accessible semantics, so they shouldn't be included in the accessible
component hierarchy.
3 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
4cf74dfff6
Viewport: Improve drag-to-scroll on devices that can accept simultaneous mouse and touch input
Some Windows 11 devices have both touch screens and mouse inputs, and
these can be used simultaneously.
The Viewport (and ListBox) now check the input source of each mouse
down. If the source is not a mouse, the viewport will always enter
drag-to-scroll mode, regardless of the result of isScrollOnDragEnabled.
3 years ago
ed
bbc05adb17
Docs: Updated Viewport scrollbar docs
4 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
ed
3c6b4f1e95
Minor documentation update for the Viewport::setScrollOnDragEnabled() method
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
jules
7ab4d1708b
Some misc cleanups, mainly around WeakReference usage and rectangles
6 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
hogliux
3ae28b3d54
Viewport: Added the ability to position the scrollbars at the top/left
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
e8af67182d
Added method Viewport::recreateScrollbars()
7 years ago
jules
3624df0652
Minor spelling fix
7 years ago
jules
a4f5663fce
Added an option for Viewport subclasses to create custom scrollbars. Also modified Viewport::getVerticalScrollBar() and ListBox::getVerticalScrollBar() to return references instead of pointers
7 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
320c8002da
Added methods Viewport::canScrollVertically() and Viewport::canScrollHorizontally()
8 years ago
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
8 years ago
jules
9fa0d49be7
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
8 years ago
jules
b6c3add330
Added drag-to-scroll functionality to Viewport
9 years ago
jules
5ca221ee11
Made Viewport remove the old viewed component when setViewedComponent is called, even if it doesn't own it
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
9b79610cb0
Added a flag MouseWheelEvent::isInertial (currently only implemented for OSX 10.7 or later), and used this to replace some clunky behaviour in the Viewport class that was there to avoid inertial wheel movements triggering nested scrollable components.
10 years ago
jules
a4f5faec2d
Fix for a crash when deleting FileBrowserComponent under certain circumstances.
10 years ago
jules
0b67cb2b93
Workaround to avoid misplaced wheel events when scrolling a viewport than contains wheel-able subcomponents.
10 years ago
jules
943d20ba7a
Added an option to Viewport to allow mouse-wheel scrolling when scrollbars are disabled.
11 years ago
jules
e9451587ea
Added method Viewport::getViewArea()
11 years ago
jules
023b9ac6cc
Changed ListBox to pass-on left/right key events.
11 years ago
jules
7f6394478a
Stripped out some unnecessary boilerplate includes from juce_gui_basics.
11 years ago
jules
5a1112ab94
Updated the format of the header include guard macros.
12 years ago
jules
5918d039ce
Added some "override" annotations.
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
12 years ago
jules
1bf9f441e6
Fix for listbox mousewheeling when using select-on-mouse-move mode.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
e3537ba57a
Cleaned out some defunct ComponentBuilder code.
12 years ago
jules
cd5893d6e8
Removed the Scrollbar's setButtonVisibility method, and instead added LookAndFeel::areScrollbarButtonsVisible()
13 years ago
jules
87175c91f5
Changed the signature of MouseListener::mouseWheelMove() to take a struct MouseWheelDetails rather than raw floats. This will require updates in source code that uses mouse-wheel callbacks, but provides some new abilities, including a flag to indicate inverted wheel direction.
13 years ago
jules
15375dd223
Internal work on the ComponentBuilder system.
13 years ago
jules
cd0683ef4d
Tidied up a few return types.
13 years ago
jules
c555cbb9cb
Tweaks to Viewport and roundToInt()
13 years ago
Julian Storer
c65c07312d
Small fixes for Viewport and Identifier.
13 years ago