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

#include <EnvelopeFreeEdit.h>

Inheritance diagram for EnvelopeFreeEdit:
Fl_Osc_Widget

Public Member Functions

 EnvelopeFreeEdit (int x, int y, int w, int h, const char *label=0)
void init (void)
void setpair (Fl_Box *pair_)
int handle (int event) override
void draw (void) override
void OSC_raw (const char *msg) override
void update (void) override
void rebase (std::string new_base) override
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)
void oscMove (std::string new_ext)
void oscMove (std::string old_loc, std::string new_loc)

Public Attributes

int lastpoint
char Penvpoints
Public Attributes inherited from Fl_Osc_Widget
std::string loc
std::string ext
Fl_Osc_Interfaceosc

Private Member Functions

int getpointx (int n) const
int getpointy (int n) const
int getnearest (int x, int y) const
float getdt (int i) const

Private Attributes

Fl_Box * pair
int currentpoint
int cpx
int cpy
int cpdt
int cpval
char Penvdt [MAX_ENVELOPE_POINTS]
char Penvval [MAX_ENVELOPE_POINTS]
char Penvsustain
int button_state
int mod_state

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ EnvelopeFreeEdit()

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

Member Function Documentation

◆ draw()

void EnvelopeFreeEdit::draw ( void )
override

◆ getdt()

float EnvelopeFreeEdit::getdt ( int i) const
private

◆ getnearest()

int EnvelopeFreeEdit::getnearest ( int x,
int y ) const
private

◆ getpointx()

int EnvelopeFreeEdit::getpointx ( int n) const
private

◆ getpointy()

int EnvelopeFreeEdit::getpointy ( int n) const
private

◆ handle()

int EnvelopeFreeEdit::handle ( int event)
override

◆ init()

void EnvelopeFreeEdit::init ( void )

◆ OSC_raw()

void EnvelopeFreeEdit::OSC_raw ( const char * msg)
overridevirtual

Reimplemented from Fl_Osc_Widget.

◆ rebase()

void EnvelopeFreeEdit::rebase ( std::string new_base)
overridevirtual

Reimplemented from Fl_Osc_Widget.

◆ setpair()

void EnvelopeFreeEdit::setpair ( Fl_Box * pair_)

◆ update()

void EnvelopeFreeEdit::update ( void )
overridevirtual

Reimplemented from Fl_Osc_Widget.

Member Data Documentation

◆ button_state

int EnvelopeFreeEdit::button_state
private

◆ cpdt

int EnvelopeFreeEdit::cpdt
private

◆ cpval

int EnvelopeFreeEdit::cpval
private

◆ cpx

int EnvelopeFreeEdit::cpx
private

◆ cpy

int EnvelopeFreeEdit::cpy
private

◆ currentpoint

int EnvelopeFreeEdit::currentpoint
private

◆ lastpoint

int EnvelopeFreeEdit::lastpoint

◆ mod_state

int EnvelopeFreeEdit::mod_state
private

◆ pair

Fl_Box* EnvelopeFreeEdit::pair
private

◆ Penvdt

char EnvelopeFreeEdit::Penvdt[MAX_ENVELOPE_POINTS]
private

◆ Penvpoints

char EnvelopeFreeEdit::Penvpoints

◆ Penvsustain

char EnvelopeFreeEdit::Penvsustain
private

◆ Penvval

char EnvelopeFreeEdit::Penvval[MAX_ENVELOPE_POINTS]
private

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