mirror of
https://codeberg.org/armin/horizont.git
synced 2026-09-01 04:10:46 +02:00
25 lines
1.1 KiB
C
25 lines
1.1 KiB
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <JuceHeader.h>
|
||
|
|
|
||
|
|
class HorizontLookAndFeel : public juce::LookAndFeel_V4
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
HorizontLookAndFeel();
|
||
|
|
|
||
|
|
void drawRotarySlider (juce::Graphics&, int x, int y, int width, int height,
|
||
|
|
float sliderPos, float rotaryStartAngle, float rotaryEndAngle,
|
||
|
|
juce::Slider&) override;
|
||
|
|
|
||
|
|
void drawComboBox (juce::Graphics&, int width, int height, bool isButtonDown,
|
||
|
|
int buttonX, int buttonY, int buttonW, int buttonH, juce::ComboBox&) override;
|
||
|
|
|
||
|
|
void drawPopupMenuBackground (juce::Graphics&, int width, int height) override;
|
||
|
|
|
||
|
|
void drawPopupMenuItem (juce::Graphics&, const juce::Rectangle<int>& area,
|
||
|
|
bool isSeparator, bool isActive, bool isHighlighted, bool isTicked,
|
||
|
|
bool hasSubMenu, const juce::String& text, const juce::String& shortcutKeyText,
|
||
|
|
const juce::Drawable* icon, const juce::Colour* textColour) override;
|
||
|
|
|
||
|
|
void drawTooltip (juce::Graphics&, const juce::String& text, int width, int height) override;
|
||
|
|
};
|