LMMS
Loading...
Searching...
No Matches
Fl_Osc_Output.H
Go to the documentation of this file.
1/*
2 ZynAddSubFX - a software synthesizer
3
4 Fl_Osc_Output.H - OSC Based Value Output
5 Copyright (C) 2016 Mark McCurry
6
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
11*/
12#pragma once
13#include <FL/Fl_Value_Output.H>
14#include "Fl_Osc_Widget.H"
15
16class Fl_Osc_Output:public Fl_Value_Output, public Fl_Osc_Widget
17{
18 public:
19 Fl_Osc_Output(int x, int y, int w, int h, const char *label = NULL);
20 void init(const char *path);
21 void OSC_value(char);
22 void OSC_value(float);
24
25 void update(void);
26 void callback(Fl_Callback *cb, void *p = NULL);
27
28 float newvalue() const;
29
30 void cb(void);
31 private:
32 float newvalue_;
33 std::pair<Fl_Callback*, void*> cb_data;
34};
#define NULL
Definition CarlaBridgeFormat.cpp:30
void cb(void)
Definition Fl_Osc_Output.cpp:73
float newvalue() const
Definition Fl_Osc_Output.cpp:68
float newvalue_
Definition Fl_Osc_Output.H:32
Fl_Osc_Output(int x, int y, int w, int h, const char *label=NULL)
Definition Fl_Osc_Output.cpp:24
void OSC_value(char)
Definition Fl_Osc_Output.cpp:43
std::pair< Fl_Callback *, void * > cb_data
Definition Fl_Osc_Output.H:33
void update(void)
Definition Fl_Osc_Output.cpp:63
Fl_Osc_Widget(void)
Definition Fl_Osc_Widget.cpp:16
virtual void OSC_value(float)
Definition Fl_Osc_Widget.cpp:41
UINT_D64 w
Definition inflate.c:942
int y
Definition inflate.c:1588
unsigned x[BMAX+1]
Definition inflate.c:1586
RECT const char void(* callback)(const char *droppath))) SWELL_API_DEFINE(BOOL
Definition swell-functions.h:1004
uch * p
Definition crypt.c:594
uch h[RAND_HEAD_LEN]
Definition crypt.c:459
ZCONST uch * init
Definition extract.c:2392