13#include <FL/fl_draw.H>
42 int sxx =
x(), syy =
y(), sww =
w(), shh =
h();
43 int bxx =
x(), byy =
y(), bww =
w(), bhh =
h();
45 bww = 35; sxx += 35; sww -= 35;
47 syy += 25; bhh = 25; shh -= 25;
49 if (damage()&FL_DAMAGE_ALL) draw_box(
box(),sxx,syy,sww,shh,color());
50 Fl_Osc_Slider::draw(sxx+Fl::box_dx(
box()),
51 syy+Fl::box_dy(
box()),
52 sww-Fl::box_dw(
box()),
53 shh-Fl::box_dh(
box()));
54 draw_box(
box(),bxx,byy,bww,bhh,color());
59 fl_draw(buf, bxx, byy, bww, bhh, FL_ALIGN_CLIP);
64 if (ev == FL_PUSH && Fl::visible_focus()) {
68 int sxx =
x(), syy =
y(), sww =
w(), shh =
h();
76 sxx+Fl::box_dx(
box()),
77 syy+Fl::box_dy(
box()),
78 sww-Fl::box_dw(
box()),
79 shh-Fl::box_dh(
box()));
Fl_Osc_Slider(int X, int Y, int W, int H, const char *label=NULL)
Definition Fl_Osc_Slider.cpp:28
int handle(int ev, int X, int Y, int W, int H)
Definition Fl_Osc_Slider.cpp:90
void init(std::string, char type='f')
Definition Fl_Osc_Slider.cpp:36
static void _cb(Fl_Widget *w, void *)
Definition Fl_Osc_Slider.cpp:252
int handle(int)
Definition Fl_Osc_VSlider.cpp:62
Fl_Fontsize textsize() const
Definition Fl_Osc_VSlider.H:37
void init(std::string, char type='i')
Definition Fl_Osc_VSlider.cpp:36
Fl_Color textcolor() const
Definition Fl_Osc_VSlider.H:39
Fl_Font textfont() const
Definition Fl_Osc_VSlider.H:35
virtual ~Fl_Osc_VSlider(void)
Definition Fl_Osc_VSlider.cpp:33
Fl_Fontsize textsize_
Definition Fl_Osc_VSlider.H:25
Fl_Osc_VSlider(int X, int Y, int W, int H, const char *label=NULL)
Definition Fl_Osc_VSlider.cpp:23
Fl_Color textcolor_
Definition Fl_Osc_VSlider.H:26
void draw(void)
Definition Fl_Osc_VSlider.cpp:41
Fl_Font textfont_
Definition Fl_Osc_VSlider.H:24
UINT_D64 w
Definition inflate.c:942
int y
Definition inflate.c:1588
unsigned x[BMAX+1]
Definition inflate.c:1586
#define X(str)
Definition juce_LV2Common.h:197
uch h[RAND_HEAD_LEN]
Definition crypt.c:459
_WDL_CSTRING_PREFIX void INT_PTR const char * format
Definition wdlcstring.h:263