myLookAndFeel.h (720B)
1 /* 2 ============================================================================== 3 4 Created: 14 Dec 2017 10:16:04am 5 Author: Stefan Remberg 6 7 Modified by keyth72 8 9 ============================================================================== 10 */ 11 12 #pragma once 13 #include "../JuceLibraryCode/JuceHeader.h" 14 15 16 //============================================================================== 17 class myLookAndFeel : public LookAndFeel_V4 18 { 19 20 public: 21 myLookAndFeel(); 22 void setLookAndFeel(Image inputImage); 23 void drawRotarySlider(Graphics& g, int x, int y, int width, int height, float sliderPos, 24 float rotaryStartAngle, float rotaryEndAngle, Slider& slider) override; 25 26 private: 27 Image img; 28 29 };