LMMS
Loading...
Searching...
No Matches
Fl_Resonance_Graph Class Reference

#include <Fl_Resonance_Graph.H>

Inheritance diagram for Fl_Resonance_Graph:
Fl_Osc_Widget

Public Member Functions

 Fl_Resonance_Graph (int x, int y, int w, int h, const char *label=0)
virtual ~Fl_Resonance_Graph (void)
void init (Fl_Value_Output *khzvalue_, Fl_Value_Output *dbvalue_)
void draw_freq_line (float freq, int type)
void draw ()
int handle (int event)
void setcbwidget (Fl_Widget *cbwidget, Fl_Widget *applybutton)
void update (void)
void OSC_raw (const char *msg)
Public Member Functions inherited from Fl_Osc_Widget
 Fl_Osc_Widget (void)
 Fl_Osc_Widget (Fl_Widget *self)
 Fl_Osc_Widget (std::string loc, Fl_Osc_Interface *osc)
virtual ~Fl_Osc_Widget (void)
virtual void OSC_value (float)
virtual void OSC_value (bool)
virtual void OSC_value (int)
virtual void OSC_value (char)
virtual void OSC_value (unsigned, void *)
virtual void OSC_value (const char *)
virtual void OSC_value (float x, const char *)
virtual void OSC_value (bool x, const char *)
virtual void OSC_value (int x, const char *)
virtual void OSC_value (char x, const char *)
virtual void OSC_value (unsigned x, void *v, const char *)
virtual void OSC_value (const char *x, const char *)
void oscWrite (std::string path, const char *args,...)
void oscWrite (std::string path)
void oscRegister (const char *path)
virtual void rebase (std::string new_base)
void oscMove (std::string new_ext)
void oscMove (std::string old_loc, std::string new_loc)

Public Attributes

float khzval
Public Attributes inherited from Fl_Osc_Widget
std::string loc
std::string ext
Fl_Osc_Interfaceosc

Private Member Functions

float getfreqx (float x) const
float getfreqpos (float freq) const
float getcenterfreq () const
float getoctavesfreq () const
void setPoint (int idx, int val)

Private Attributes

Fl_Value_Output * khzvalue
Fl_Value_Output * dbvalue
int oldx
int oldy
Fl_Widget * cbwidget
Fl_Widget * applybutton
unsigned char Prespoints [N_RES_POINTS]
char Pcenterfreq
char Poctavesfreq
char PmaxdB

Additional Inherited Members

Protected Member Functions inherited from Fl_Osc_Widget
class Fl_Osc_Panefetch_osc_pane (Fl_Widget *w)

Constructor & Destructor Documentation

◆ Fl_Resonance_Graph()

Fl_Resonance_Graph::Fl_Resonance_Graph ( int x,
int y,
int w,
int h,
const char * label = 0 )

◆ ~Fl_Resonance_Graph()

Fl_Resonance_Graph::~Fl_Resonance_Graph ( void )
virtual

Member Function Documentation

◆ draw()

void Fl_Resonance_Graph::draw ( )

◆ draw_freq_line()

void Fl_Resonance_Graph::draw_freq_line ( float freq,
int type )

◆ getcenterfreq()

float Fl_Resonance_Graph::getcenterfreq ( ) const
private

◆ getfreqpos()

float Fl_Resonance_Graph::getfreqpos ( float freq) const
private

◆ getfreqx()

float Fl_Resonance_Graph::getfreqx ( float x) const
private

◆ getoctavesfreq()

float Fl_Resonance_Graph::getoctavesfreq ( ) const
private

◆ handle()

int Fl_Resonance_Graph::handle ( int event)

◆ init()

void Fl_Resonance_Graph::init ( Fl_Value_Output * khzvalue_,
Fl_Value_Output * dbvalue_ )

◆ OSC_raw()

void Fl_Resonance_Graph::OSC_raw ( const char * msg)
virtual

Reimplemented from Fl_Osc_Widget.

◆ setcbwidget()

void Fl_Resonance_Graph::setcbwidget ( Fl_Widget * cbwidget,
Fl_Widget * applybutton )

◆ setPoint()

void Fl_Resonance_Graph::setPoint ( int idx,
int val )
private

◆ update()

void Fl_Resonance_Graph::update ( void )
virtual

Reimplemented from Fl_Osc_Widget.

Member Data Documentation

◆ applybutton

Fl_Widget * Fl_Resonance_Graph::applybutton
private

◆ cbwidget

Fl_Widget* Fl_Resonance_Graph::cbwidget
private

◆ dbvalue

Fl_Value_Output* Fl_Resonance_Graph::dbvalue
private

◆ khzval

float Fl_Resonance_Graph::khzval

◆ khzvalue

Fl_Value_Output* Fl_Resonance_Graph::khzvalue
private

◆ oldx

int Fl_Resonance_Graph::oldx
private

◆ oldy

int Fl_Resonance_Graph::oldy
private

◆ Pcenterfreq

char Fl_Resonance_Graph::Pcenterfreq
private

◆ PmaxdB

char Fl_Resonance_Graph::PmaxdB
private

◆ Poctavesfreq

char Fl_Resonance_Graph::Poctavesfreq
private

◆ Prespoints

unsigned char Fl_Resonance_Graph::Prespoints[N_RES_POINTS]
private

The documentation for this class was generated from the following files: