97 Commits (7ed282f3147d80e2f59fe37ae2b7b4b51be52a56)

Author SHA1 Message Date
  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
  hogliux 35b08ecec2 Fixed an issue where submenus would not be scaled according to the transform used for the parent menu 7 years ago
  hogliux 2483c80529 Scale PopupMenus with the AffineTransform and scaling factor of their target components (see BREAKING-CHANGES.txt) 8 years ago
  jules f866b4ff5e Fixed a problem where popup menus triggered from the taskbar could get stuck, and tidied up some internal PopupMenu code 8 years ago
  hogliux b5afccc37c Updated file headers and the README with the JUCE 5 license 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 e74849ccfb Fixed a missing call to lf.preparePopupMenuWindow in PopupMenu 8 years ago
  jules 151e3f769e Added a LookAndFeel method preparePopupMenuWindow() to allow the window component to be customised before being displayed 8 years ago
  jules ed67e40b8d Added a customisable callback object to PopupMenu 8 years ago
  jules 8b1438a229 Made PopupMenu avoid overwriting a custom shortcut key description with one that comes from a command manager 9 years ago
  hogliux ac9973f185 Add support for creating popup menus inside parent components 9 years ago
  jules 12eeadec8b Added some missing 'override's 9 years ago
  jules fb864a5cb1 Corrected some spelling mistakes in comments 9 years ago
  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. 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 135a1b65de Fixed a typo in the last commit 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
  jules 4583fa3fbf Used the ignoreUnused() function to tidy up some old code 9 years ago
  jules 02492b36b9 Lots of small whitespace tweaks. 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 a4526eae3f Avoided a couple of warnings about missing override specifiers. 10 years ago
  jules 3e947f1612 Fixes for unused parameter warnings when modal loops are disabled. 10 years ago
  jules e60aa581d6 Added some missing semi-colons. 10 years ago
  jules 43d4c1ea2f Added LookAndFeel method drawPopupMenuSectionHeader() 10 years ago
  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>. 11 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 12a8dd3092 Avoided some pedantic GCC warnings. 11 years ago