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

99 commits

Author SHA1 Message Date
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
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
2fd89b0ac4 A few minor clean-ups. 2014-08-26 10:17:40 +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
bea7b83cb8 Renamed and refactored the LookAndFeel classes. The LookAndFeel class is now an abstract base-class, and there are 3 concrete subclasses you can use. These are LookAndFeel_V1 (replaces OldSchoolLookAndFeel), LookAndFeel_V2 (replaces what was the normal LookAndFeel class) and LookAndFeel_V3 (this is a new style, taken from the Introjucer's L+F). 2013-10-27 22:02:21 +00:00
jules
98f17ab4dc A few tweaks to support the MSVC DLL build. 2013-09-30 09:24:31 +01: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
7f6394478a Stripped out some unnecessary boilerplate includes from juce_gui_basics. 2013-08-24 11:45:55 +01:00
jules
65c155e372 Added a class ContainerDeletePolicy, to allow custom delete operations on objects held by ScopedPointers or OwnedArrays. Also cleaned away a lot of superfluous includes in juce_core files. 2013-08-23 12:08:31 +01:00
jules
45b56e2e20 Minor clean-ups around the Justification class. 2013-08-20 17:27:41 +01:00