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

84 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
jules
a4526eae3f Avoided a couple of warnings about missing override specifiers. 2015-07-08 11:12:05 +01:00
jules
3e947f1612 Fixes for unused parameter warnings when modal loops are disabled. 2015-03-05 14:38:42 +00:00
jules
e60aa581d6 Added some missing semi-colons. 2014-10-14 11:48:16 +01:00
jules
43d4c1ea2f Added LookAndFeel method drawPopupMenuSectionHeader() 2014-09-16 12:29:34 +01:00
jules
6c61dbb68e Refactored the internal mouse-handling code to use floating point coords. This shouldn't affect much user code, but a few methods in MouseInputSource have now changed to use Point<float> rather than Point<int>. 2014-06-14 13:06:53 +01:00
jules
28dbc839b1 Refactored LookAndFeel::drawPopupMenuItem() and some PopupMenu methods to allow menus to use Drawables for their icons as well as just Images. 2013-11-24 19:30:04 +00:00
jules
12a8dd3092 Avoided some pedantic GCC warnings. 2013-11-03 19:16:52 +00:00
jules
57db92b276 Cleaned up some ints that should have been CommandIDs. 2013-09-17 18:45:48 +01:00
jules
be1d5253ee Moved some mouse code out of Desktop class. Made the MouseInputSource class pass-by-value. 2013-09-03 10:44:55 +01:00
jules
525370ff8a Refactored PopupMenu internally to avoid some problems with touch input. 2013-09-02 22:10:09 +01:00
jules
45b56e2e20 Minor clean-ups around the Justification class. 2013-08-20 17:27:41 +01:00
jules
5b25ac6609 Renamed the swapWithArray methods in the array classes to "swapWith" to be more consistent with other swap method naming, and templated the methods for more flexibility. 2013-07-28 11:31:25 +01:00
jules
5918d039ce Added some "override" annotations. 2013-07-08 19:05:14 +01:00
jules
c75a7300f5 Added some 'override' modifiers to overridden methods. 2013-06-23 23:09:52 +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
7ba63768a7 Popupmenu key control wrapping. 2013-05-29 12:16:18 -07:00