1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-31 03:00:05 +00:00
Commit graph

137 commits

Author SHA1 Message Date
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
jules
da2b10ada6 Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'. 2019-01-18 09:09:06 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
hogliux
008b7a9ab2 Re-structured the low-level Android native code
Please see the forum post "Re-structuring of JUCE’s low-level Android code" and the BREAKING-CHANGES.txt for more information.
2018-11-13 12:33:40 +00:00
Tom Poole
38fd441a95 Fixed a bug setting PopupMenu parents via a LookAndFeel 2018-09-03 11:57:39 +01:00
Tom Poole
493591a7ef Cleaned up some doc comments 2018-08-29 10:56:56 +01:00
ed
b78e63aa02 Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining() 2018-08-10 16:37:52 +01:00
ed
82a0dceaa5 Set the parent component of a PopupMenu submenu in showSubMenuFor() 2018-08-10 10:16:11 +01:00
jules
a658ad41de Removed some erroneous noexcepts 2018-07-25 12:18:43 +01:00
Tom Poole
c5862246b7 Prevented some implicit casts to bool using JUCE_STRICT_REFCOUNTEDPOINTER 2018-07-17 09:10:43 +01:00
ed
511e01c400 Ensure that the target point in MenuWindow::getParentArea() is always in terms of screen coordinates 2018-07-16 16:15:36 +01:00
jules
1e6bbb8da9 Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this 2018-07-03 11:51:13 +01:00
ed
6ee59ed6db Fixed a crash that could occur when dismissing all active PopupMenus 2018-06-29 14:41:06 +01:00
Tom Poole
071af1c285 Fixed an issue cleaning up a PopupMenu LookAndFeel 2018-06-28 10:51:44 +01:00
jules
49aa9c9db4 Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use 2018-06-26 14:06:52 +01:00
ed
481221a256 Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers() 2018-05-09 10:04:27 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
ed
d3c9577668 Take the scale factor of a PopupMenu into account when resizing the window in ensureItemIsVisible() 2018-04-05 16:13:16 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
Tom Poole
ff474962fd Added an option to set a preferred popup direction 2018-03-02 16:44:45 +00:00
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
9046453701 Added a showMenuAsync() method to PopupMenu that takes a std::function 2018-01-08 10:17:32 +00:00
jules
a7e3339f86 Got rid of some very old legacy VC6 workaround typedefs 2018-01-03 09:25:19 +00:00
ed
34959be226 Fixed a bug where PopupMenus with a scale factor applied were not appearing in the correct position 2017-12-07 12:07:52 +00:00
jules
a586966c65 Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated! 2017-11-28 16:18:40 +00:00
hogliux
e2a0759ab3 Added a BurgerMenu component which will display your menus and menu items in a "burger" menu 2017-11-10 18:18:48 +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
jules
fe8ba4c02f Made the PopupMenu use the L+F to set the border it uses for custom components, and improved the layout of menus with icons 2017-10-27 16:05:31 +01:00
jules
31e454f284 Avoided triggering an assertion when focus is returned by a popup menu to a hidden component 2017-09-27 11:48:40 +01:00
jules
9e356135a1 Added a minimum number of columns option to the PopupMenu, and did a bit of internal modernising on the class's internals 2017-09-20 10:32:18 +01:00
ed
71d10e750a Fixed a bug where PopupMenus were being dismissed when opening a submenu using touch input 2017-09-12 10:59:51 +01:00
ed
9f4648f856 Fixed some issues when using a touchscreen to interact with PopupMenus 2017-09-11 17:12:31 +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
ed
8b81379c46 Fixed a bug where PopupMenus with a border size of 0 were being immediately dismissed 2017-08-22 16:48:35 +01:00
ed
37cf001599 Reduced the minimum height of PopupMenu ItemComponent from 2 to 1 2017-08-16 10:52:48 +01:00
ed
b7a7563a59 Added a virtual getPopupMenuBorderSize() to PopupMenu::LookAndFeelMethods 2017-08-16 10:50:42 +01:00
hogliux
2fbbb59fef PopupMenu: Minor documentation fix 2017-08-14 10:43:35 +01:00
hogliux
b574d4530e Fixed an issue where the scale of a PopupMenu would be incorrect when no targetComponent was specifiefd 2017-07-03 16:38:12 +01:00
hogliux
35b08ecec2 Fixed an issue where submenus would not be scaled according to the transform used for the parent menu 2017-07-02 20:22:04 +01:00
hogliux
2483c80529 Scale PopupMenus with the AffineTransform and scaling factor of their target components (see BREAKING-CHANGES.txt) 2017-06-29 18:01:52 +01:00
jules
f866b4ff5e Fixed a problem where popup menus triggered from the taskbar could get stuck, and tidied up some internal PopupMenu code 2017-06-19 16:27:47 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
ed
ee6411ea13 Fixed a typo in MenuBarModel 2017-03-23 14:59:53 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 2017-02-01 17:18:06 +00:00
hogliux
00c0671c6b Added sub-menu support to ComboBoxes 2016-11-21 16:36:32 +00:00
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. 2016-09-16 12:03:02 +01:00
jules
e74849ccfb Fixed a missing call to lf.preparePopupMenuWindow in PopupMenu 2016-09-05 09:52:56 +01:00
jules
151e3f769e Added a LookAndFeel method preparePopupMenuWindow() to allow the window component to be customised before being displayed 2016-09-04 12:37:53 +01:00