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"
|
|
|
|
|
2020-06-13 16:52:16 +02:00
|
|
|
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:
|
2020-06-13 16:52:16 +02:00
|
|
|
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:
|
2020-06-13 16:52:16 +02:00
|
|
|
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
|