55 Commits (7ed282f3147d80e2f59fe37ae2b7b4b51be52a56)

Author SHA1 Message Date
  Tom Poole ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 7 years ago
  ed cdbc28c18b Add documentation tags 7 years ago
  Tom Poole ff474962fd Added an option to set a preferred popup direction 7 years ago
  ed 9046453701 Added a showMenuAsync() method to PopupMenu that takes a std::function 7 years ago
  jules 9e356135a1 Added a minimum number of columns option to the PopupMenu, and did a bit of internal modernising on the class's internals 7 years ago
  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 7 years ago
  ed b7a7563a59 Added a virtual getPopupMenuBorderSize() to PopupMenu::LookAndFeelMethods 7 years ago
  hogliux 2fbbb59fef PopupMenu: Minor documentation fix 7 years ago
  hogliux 2483c80529 Scale PopupMenus with the AffineTransform and scaling factor of their target components (see BREAKING-CHANGES.txt) 8 years ago
  hogliux b5afccc37c Updated file headers and the README with the JUCE 5 license 8 years ago
  hogliux 2da1bc5f41 Replace include guards with "#pragma once" 8 years ago
  hogliux 9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 8 years ago
  hogliux 00c0671c6b Added sub-menu support to ComboBoxes 8 years ago
  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. 8 years ago
  jules 151e3f769e Added a LookAndFeel method preparePopupMenuWindow() to allow the window component to be customised before being displayed 8 years ago
  hogliux 26b6f01ce3 Replace all "zeros" with "nullptr" in code documentation when referring to a pointer value 8 years ago
  jules a700774d6f Tidied up a comment 9 years ago
  jules ed67e40b8d Added a customisable callback object to PopupMenu 9 years ago
  hogliux ac9973f185 Add support for creating popup menus inside parent components 9 years ago
  jules e04ebc8929 Added missing JUCE_API 9 years ago
  jules 6f8b9205a5 Added a shortcut key description field to PopupMenu::Item 9 years ago
  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. 9 years ago
  jules 6f19816cf4 Added another PopupMenu::addItem method for coloured items with drawables 9 years ago
  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. 9 years ago
  Timur Doumler 0838edd138 Tidied up order of declarations in juce_PopupMenu.h. 9 years ago
  Timur Doumler db078f194d PopupMenu: added option to include an iconToUse to addCommandItem. 9 years ago
  hogliux c7b8e77031 Update copyright notice 9 years ago
  jules 43d4c1ea2f Added LookAndFeel method drawPopupMenuSectionHeader() 10 years ago
  jules 28dbc839b1 Refactored LookAndFeel::drawPopupMenuItem() and some PopupMenu methods to allow menus to use Drawables for their icons as well as just Images. 11 years ago
  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). 11 years ago
  jules 98f17ab4dc A few tweaks to support the MSVC DLL build. 11 years ago
  jules 57db92b276 Cleaned up some ints that should have been CommandIDs. 11 years ago
  jules 525370ff8a Refactored PopupMenu internally to avoid some problems with touch input. 11 years ago
  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. 11 years ago
  jules 3d74717349 Bit of tidying-up in the Point class, and some spelling fixes in comments. 11 years ago
  jules 5a1112ab94 Updated the format of the header include guard macros. 12 years ago
  jules 03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 12 years ago
  jules 4bc38109df Documentation and warning fix. 12 years ago
  jules c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 12 years ago
  jules 80289de56f Added PopupMenu custom component submenu param. 12 years ago
  jules 6f88b7ae60 Minor clean-ups. 12 years ago
  jules 0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 12 years ago
  jules c6944afd4c PopupMenu: allowed custom components to have sub-menus. 12 years ago
  jules 672dff7c39 Avoided a warning in MSVC. 12 years ago
  jules 0a5b3f1ee3 Allowed copying of PopupMenu iterators. 12 years ago
  jules 5d7622ade5 Added methods TreeViewItem::sortSubItems() and PopupMenu::MenuItemIterator::addItemTo(). 12 years ago
  jules 19600a0556 Added clickable sub-menus ability to PopupMenu. 12 years ago
  jules df729be74a Cleaned-up class inheritance visibilities and encapsulation for some internal classes. 13 years ago
  jules 06a4980792 Minor docs fix. 13 years ago
  jules ca17d3dd82 Couple of minor compilation fixes. 13 years ago