28414a6af8 
								
									
										
											
								
							
								 
							
						 
						
							
							
								
								Global: Avoid floating-point equality checks where possible  
							
							
								
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cff722a4af 
								
							
								 
							
						 
						
							
							
								
								GUI Basics: Refactor juce_gui_basics file structure  
							
							- Created a new detail namespace
- Moved shared module implementation details into the detail namespace
- Split dependencies so source files only rely on details in the detail namespace
- Removed all code from the juce_gui_basics.cpp file 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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. 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ec861d99e 
								
							
								 
							
						 
						
							
							
								
								Update licensing banners to JUCE 7  
							
							
								
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5938796f43 
								
							
								 
							
						 
						
							
							
								
								Viewport: Fix a scrolling bug when internal components have a transform applied  
							
							
								
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								669782cdf4 
								
							
								 
							
						 
						
							
							
								
								Viewport: Fix a scrolling bug when internal components have a transform applied  
							
							
								
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dea3fe60e4 
								
							
								 
							
						 
						
							
							
								
								Update copyright banners  
							
							
								
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								c802319241 
								
									
										
											
								
							
								 
							
						 
						
							
							
								
								Viewport:  Stop touches on other components from interrupting scrolling  
							
							Previously, a touch on a component outside the Viewport would interrupt
and cancel a scroll gesture inside the Viewport.
Now, the Viewport will respond to all drag events from the input source
that started the drag, allowing the Viewport to be scrolled with one
input source while adjusting other controls with another input source.
The FontsDemo is useful for testing this behaviour, as it has two
Viewports on a single screen, along with some other controls. 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d6ba3b54e 
								
							
								 
							
						 
						
							
							
								
								Accessibility:  Use AccessibilityRole::ignored for UI elements that should not be accessible to screen readers but have accessible children  
							
							
								
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9147a5e535 
								
							
								 
							
						 
						
							
							
								
								Accessibility:  Ignore Viewport content holder  
							
							
								
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								394c4fd475 
								
							
								 
							
						 
						
							
							
								
								Clang:  Fix warnings when building with clang 10  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								009d685179 
								
							
								 
							
						 
						
							
							
								
								Updated all license headers  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								894e7d2bd2 
								
							
								 
							
						 
						
							
							
								
								Updated all license headers  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d16374b14 
								
							
								 
							
						 
						
							
							
								
								Updated all license headers  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								327f817b9b 
								
							
								 
							
						 
						
							
							
								
								Copyrights: Update commercial/gpl headers to be gpl-only  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a54da0b832 
								
							
								 
							
						 
						
							
							
								
								Fixed some more typos  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b65b33280 
								
							
								 
							
						 
						
							
							
								
								Make sure scrollbar listeners are updated in Viewport::updateVisibleArea()  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ecb87a14b0 
								
							
								 
							
						 
						
							
							
								
								Enable Viewport drag-to-scroll functionality by default on devices where touch is the primary input method  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cadac817c6 
								
							
								 
							
						 
						
							
							
								
								Enabled some more warning flags in Xcode, and fixed the problems they caused  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ab4d1708b 
								
							
								 
							
						 
						
							
							
								
								Some misc cleanups, mainly around WeakReference usage and rectangles  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab863a6dc2 
								
							
								 
							
						 
						
							
							
								
								Replaced all usage of ScopedPointer with std::unique_ptr  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45698e40b2 
								
							
								 
							
						 
						
							
							
								
								Make Viewport::DragToScrollListener  more robust and able to cope with the deletion of the original mouseDown event component  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ae28b3d54 
								
							
								 
							
						 
						
							
							
								
								Viewport:  Added the ability to position the scrollbars at the top/left  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a60fa9765 
								
							
								 
							
						 
						
							
							
								
								More ScopedPointer/unique_ptr compatibility work  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48a5fbd333 
								
							
								 
							
						 
						
							
							
								
								Another batch of ScopedPointer cleanups  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6568635216 
								
							
								 
							
						 
						
							
							
								
								Fixed an unused variable warning in last commit  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb5d4ea0a7 
								
							
								 
							
						 
						
							
							
								
								Moved the check for Component viewportIgnoreDragFlag from Viewport::DragToScrollListener::mouseDown and mouseUp to mouseDrag  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2dc9316420 
								
							
								 
							
						 
						
							
							
								
								Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bbf6053544 
								
							
								 
							
						 
						
							
							
								
								Viewport:   enable “scroll on drag” mode by default on Android and iOS.  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8af67182d 
								
							
								 
							
						 
						
							
							
								
								Added method Viewport::recreateScrollbars()  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a4f5663fce 
								
							
								 
							
						 
						
							
							
								
								Added an option for Viewport subclasses to create custom scrollbars. Also modified Viewport::getVerticalScrollBar() and ListBox::getVerticalScrollBar() to return references instead of pointers  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d105d9418a 
								
							
								 
							
						 
						
							
							
								
								Added a minimum velocity property to the ContinuousWithMomentum animated position behaviour and increased the minimum velocity of the viewport to avoid some jitter when the viewport animation is close to stand still  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5afccc37c 
								
							
								 
							
						 
						
							
							
								
								Updated file headers and the README with the JUCE 5 license  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf94ab0e4c 
								
							
								 
							
						 
						
							
							
								
								Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								320c8002da 
								
							
								 
							
						 
						
							
							
								
								Added methods Viewport::canScrollVertically() and Viewport::canScrollHorizontally()  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0747a7067b 
								
							
								 
							
						 
						
							
							
								
								Fixed bug with multi-touch in Viewport when drag is blocked and made some methods const  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e7a933543 
								
							
								 
							
						 
						
							
							
								
								Added viewportIgnoreDragFlag to Component to indicate that mouse drag events should not move the Component's parent Viewport with drag-to-scroll functionality enabled.  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f9d07abdb 
								
							
								 
							
						 
						
							
							
								
								Fixed a bug where modal components in a Viewport with setScrollOnDrag enabled hit jassert (numTouches >= 0) when dismissed  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								035f865099 
								
							
								 
							
						 
						
							
							
								
								Fix steppy scrolling if the content component of a viewport was transformed  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fe8465482 
								
							
								 
							
						 
						
							
							
								
								Added a minor assertion in Viewport.  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b6c3add330 
								
							
								 
							
						 
						
							
							
								
								Added drag-to-scroll functionality to Viewport  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5ca221ee11 
								
							
								 
							
						 
						
							
							
								
								Made Viewport remove the old viewed component when setViewedComponent is called, even if it doesn't own it  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f73c8e0c59 
								
							
								 
							
						 
						
							
							
								
								Fixed bug where Viewport::lookAndFeelChanged() would not update its visibleArea if the call changed its scrollBarThickness.  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7b8e77031 
								
							
								 
							
						 
						
							
							
								
								Update copyright notice  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								21fa6e850e 
								
							
								 
							
						 
						
							
							
								
								Fixed very minor code style imperfection!  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a4f5faec2d 
								
							
								 
							
						 
						
							
							
								
								Fix for a crash when deleting FileBrowserComponent under certain circumstances.  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b67cb2b93 
								
							
								 
							
						 
						
							
							
								
								Workaround to avoid misplaced wheel events when scrolling a viewport than contains wheel-able subcomponents.  
							
							
								
							
							
						 
						11 years ago