mirror of
https://codeberg.org/armin/horizont.git
synced 2026-09-01 12:20:47 +02:00
update
This commit is contained in:
parent
ed28db30a3
commit
6c0d072465
19 changed files with 2212 additions and 0 deletions
25
Source/HorizontLookAndFeel.h
Normal file
25
Source/HorizontLookAndFeel.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue