gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 0d1fd4c583cacfbcabccc314ccce1e618b02565a
parent d93ac63e900860e10969cda764c9526f41de448d
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Wed, 20 Nov 2024 22:28:50 +0100

keyPressed needs to be protected, not private, to allow subclasses to override it

Diffstat:
Msource/jucePluginEditorLib/pluginEditor.h | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/source/jucePluginEditorLib/pluginEditor.h b/source/jucePluginEditorLib/pluginEditor.h @@ -95,9 +95,11 @@ namespace jucePluginEditorLib auto& getImagePool() { return m_imagePool; } void parentHierarchyChanged() override; - private: + + protected: bool keyPressed(const juce::KeyPress& _key) override; + private: void onDisclaimerFinished() const; const char* getResourceByFilename(const std::string& _name, uint32_t& _dataSize) override;