1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00
Commit graph

59 commits

Author SHA1 Message Date
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
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
3d74717349 Bit of tidying-up in the Point class, and some spelling fixes in comments. 2013-07-22 13:18:29 +01:00
jules
5a1112ab94 Updated the format of the header include guard macros. 2013-07-17 16:26:35 +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
4bc38109df Documentation and warning fix. 2013-06-05 12:47:25 +01:00
jules
7ba63768a7 Popupmenu key control wrapping. 2013-05-29 12:16:18 -07:00
jules
2dc2109876 Popupmenu keyboard control fix. 2013-05-25 11:06:08 -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
79d26045bb PopupMenu header ID fix. 2013-05-15 11:15:17 -06:00
jules
deb02fdf70 Added calling convention to logAssertion. 2013-04-04 11:41:47 +01:00
jules
2c5bfb952f Minor clean-ups. 2013-03-15 17:48:53 +00:00
jules
d0135d9efc Worked around a GCC compiler bug. Also tidied up a bunch of GCC warnings. 2013-03-08 14:07:51 +00:00
jules
80289de56f Added PopupMenu custom component submenu param. 2013-01-03 18:52:32 +00:00
jules
6f88b7ae60 Minor clean-ups. 2013-01-03 10:29:01 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
c6944afd4c PopupMenu: allowed custom components to have sub-menus. 2012-11-18 14:06:55 +00:00
jules
f13621a78d Added support for native OSX recent files menu - to enable it, see the MenuBarModel::setMacMainMenu() method, and re-save your project using this version of the introjucer. 2012-10-28 18:38:10 +00:00
jules
672dff7c39 Avoided a warning in MSVC. 2012-10-15 17:29:34 +01:00
jules
0a5b3f1ee3 Allowed copying of PopupMenu iterators. 2012-10-13 21:02:04 +01:00
jules
5d7622ade5 Added methods TreeViewItem::sortSubItems() and PopupMenu::MenuItemIterator::addItemTo(). 2012-09-30 13:39:50 +01:00
jules
9239842120 DLL build fix + minor clean-ups. 2012-09-26 14:47:37 +01:00
jules
eea5e74af4 PopupMenu: made submenus inherit look+feel 2012-09-26 13:49:09 +01:00
jules
7141fe39dc Fix for menu bar problem on OSX. 2012-09-21 11:37:22 +01:00
jules
19600a0556 Added clickable sub-menus ability to PopupMenu. 2012-08-09 08:54:54 +01:00
jules
df729be74a Cleaned-up class inheritance visibilities and encapsulation for some internal classes. 2012-07-12 14:10:46 +01:00
jules
591e89cd87 Replaced the badly-named method Array::removeValue() with two new methods: removeFirstMatchingValue() and removeAllInstancesOf(). If you call the old method anywhere, you can just replace any calls with removeFirstMatchingValue(), which does the same job, but whose name makes it clear that not all instances of the value will be removed. 2012-07-07 21:09:10 +01:00
jules
7d8d4b9627 Fixed a juce_core dependency problem. 2012-07-03 11:38:29 +01:00
jules
ec67783251 Fix for disappearing Apple extras menu items when showing native file choosers. 2012-06-14 13:57:38 +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
4e754a838b Changed the constness of the return type of MenuBarModel::getMenuBarNames() and MenuBarModel::getMenuForIndex(). Easy to update your code to handle this, just remove the 'const'. 2012-05-23 21:31:44 +01:00
jules
f401d72b4b Tidied up some minor font issues. 2012-05-21 19:02:37 +01:00
jules
06a4980792 Minor docs fix. 2012-05-18 20:08:39 +01:00
jules
7d4bbd114a New class Desktop::Displays, which now handles all display size information and replaces some methods that were in Desktop. Also now supports display scaling values. See Desktop::getDisplays(). 2012-04-24 13:24:07 +01:00
jules
0e1b6061d5 Minor clean-ups for GL, removed some old VC6 hacks. 2012-04-03 20:25:05 +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
ca17d3dd82 Couple of minor compilation fixes. 2012-01-11 20:49:46 +00:00
jules
34840062ef Made the x and y members public in the Point class. 2011-11-01 21:29:10 +00:00