1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

48 commits

Author SHA1 Message Date
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
ed
6568635216 Fixed an unused variable warning in last commit 2017-11-17 17:28:53 +00:00
ed
eb5d4ea0a7 Moved the check for Component viewportIgnoreDragFlag from Viewport::DragToScrollListener::mouseDown and mouseUp to mouseDrag 2017-11-17 17:25:16 +00:00
jules
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) 2017-11-01 17:41:06 +00:00
Lukasz Kozakiewicz
bbf6053544 Viewport: enable “scroll on drag” mode by default on Android and iOS. 2017-10-19 15:35:33 +02:00
jules
e8af67182d Added method Viewport::recreateScrollbars() 2017-10-06 11:54:55 +01:00
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 2017-09-25 11:22:03 +01:00
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 2017-09-08 08:59:55 +01:00
hogliux
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 2017-08-30 15:53:04 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
bf94ab0e4c Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings 2017-04-21 15:09:35 +01:00
jules
320c8002da Added methods Viewport::canScrollVertically() and Viewport::canScrollHorizontally() 2017-04-21 12:01:44 +01:00
ed
0747a7067b Fixed bug with multi-touch in Viewport when drag is blocked and made some methods const 2017-03-29 15:21:32 +01:00
ed
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. 2017-03-28 15:44:49 +01:00
ed
6f9d07abdb Fixed a bug where modal components in a Viewport with setScrollOnDrag enabled hit jassert (numTouches >= 0) when dismissed 2017-02-13 16:02:08 +00:00
hogliux
035f865099 Fix steppy scrolling if the content component of a viewport was transformed 2016-07-20 17:04:55 +01:00
jules
2fe8465482 Added a minor assertion in Viewport. 2016-03-02 18:05:13 +00:00
jules
b6c3add330 Added drag-to-scroll functionality to Viewport 2016-03-02 12:59:47 +00:00
jules
5ca221ee11 Made Viewport remove the old viewed component when setViewedComponent is called, even if it doesn't own it 2016-02-22 10:13:39 +00:00
Timur Doumler
f73c8e0c59 Fixed bug where Viewport::lookAndFeelChanged() would not update its visibleArea if the call changed its scrollBarThickness. 2016-01-25 12:37:25 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
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. 2015-06-22 20:28:15 +01:00
jules
21fa6e850e Fixed very minor code style imperfection! 2015-03-24 16:58:21 +00:00
jules
a4f5faec2d Fix for a crash when deleting FileBrowserComponent under certain circumstances. 2015-03-24 16:00:58 +00:00
jules
0b67cb2b93 Workaround to avoid misplaced wheel events when scrolling a viewport than contains wheel-able subcomponents. 2014-12-16 16:28:02 +00:00
jules
abd46569ae Fix for viewport shift-scrolling 2014-08-04 09:01:27 +01:00
jules
943d20ba7a Added an option to Viewport to allow mouse-wheel scrolling when scrollbars are disabled. 2014-04-12 21:57:21 +01:00
jules
4d79bed3d1 Added versions of Component::addAndMakeVisible and addChildComponent which take a reference instead of a pointer. 2013-12-23 15:16:38 +00:00
jules
023b9ac6cc Changed ListBox to pass-on left/right key events. 2013-09-05 15:20:59 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
de67718bdb Made Viewport filter out mouse-wheel events using cmd mod. 2013-05-29 14:11:22 -07:00
jules
c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 2013-05-22 23:05:53 -06:00
jules
e3537ba57a Cleaned out some defunct ComponentBuilder code. 2012-07-26 15:32:34 +01:00
jules
2329cfa286 Made the KeyPress (int) constructor explicit, and tightened up the way keypresses are handled by various classes. 2012-07-13 14:50:10 +01:00
jules
cd5893d6e8 Removed the Scrollbar's setButtonVisibility method, and instead added LookAndFeel::areScrollbarButtonsVisible() 2012-07-13 13:36:55 +01:00
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. 2012-05-25 16:42:36 +01:00
jules
56bbab1537 (automated whitespace clean-up) 2012-03-20 16:00:06 +00:00
jules
295d125142 Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code. 2012-02-11 14:09:23 +00:00
jules
36bd285c4b Viewport component listener fix. Minor clean-ups. 2012-01-30 12:59:36 +00:00
jules
15375dd223 Internal work on the ComponentBuilder system. 2012-01-17 18:33:35 +00:00
jules
15252c7227 New method: FileOutputStream::truncate() 2011-11-21 11:41:58 +00:00
jules
84d438aebc Revamped the introjucer's settings page, making it easier to navigate than the old tabbed layout. Also, tweaked Viewport to be more resilient to changes in its content's size. 2011-11-18 13:50:19 +00:00
jules
34840062ef Made the x and y members public in the Point class. 2011-11-01 21:29:10 +00:00
jules
c555cbb9cb Tweaks to Viewport and roundToInt() 2011-10-28 14:17:55 +01:00
jules
58580fc792 OpenGL gradient rendering. Viewport fix. 2011-10-08 14:09:00 +01:00
Julian Storer
c65c07312d Small fixes for Viewport and Identifier. 2011-08-16 10:45:44 +01:00
Julian Storer
b70e0a28d2 First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum.. 2011-08-12 10:04:52 +01:00
Renamed from src/gui/components/layout/juce_Viewport.cpp (Browse further)