123 Commits (bf51d2c076f68fc5a16697c1ea5b51f68d1024a1)

Author SHA1 Message Date
  reuk 327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 5 years ago
  ed 441c88f3b9 macOS: Removed all dynamic_cast type_info warning workarounds which have been fixed in 0dd3b02 5 years ago
  Tom Poole f2e75a8f52 Fixed a popup submenu item selection bug on a right key press 5 years ago
  ed baebb9d1b5 Fixed a dangling pointer deletion when moving PopupMenu submenus 5 years ago
  ed c8c14516d5 Scale mouse position when calculating parent area for PopupMenu window 5 years ago
  ed c8bceee365 macOS: Fixed some spurious dynamic_cast warnings when loading dynamic libraries 5 years ago
  ed a54da0b832 Fixed some more typos 5 years ago
  ed e18f6da884 Added setImage() builder methods to PopupMenu::Item 5 years ago
  reuk 635e070cba Added method PopupMenu::CustomComponent::getItem() to give them access to item details 5 years ago
  ed 3a4c0f9012 Ensure that PopupMenu section headers aren't selectable 5 years ago
  ed 319efc59e0 Ensure that PopupMenu section headers aren't selectable 5 years ago
  reuk 76f3aec386 PopupMenu: Pass unique_ptr rather than raw pointers to convey ownership semantics 5 years ago
  Tom Poole 79d3e8b3f5 Windows: Removed some VS2013 workarounds 5 years ago
  jules 69c3474012 Added method PopupMenu::Options::withDeletionCheck() to help avoid dangling pointers when triggering async menus 5 years ago
  jules cd4aba9e43 PopupMenu modernisation: Improved the PopupMenu::Item class to make it easy to build items by chaining calls together. 6 years ago
  jules 0367d5c3a9 Added some PopupMenu::addItem overloads which let you attach a lambda callback to be invoked for a menu item. 6 years ago
  jules a97c4a9139 More std::unique_ptr modernisation - changed functions that used to return raw Drawable* pointers to use it 6 years ago
  ed a90940283c Fixed an issue where PopupMenus with a parent component were not being dismissed by dismissAllActiveMenus() 6 years ago
  ed 2539f4d24f DRY-ed some code by adding a static Component::getApproximateScaleFactorForComponent() method 6 years ago
  jules cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 6 years ago
  hogliux 008b7a9ab2 Re-structured the low-level Android native code 6 years ago
  Tom Poole 38fd441a95 Fixed a bug setting PopupMenu parents via a LookAndFeel 6 years ago
  Tom Poole 493591a7ef Cleaned up some doc comments 6 years ago
  ed b78e63aa02 Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining() 6 years ago
  ed 82a0dceaa5 Set the parent component of a PopupMenu submenu in showSubMenuFor() 6 years ago
  ed 511e01c400 Ensure that the target point in MenuWindow::getParentArea() is always in terms of screen coordinates 6 years ago
  jules 1e6bbb8da9 Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this 6 years ago
  ed 6ee59ed6db Fixed a crash that could occur when dismissing all active PopupMenus 6 years ago
  Tom Poole 071af1c285 Fixed an issue cleaning up a PopupMenu LookAndFeel 6 years ago
  jules 49aa9c9db4 Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use 6 years ago
  ed 481221a256 Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers() 7 years ago
  Tom Poole ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 7 years ago
  ed d3c9577668 Take the scale factor of a PopupMenu into account when resizing the window in ensureItemIsVisible() 7 years ago
  Tom Poole ff474962fd Added an option to set a preferred popup direction 7 years ago
  jules 1a60fa9765 More ScopedPointer/unique_ptr compatibility work 7 years ago
  jules 48a5fbd333 Another batch of ScopedPointer cleanups 7 years ago
  ed 9046453701 Added a showMenuAsync() method to PopupMenu that takes a std::function 7 years ago
  ed 34959be226 Fixed a bug where PopupMenus with a scale factor applied were not appearing in the correct position 7 years ago
  hogliux e2a0759ab3 Added a BurgerMenu component which will display your menus and menu items in a "burger" menu 7 years ago
  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) 7 years ago
  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 7 years ago
  jules 31e454f284 Avoided triggering an assertion when focus is returned by a popup menu to a hidden component 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
  ed 71d10e750a Fixed a bug where PopupMenus were being dismissed when opening a submenu using touch input 7 years ago
  ed 9f4648f856 Fixed some issues when using a touchscreen to interact with PopupMenus 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 8b81379c46 Fixed a bug where PopupMenus with a border size of 0 were being immediately dismissed 7 years ago
  ed 37cf001599 Reduced the minimum height of PopupMenu ItemComponent from 2 to 1 7 years ago
  ed b7a7563a59 Added a virtual getPopupMenuBorderSize() to PopupMenu::LookAndFeelMethods 7 years ago
  hogliux b574d4530e Fixed an issue where the scale of a PopupMenu would be incorrect when no targetComponent was specifiefd 7 years ago