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
3 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
reuk
d62d3aaa4f
PopupMenu: Add option to specify initially-selected menu item
4 years ago
reuk
d4450ad8ae
PopupMenu: Add LookAndFeelMethods for drawing column separators
5 years ago
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`.
5 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
5 years ago
ed
009d685179
Updated all license headers
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
5 years ago
ed
dab4741eb3
Tidied up a few bits of graphics code with Graphics::ScopedSaveState
5 years ago
Tom Poole
3c9fe89636
Added a method for changing the corner size of a CallOutBox
5 years ago
jules
a97c4a9139
More std::unique_ptr modernisation - changed functions that used to return raw Drawable* pointers to use it
6 years ago
jules
768139a298
Added some free functions to help make XML parsing less verbose: parseXML()
6 years ago
Tom Poole
02f8a125c4
Added some more places where we can use the BorderSize from a Label's LookAndFeel
6 years ago
Tom Poole
0165e066b2
Added a LookAndFeel method to modify Label borders
6 years ago
ed
fcecf67ab3
Added a drawComboBoxTextWhenNothingSelected() method to ComboBox::LookAndFeelMethods and made the drawing code consistent with drawLabel()
6 years ago
Tom Poole
3c93cfb105
Clarified some Button LookAndFeel parameter names
6 years ago
jules
7ab4d1708b
Some misc cleanups, mainly around WeakReference usage and rectangles
7 years ago
hogliux
64be913fa2
Added a LookAndFeel method to customise the options of a ComboBox's PopupMenu
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
Tom Poole
c077d8662e
Fixed a compiler warning
7 years ago
ed
10be540f19
Use LookAndFeel::getCrossShape() for SidePanel dismiss button
7 years ago
ed
1af959a423
Implemented changeToggleButtonWidthToFitText() in LookAndFeel_V4 and updated LookAndFeel_V2 to calculate width more accurately
7 years ago
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
7 years ago
jules
cf804268ef
Replaced some old embedded images in the LookAndFeel with SVG
7 years ago
jules
d727f2a35a
Added MathConstants::halfPi to improve readability
7 years ago
jules
d0111a4f96
Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi
7 years ago
ed
3eaeb3795e
Added a getPropertyPanelSectionHeaderHeight() method to PropertyComponent::LookAndFeelMethods
7 years ago
ed
98f8ee9e04
Added some colourIds to FileBrowserComponent to control current path ComboBox and filename TextEditor colours
7 years ago
ed
f24e59e6ff
Added DirectoryContentsDisplayComponent::ColourIds::highlightedTextColourId and removed a line in LookAndFeel_V4::drawFileBrowserRow() that could result in multiple unnecessary repaints
7 years ago
ed
a40f6b3e5e
Added ComboBox::ColourIds::focusedOutlineColourId
7 years ago
jules
ccbe16f7df
Fix for side-panel close button shape rendering
7 years ago
ed
1b962aa2f2
GUI: Added a SidePanel component class which is useful for auxiliary UI components on mobile
7 years ago
jules
c3a218ab49
Added some methods ColourGradient::vertical and ColourGradient::horizontal, and also some missing move operators for that class
7 years ago
jules
533fd23439
Added a missing override
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
dc8033633c
Added a virtual getTabButtonFont() method to TabbedButtonBar::LookAndFeelMethods
7 years ago
hogliux
e65708eb4c
Added colour ids to modify the colours of the TableHeaderComponent
7 years ago
ed
b7a7563a59
Added a virtual getPopupMenuBorderSize() to PopupMenu::LookAndFeelMethods
7 years ago
jules
82e9d47416
Tweaked a LookAndFeel_V2 method to avoid a subtle rectangle rendering glitch
7 years ago
jules
3c43707a54
Avoided some assertions drawing very small ToggleButtons
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
bebe32357f
Added a file parameter to the LookAndFeel::drawFileBrowserRow methods
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
ed
182b0e4cb0
Added isProgressBarOpaque() method to ProgressBar::LookAndFeelMethods
8 years ago
hogliux
ee373af944
Added AlertWindow LookAndFeel methods to offer more control on button widths
8 years ago
hogliux
1c2d1479b4
Added LookAndFeel getAlertWindowButtonWidth method to override the width of alert buttons
8 years ago
tpoole
b24aadcc72
Added ColourIds to allow alternate colouring of TreeViewItems
8 years ago