Files
JaySynth/Source/graph_window.h
T
2025-07-31 16:39:38 +02:00

92 lines
2.8 KiB
C++

/*
==============================================================================
This is an automatically generated file created by the Jucer!
Creation date: 18 Sep 2012 6:24:20am
Be careful when adding custom code to these files, as only the code within
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
and re-saved.
Jucer version: 1.12
------------------------------------------------------------------------------
The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-6 by Raw Material Software ltd.
==============================================================================
*/
#ifndef __JUCER_HEADER_GRAPHWINDOW_GRAPHWINDOW_E0AFC61E__
#define __JUCER_HEADER_GRAPHWINDOW_GRAPHWINDOW_E0AFC61E__
//[Headers] -- You can add your own extra header files here --
#include "../JuceLibraryCode/JuceHeader.h"
#include "synth/voice.h"
#include "synth/vco.h"
#include "synth/noise.h"
#include "synth/smooth.h"
#include "synth/vcf.h"
#include "synth/lfo.h"
#include "synth/env.h"
#include "synth/param_scale.h"
//[/Headers]
//==============================================================================
/**
//[Comments]
An auto-generated component, created by the Jucer.
Describe your class and how it works here!
//[/Comments]
*/
class GraphWindow : public Component
{
public:
//==============================================================================
GraphWindow ();
~GraphWindow();
//==============================================================================
//[UserMethods] -- You can add your own custom methods in this section.
void Draw(float minimum, float maximum, param_info_t *pParamInfo);
void SetMarkerX(float x);
float evalCurve(float x);
//[/UserMethods]
void paint (Graphics& g);
void resized();
//==============================================================================
juce_UseDebuggingNewOperator
private:
//[UserVariables] -- You can add your own custom variables in this section.
float frame_width;
float m_min;
float m_max;
float m_markerX;
param_info_t curve;
//[/UserVariables]
//==============================================================================
//==============================================================================
// (prevent copy constructor and operator= being generated..)
GraphWindow (const GraphWindow&);
const GraphWindow& operator= (const GraphWindow&);
};
#endif // __JUCER_HEADER_GRAPHWINDOW_GRAPHWINDOW_E0AFC61E__