2020-04-03 13:23:19 +02:00
|
|
|
//
|
|
|
|
// Created by versustune on 17.03.20.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef VENO_FLATLOOK_H
|
|
|
|
#define VENO_FLATLOOK_H
|
|
|
|
|
|
|
|
#include "JuceHeader.h"
|
|
|
|
|
2020-06-13 16:52:16 +02:00
|
|
|
class FlatLook : public LookAndFeel_V4
|
|
|
|
{
|
2020-04-03 13:23:19 +02:00
|
|
|
private:
|
|
|
|
public:
|
2020-06-14 21:14:28 +02:00
|
|
|
void drawButtonBackground (Graphics& graphics, Button& button, const Colour& backgroundColour,
|
|
|
|
bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
|
2020-06-29 22:47:45 +02:00
|
|
|
|
|
|
|
void drawRotarySlider(Graphics &graphics, int x, int y, int width, int height, float sliderPosProportional,
|
|
|
|
float rotaryStartAngle, float rotaryEndAngle, Slider &slider) override;
|
|
|
|
|
|
|
|
void drawTextEditorOutline(Graphics &graphics, int width, int height, TextEditor &editor) override;
|
|
|
|
|
|
|
|
void drawToggleButton(Graphics &graphics, ToggleButton &button, bool shouldDrawButtonAsHighlighted,
|
|
|
|
bool shouldDrawButtonAsDown) override;
|
|
|
|
|
|
|
|
void drawTabButton(TabBarButton &button, Graphics &graphics, bool isMouseOver, bool isMouseDown) override;
|
|
|
|
|
|
|
|
void
|
|
|
|
drawComboBox(Graphics &graphics, int width, int height, bool isButtonDown, int buttonX, int buttonY, int buttonW,
|
|
|
|
int buttonH, ComboBox &box) override;
|
|
|
|
|
2020-04-03 13:23:19 +02:00
|
|
|
protected:
|
|
|
|
};
|
|
|
|
#endif //VENO_FLATLOOK_H
|