diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index bb92e8d..84d7888 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -77,9 +77,15 @@ void ComboBoxLookAndFeel::drawComboBox(juce::Graphics& g, int width, int height, g.fillRoundedRectangle(bounds.getX() + 1.5f, bounds.getY() + 2.0f, bounds.getWidth(), bounds.getHeight(), 4.0f); - // Body gradient — light top to dark bottom for 3D raised look - juce::ColourGradient bodyGrad(juce::Colour(0xff404040), bounds.getCentreX(), bounds.getY(), - juce::Colour(0xff1a1a1a), bounds.getCentreX(), bounds.getBottom(), true); + // Body gradient — spotlight at 88° from horizontal (near-vertical, subtle tilt) + float spotlightAngle = 88.0f * juce::MathConstants::pi / 180.0f; + float sdx = std::cos(spotlightAngle); + float sdy = std::sin(spotlightAngle); + float scx = bounds.getCentreX(); + float scy = bounds.getCentreY(); + float slen = std::hypot(bounds.getWidth(), bounds.getHeight()) * 0.5f; + juce::ColourGradient bodyGrad(juce::Colour(0xff404040), scx - sdx * slen, scy - sdy * slen, + juce::Colour(0xff1a1a1a), scx + sdx * slen, scy + sdy * slen, true); g.setGradientFill(bodyGrad); g.fillRoundedRectangle(bounds, 4.0f); diff --git a/chromaflockbg5.png b/chromaflockbg5.png index 886b044..e353260 100644 Binary files a/chromaflockbg5.png and b/chromaflockbg5.png differ diff --git a/seriouslogo.png b/seriouslogo.png deleted file mode 100644 index 33be0ed..0000000 Binary files a/seriouslogo.png and /dev/null differ