LMMS
Loading...
Searching...
No Matches
Fl_Osc_TSlider.H
Go to the documentation of this file.
1/*
2 ZynAddSubFX - a software synthesizer
3
4 Fl_Osc_TSlider.H - Variant Of OSC Based Slider
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#ifndef FL_OSC_TSLIDER_H
13#define FL_OSC_TSLIDER_H
14#include "Fl_Osc_Slider.H"
15#include "TipWin.h"
16
17
19{
20 public:
21 Fl_Osc_TSlider(int x, int y, int w, int h, const char *label = 0);
23 int handle(int event);
24 void set_transform(float (*transformer)(float));
25 void set_rounding(unsigned int digits = 0);
26 private:
27 class TipWin * tipwin;
28 float (*transform)(float);
29};
30#endif
Fl_Osc_Slider(int X, int Y, int W, int H, const char *label=NULL)
Definition Fl_Osc_Slider.cpp:28
~Fl_Osc_TSlider()
Definition Fl_Osc_TSlider.cpp:32
class TipWin * tipwin
Definition Fl_Osc_TSlider.H:27
void set_transform(float(*transformer)(float))
Definition Fl_Osc_TSlider.cpp:71
float(* transform)(float)
Definition Fl_Osc_TSlider.H:28
Fl_Osc_TSlider(int x, int y, int w, int h, const char *label=0)
Definition Fl_Osc_TSlider.cpp:22
int handle(int event)
Definition Fl_Osc_TSlider.cpp:44
void set_rounding(unsigned int digits=0)
Definition Fl_Osc_TSlider.cpp:38
Definition TipWin.h:20
UINT_D64 w
Definition inflate.c:942
int y
Definition inflate.c:1588
unsigned x[BMAX+1]
Definition inflate.c:1586
uch h[RAND_HEAD_LEN]
Definition crypt.c:459