reVeno/Source/Veno/GUI/Components/LCD/SidebarLCD.h

29 lines
611 B
C
Raw Normal View History

2020-06-13 10:56:20 +02:00
//
// Created by versustune on 11.06.20.
//
#ifndef VENO_SIDEBARLCD_H
#define VENO_SIDEBARLCD_H
#include "JuceHeader.h"
#include "../BaseComponent.h"
#include "Waveforms.h"
class SidebarLCD : public BaseComponent
{
2020-06-13 10:56:20 +02:00
private:
int m_innerX = 5;
int m_innerY = 5;
int m_width = m_innerX * 2;
public:
explicit SidebarLCD (const std::string& process_id);
~SidebarLCD ();
void resized () override;
void paint (Graphics& g) override;
2020-06-13 10:56:20 +02:00
protected:
void drawHeadline (Graphics& g);
void drawFooter (Graphics& g);
2020-06-13 10:56:20 +02:00
std::unique_ptr<Waveforms> waveform;
};
#endif //VENO_SIDEBARLCD_H