reVeno/Source/Veno/GUI/LookAndFeel/FlatLook.h

37 lines
1.3 KiB
C
Raw Normal View History

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"
class FlatLook : public LookAndFeel_V4
{
2020-04-03 13:23:19 +02:00
private:
public:
2020-07-09 16:31:33 +02:00
FlatLook() = default;
~FlatLook() override = default;
2020-06-14 21:14:28 +02:00
void drawButtonBackground (Graphics& graphics, Button& button, const Colour& backgroundColour,
bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
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:
2020-07-09 16:31:33 +02:00
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FlatLook);
2020-04-03 13:23:19 +02:00
};
#endif //VENO_FLATLOOK_H