reuk
84eed04a59
Component: Add function to clear all cached image resources
...
In the DemoRunner, switching to and fro between the Settings tab and
the Demo tab displaying the OpenGL demo could lead to
GL_INVALID_OPERATION errors. This is because closing the demo shuts
down the GL context, destroying resources such as framebuffers. If any
Image objects backed by framebuffers outlive the context, they will be
invalidated. Component effect images are especially likely to hold onto
invalid framebuffer references.
With this change in place, images cached by Components will be
invalidated when the attached GL context goes out of scope, and will be
recreated when the new context is created.
2025-05-19 13:32:52 +01:00
Oli
4ba01a80a0
Component: Use Context appropriate ImageType for temporary images
...
Co-authored-by: Matt Gonzalez <matt@echoaudio.com>
2025-04-24 13:58:23 +01:00
attila
7f4176e259
Fix potential crash in Ableton Live when dismissing the plugin window with Esc
...
The crash could be reproduced with a WebBrowserComponent, but it was not
the root cause of it.
2025-03-27 17:41:18 +01:00
reuk
95d416ab77
DropShadow: Draw shadows for paths at correct scale to avoid stretching the blurred bitmap
2025-02-06 18:22:33 +00:00
reuk
95610e6c5e
Component: Add more stringent checks for deleted components when handling mouse events
2025-02-06 18:22:32 +00:00
reuk
55e5e2082c
Image: Add new backup-extensions interface to support images with no main-memory backup
2025-01-23 12:21:33 +00:00
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
Anthony Nicholls
e9b3fc8714
FocusHelpers: Reduce code nesting
2024-08-01 16:10:09 +00:00
Anthony Nicholls
dc0dde7fe9
FocusTraverser: Make more things const
2024-08-01 16:10:09 +00:00
reuk
592df26ff0
ComponentHelpers: Refactor clipObscuredRegions
2024-05-20 12:49:55 +01:00
reuk
83dcaf3c39
Build: Fix Windows DLL build, which requires inheriting publicly from AsyncUpdater
2024-05-08 15:37:22 +01:00
reuk
73588879a4
D2D: Revert StandardCachedComponentImage
2024-04-29 16:08:24 +01:00
reuk
19061e6d17
Direct2D: Add initial support
2024-04-18 14:16:02 +01:00
reuk
4533077b75
LookAndFeel: Allow specifying a default typeface metrics kind to use
2024-04-18 14:16:00 +01:00
reuk
4f2c287f9b
Font: Deprecate old Font constructors
2024-04-18 14:16:00 +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
c474cb2469
Docs: Fix some missing Doxygen tags
2023-10-20 11:22:47 +01:00
reuk
384ddee376
macOS: Correctly populate display safeAreaInsets on macOS
2023-10-19 11:32:31 +01:00
Tom Poole
4153d59e39
Formatting
2023-10-02 15:42:20 +01:00
Tom Poole
9b041f3d74
Add a base clang-tidy configuration
2023-09-18 11:24:19 +01:00
reuk
53bfd5b16d
WindowUtils: Make areThereAnyAlwaysOnTopWindows() public
2023-05-04 18:42:41 +01:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2023-04-04 19:55:11 +01:00
reuk
9d1a6a3b28
ContentSharer: Update interface to return safer ScopedMessageBox instances
2023-03-27 11:54:37 +01:00
attila
557d690ff4
MouseInputSource: Fix stuck hover state on touch screens
2023-03-23 19:48:36 +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