28 lines
674 B
C
28 lines
674 B
C
|
//
|
||
|
// Created by versustune on 14.06.20.
|
||
|
//
|
||
|
|
||
|
#ifndef VENO_VENOCOLOUR_H
|
||
|
#define VENO_VENOCOLOUR_H
|
||
|
|
||
|
#include "JuceHeader.h"
|
||
|
#include "../BaseComponent.h"
|
||
|
#include "../../Theme/Theme.h"
|
||
|
|
||
|
class VeNoColour : public BaseComponent, ChangeListener
|
||
|
{
|
||
|
private:
|
||
|
ThemeColour m_index;
|
||
|
std::unique_ptr<ColourSelector> m_selector;
|
||
|
std::string m_name;
|
||
|
public:
|
||
|
explicit VeNoColour (const std::string& processId, ThemeColour index);
|
||
|
~VeNoColour () override;
|
||
|
void setName(std::string name);
|
||
|
void resized () override;
|
||
|
void paint (Graphics& g) override;
|
||
|
private:
|
||
|
void changeListenerCallback (ChangeBroadcaster* source) override;
|
||
|
};
|
||
|
#endif //VENO_VENOCOLOUR_H
|