23 lines
657 B
C++
23 lines
657 B
C++
/*
|
|
==============================================================================
|
|
|
|
Dial.h
|
|
Created: 16 Jan 2026 7:16:39pm
|
|
Author: esca
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
#pragma once
|
|
#include "juce_gui_basics/juce_gui_basics.h"
|
|
#include <JuceHeader.h>
|
|
|
|
class DialLook : public juce::LookAndFeel_V4{
|
|
public:
|
|
void drawRotarySlider(juce::Graphics& g, int x, int y, int width, int height, float sliderPos, const float rotaryStartAngle, const float rotaryEndAngle, juce::Slider&) override;
|
|
void setImage();
|
|
private:
|
|
juce::Image bgImg;
|
|
juce::Image rotator;
|
|
};
|