LMMS
Loading...
Searching...
No Matches
plugins
CarlaBase
carla
source
native-plugins
external
zynaddsubfx
UI
PartNameButton.cpp
Go to the documentation of this file.
1
/*
2
ZynAddSubFX - a software synthesizer
3
4
PartNameButton.cpp - OSC Renamable Button
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
#include "
PartNameButton.h
"
13
14
PartNameButton::PartNameButton
(
int
X
,
int
Y,
int
W,
int
H,
const
char
*label)
15
:Fl_Button(
X
,Y,W,H,label),
Fl_Osc_Widget
(this)
16
{
17
}
18
19
void
PartNameButton::OSC_value
(
const
char
*label_)
20
{
21
the_string
= label_;
22
label(
the_string
.c_str());
23
redraw();
24
}
PartNameButton.h
Fl_Osc_Widget::Fl_Osc_Widget
Fl_Osc_Widget(void)
Definition
Fl_Osc_Widget.cpp:16
PartNameButton::PartNameButton
PartNameButton(int X, int Y, int W, int H, const char *label=NULL)
Definition
PartNameButton.cpp:14
PartNameButton::the_string
std::string the_string
Definition
PartNameButton.h:24
PartNameButton::OSC_value
virtual void OSC_value(const char *)
Definition
PartNameButton.cpp:19
X
#define X(str)
Definition
juce_LV2Common.h:197
Generated on
for LMMS by
1.16.1