MCPcopy Create free account
hub / github.com/amsynth/amsynth / ShapeButton

Method ShapeButton

src/core/gui/MainComponent.cpp:105–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 };
104
105 explicit ShapeButton(const juce::String &name, Shape shape)
106 : juce::ShapeButton(name, juce::Colours::lightgrey, juce::Colours::lightgrey, juce::Colours::white)
107 , shape_(shape) {}
108
109 void paintButton(juce::Graphics &g, bool /*shouldDrawButtonAsHighlighted*/, bool /*shouldDrawButtonAsDown*/) override {
110 juce::Path path;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected