1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-04 03:40:07 +00:00
Commit graph

114 commits

Author SHA1 Message Date
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
hogliux
b936786f80 Remove the recently added shouldReleaseFocusOnMainMenuBarAccess flag and replace with something less intrusive 2016-08-09 09:26:29 +01:00
hogliux
26b6f01ce3 Replace all "zeros" with "nullptr" in code documentation when referring to a pointer value 2016-08-03 09:43:07 +01:00
jules
a700774d6f Tidied up a comment 2016-07-05 16:48:51 +01:00
jules
ed67e40b8d Added a customisable callback object to PopupMenu 2016-07-05 16:43:49 +01:00
jules
8b1438a229 Made PopupMenu avoid overwriting a custom shortcut key description with one that comes from a command manager 2016-06-21 14:22:09 +01:00
hogliux
ac9973f185 Add support for creating popup menus inside parent components 2016-05-20 17:08:26 +01:00
jules
12eeadec8b Added some missing 'override's 2016-05-10 08:29:05 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
Timur Doumler
70949aa0c6 Added several new features: support for AudioUnit v3, new simplified JUCE module format, deleted the Introjucer and replaced it by the Projucer, various improvements for exporting of iOS and Android projects. 2016-04-06 18:31:24 +01:00
jules
e04ebc8929 Added missing JUCE_API 2016-03-04 09:04:13 +00:00
jules
6f8b9205a5 Added a shortcut key description field to PopupMenu::Item 2016-03-02 20:36:50 +00:00
jules
e5fd6d6e01 Simplification/refactoring of the PopupMenu class by adding a subclass PopupMenu::Item which holds all the info about an item. You can now use this for more control over adding items and the PopupMenu::MenuItemIterator uses it to return info about existing items. 2016-03-02 18:04:48 +00:00
jules
6f19816cf4 Added another PopupMenu::addItem method for coloured items with drawables 2016-02-05 09:51:51 +00:00
jules
135a1b65de Fixed a typo in the last commit 2016-01-07 11:00:44 +00:00
jules
622add3dc9 Made the PopupMenu keep a weak reference to its LookAndFeel, so that it'll avoid crashing in situations where the L+F is deleted while the menu is still on-screen. 2016-01-07 10:39:10 +00:00
jules
4583fa3fbf Used the ignoreUnused() function to tidy up some old code 2015-12-23 16:27:50 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
15cd46a1de Tidied up some comments 2015-10-12 10:14:08 +01:00
Timur Doumler
0838edd138 Tidied up order of declarations in juce_PopupMenu.h. 2015-09-08 15:11:14 +01:00
Timur Doumler
db078f194d PopupMenu: added option to include an iconToUse to addCommandItem. 2015-08-07 10:14:46 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
Joshua Gerrard
af643bb49d Added default constructor to MenuBarComponent 2015-07-21 10:10:34 +01:00
jules
a4526eae3f Avoided a couple of warnings about missing override specifiers. 2015-07-08 11:12:05 +01:00