reuk
80ac9a78a0
Singleton: Add new macros to simplify singleton creation
...
The INLINE macros allow singletons to be declared and defined in one
line, without requiring a separate JUCE_IMPLEMENT_SINGLETON statement.
2024-10-16 10:36:52 +01:00
reuk
d7788100d5
ModalComponentManager: Remove friendship with Component
...
This change makes it slightly easier to audit invariants of
ModalComponentManager, as we can now be certain that only member
functions of ModalComponentManager can access its data members.
2024-05-31 11:43:28 +01:00
Tom Poole
94d98a2b10
Update licensing information
2024-04-16 11:39:35 +01:00
attila
fb14118771
MacOS: Disable window controls for windows created by JUCE when a Component is modal
...
The change does not affect plugin windows, which are created by the
host.
2024-01-17 18:54:37 +01:00
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
2023-10-10 16:12:38 +01:00
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
ed
c66e8baf7e
Whitespace
2021-07-28 16:03:22 +01: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
ed
a5c3b81f82
Use C++14 lambda capture initialisers for initialising deletion checkers
2021-07-12 11:58:29 +01:00
ed
9d0a97c33c
Ensure that modal components set auto-delete when dismissed are properly cleaned up
2020-12-01 19:13:11 +00:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
ed
d510b73cdf
Normalised all whitespace before args in std::function
2020-06-05 09:37:49 +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
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
2019-06-04 16:48:44 +01:00
ed
a4f0b179a3
Added a check for an empty lambda in LambdaCallback::modalStateFinished()
2019-04-29 10:24:56 +01:00
jules
5979288706
Added some macros for asserting when functions are called in an unsafe manner outside the message thread.
2018-10-16 17:39:54 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
jules
84e86a26e6
Tweaked the Component::setBoundsToFit method to take a rectangle, and tidied up a few things inside Component
2017-12-22 12:03:23 +00:00
jules
58a99ff139
Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated!
2017-12-12 16:24:40 +00:00
jules
82d160150c
Bit of tidying up in ModalComponentManager
2017-11-28 15:32:08 +00: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
tpoole
f4046909ab
Added an OS X 10.5 compatible std::function replacement
2017-05-03 15:36:25 +01:00
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
jules
3aee68ec5f
Added a method to create a ModalCallbackFunction from a lambda function
2016-05-10 09:34:40 +01:00
jules
12eeadec8b
Added some missing 'override's
2016-05-10 08:29:05 +01:00
hogliux
c7b8e77031
Update copyright notice
2015-07-22 15:59:34 +01:00
jules
50a55b2e9c
Avoided a few compiler warnings.
2014-12-03 11:45:15 +00:00
jules
95699451b5
Added method ModalComponentManager::cancelAllModalComponents()
2014-04-24 14:20:17 +01:00
jules
042d9f22fc
Various changes to improve the behaviour of kiosk mode for DocumentWindows on win32.
2014-01-27 17:39:21 +00:00
jules
7091121b2c
Avoided some problems when modal components are left open during shutdown.
2014-01-08 10:31:09 +00:00
jules
4fc8fbaef1
Added some more override decorators.
2013-07-10 10:22:33 +01:00
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
2013-06-13 13:17:12 +01:00
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
2012-12-04 21:39:15 +00:00
jules
f24f7b638c
Modal component fix. Minor tweaks.
2012-11-19 23:29:39 +00:00
jules
56bbab1537
(automated whitespace clean-up)
2012-03-20 16:00:06 +00:00
jules
295d125142
Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code.
2012-02-11 14:09:23 +00:00
Julian Storer
cdd1778630
Modal component deletion fix. Minor addition to ComponentAnimator.
2011-08-19 16:33:55 +01:00
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
2011-08-12 10:04:52 +01:00