1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

90 commits

Author SHA1 Message Date
Anthony Nicholls
cff722a4af GUI Basics: Refactor juce_gui_basics file structure
- Created a new detail namespace
- Moved shared module implementation details into the detail namespace
- Split dependencies so source files only rely on details in the detail namespace
- Removed all code from the juce_gui_basics.cpp file
2023-03-16 08:53:12 +00:00
Tom Poole
2ec861d99e Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
reuk
9e31eb1c6a
LookAndFeel: Update default name for tab/toolbar missing-item button
This button is used to access hidden toolbar items, as well as hidden
tabs. The old "tabs" name was misleading when the button was located in
a toolbar.
2022-02-23 10:56:10 +00:00
ed
e0e8e85d6b Add KeyboardComponentBase class for custom MIDI keyboard components and MPEKeyboardComponent class 2022-01-21 14:44:14 +00:00
ed
461192b355 Add FocusOutline class for indicating Component keyboard focus 2022-01-20 15:46:53 +00:00
ed
b421159be3 Accessibility: Use ignored AccessibilityHandler for slider text boxes to fix keyboard focus/accessible focus sync issue 2021-12-13 12:56:15 +00:00
ed
551d7b9c5b Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options
- Add AlertWindow::show() and showAsync() methods that take a MessageBoxOptions argument
  - Add NativeMessageBox::show() and showAsync() methods that take a MessageBoxOptions argument
  - Update the DialogsDemo to demonstrate the new methods
  - Deprecate AlertWindow::showNativeDialogBox() in favour of the NativeMessageBox methods
  - Pass button strings specified in MesssageBoxOptions to native dialog boxes correctly
  - Use modern TaskDialog on Windows for the native dialog box where available
2021-07-21 16:34:12 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
reuk
d62d3aaa4f
PopupMenu: Add option to specify initially-selected menu item 2021-03-10 16:14:42 +00:00
reuk
d4450ad8ae PopupMenu: Add LookAndFeelMethods for drawing column separators 2020-10-26 17:04:49 +00:00
reuk
f04e11c4bb PopupMenu: Allow theming of popup menu background based on Options
Adds a new `drawPopupMenuBackgroundForOption` member function to
`PopupMenu::LookAndFeelMethods`. By default this will pass through
to `drawPopupMenuBackground`, but it can be overridden in cases
where the background appearance depends on the current `Options`.
2020-10-26 17:04:49 +00:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
ed
dab4741eb3 Tidied up a few bits of graphics code with Graphics::ScopedSaveState 2019-10-21 15:28:02 +01:00
Tom Poole
3c9fe89636 Added a method for changing the corner size of a CallOutBox 2019-07-23 11:11:40 +01:00
jules
a97c4a9139 More std::unique_ptr modernisation - changed functions that used to return raw Drawable* pointers to use it 2019-05-16 15:37:47 +01:00
jules
768139a298 Added some free functions to help make XML parsing less verbose: parseXML() 2018-10-15 16:08:25 +01:00
Tom Poole
02f8a125c4 Added some more places where we can use the BorderSize from a Label's LookAndFeel 2018-09-04 12:47:30 +01:00
Tom Poole
0165e066b2 Added a LookAndFeel method to modify Label borders 2018-09-04 10:11:29 +01:00
ed
fcecf67ab3 Added a drawComboBoxTextWhenNothingSelected() method to ComboBox::LookAndFeelMethods and made the drawing code consistent with drawLabel() 2018-07-27 09:18:19 +01:00
Tom Poole
3c93cfb105 Clarified some Button LookAndFeel parameter names 2018-07-16 12:26:27 +01:00
jules
7ab4d1708b Some misc cleanups, mainly around WeakReference usage and rectangles 2018-07-09 16:00:45 +01:00
hogliux
64be913fa2 Added a LookAndFeel method to customise the options of a ComboBox's PopupMenu 2018-06-26 18:07:31 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
c077d8662e Fixed a compiler warning 2018-03-11 09:24:51 +00:00
ed
10be540f19 Use LookAndFeel::getCrossShape() for SidePanel dismiss button 2018-03-10 09:02:57 +00:00
ed
1af959a423 Implemented changeToggleButtonWidthToFitText() in LookAndFeel_V4 and updated LookAndFeel_V2 to calculate width more accurately 2018-02-05 14:46:51 +00:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
cf804268ef Replaced some old embedded images in the LookAndFeel with SVG 2017-12-20 09:40:03 +00:00
jules
d727f2a35a Added MathConstants::halfPi to improve readability 2017-12-06 12:56:00 +00:00
jules
d0111a4f96 Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi 2017-12-06 11:16:22 +00:00
ed
3eaeb3795e Added a getPropertyPanelSectionHeaderHeight() method to PropertyComponent::LookAndFeelMethods 2017-11-27 10:47:54 +00:00
ed
98f8ee9e04 Added some colourIds to FileBrowserComponent to control current path ComboBox and filename TextEditor colours 2017-11-21 15:06:10 +00:00
ed
f24e59e6ff Added DirectoryContentsDisplayComponent::ColourIds::highlightedTextColourId and removed a line in LookAndFeel_V4::drawFileBrowserRow() that could result in multiple unnecessary repaints 2017-11-20 16:47:38 +00:00
ed
a40f6b3e5e Added ComboBox::ColourIds::focusedOutlineColourId 2017-11-20 16:34:47 +00:00
jules
ccbe16f7df Fix for side-panel close button shape rendering 2017-11-10 17:39:27 +00:00
ed
1b962aa2f2 GUI: Added a SidePanel component class which is useful for auxiliary UI components on mobile 2017-11-09 17:06:28 +00:00
jules
c3a218ab49 Added some methods ColourGradient::vertical and ColourGradient::horizontal, and also some missing move operators for that class 2017-11-08 15:00:47 +00:00
jules
533fd23439 Added a missing override 2017-09-25 10:11:23 +01:00
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 2017-09-08 08:59:55 +01:00
ed
dc8033633c Added a virtual getTabButtonFont() method to TabbedButtonBar::LookAndFeelMethods 2017-08-23 11:55:54 +01:00
hogliux
e65708eb4c Added colour ids to modify the colours of the TableHeaderComponent 2017-08-16 12:35:27 +01:00
ed
b7a7563a59 Added a virtual getPopupMenuBorderSize() to PopupMenu::LookAndFeelMethods 2017-08-16 10:50:42 +01:00
jules
82e9d47416 Tweaked a LookAndFeel_V2 method to avoid a subtle rectangle rendering glitch 2017-08-09 10:40:11 +01:00
jules
3c43707a54 Avoided some assertions drawing very small ToggleButtons 2017-08-07 10:40:25 +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