LMMS
Loading...
Searching...
No Matches
calf_plugins::tap_button_param_control Struct Reference

Tap Button. More...

#include <gui_controls.h>

Inheritance diagram for calf_plugins::tap_button_param_control:
calf_plugins::param_control calf_plugins::control_base

Public Member Functions

virtual GtkWidget * create (plugin_gui *_gui, int _param_no)
 called to create a widget for a control
virtual void get ()
 called to transfer the value from control to parameter(s)
virtual void set ()
 called to transfer the value from parameter(s) to control
Public Member Functions inherited from calf_plugins::param_control
 param_control ()
const parameter_propertiesget_props ()
virtual GtkWidget * create (plugin_gui *_gui)
virtual void created ()
 called after the control is created
virtual void configure (const char *key, const char *value)
 called on DSSI configure()
virtual void hook_params ()
 called from created() to add hooks for parameters
virtual void add_context_menu_handler ()
 called from created() to add context menu handlers
virtual void on_idle ()
virtual ~param_control ()
virtual void do_popup_menu ()
virtual void create_value_entry (GtkWidget *widget, int x, int y)
virtual void destroy_value_entry ()
Public Member Functions inherited from calf_plugins::control_base
void require_attribute (const char *name)
void require_int_attribute (const char *name)
int get_int (const char *name, int def_value=0)
float get_float (const char *name, float def_value=0.f)
std::vector< double > get_vector (const char *name, std::string &value)
virtual bool is_container ()
virtual void set_visibilty (bool state)
virtual void add (control_base *ctl)
virtual void set_std_properties ()
 called from created() to set all the properties
virtual ~control_base ()

Static Public Member Functions

static void tap_button_stop_waiting (gpointer value)
static gboolean tap_button_released (GtkWidget *widget, gpointer value)
static gboolean tap_button_pressed (GtkWidget *widget, GdkEventButton *event, gpointer value)
Static Public Member Functions inherited from calf_plugins::param_control
static gboolean on_button_press_event (GtkWidget *widget, GdkEventButton *event, void *user_data)
static gboolean on_popup_menu (GtkWidget *widget, void *user_data)
static gboolean value_entry_action (GtkEntry *widget, GdkEvent *event, void *user_data)
static gboolean value_entry_unfocus (GtkWidget *widget, GdkEventFocus *event, void *user_data)
static gboolean value_entry_click (GtkWidget *widget, GdkEventButton *event, void *user_data)

Public Attributes

guint last_time
gint timer
float avg_value
float value
Public Attributes inherited from calf_plugins::param_control
int param_no
std::string param_variable
int in_change
bool has_entry
float old_displayed_value
Public Attributes inherited from calf_plugins::control_base
GtkWidget * widget
std::string control_name
xml_attribute_map attribs
plugin_guigui

Additional Inherited Members

Public Types inherited from calf_plugins::control_base
typedef std::map< std::string, std::string > xml_attribute_map
Protected Attributes inherited from calf_plugins::param_control
GtkWidget * entrywin

Detailed Description

Tap Button.

Member Function Documentation

◆ create()

GtkWidget * tap_button_param_control::create ( plugin_gui * _gui,
int _param_no )
virtual

called to create a widget for a control

Implements calf_plugins::param_control.

◆ get()

void tap_button_param_control::get ( )
virtual

called to transfer the value from control to parameter(s)

Implements calf_plugins::param_control.

◆ set()

void tap_button_param_control::set ( )
virtual

called to transfer the value from parameter(s) to control

Implements calf_plugins::param_control.

◆ tap_button_pressed()

gboolean tap_button_param_control::tap_button_pressed ( GtkWidget * widget,
GdkEventButton * event,
gpointer value )
static

◆ tap_button_released()

gboolean tap_button_param_control::tap_button_released ( GtkWidget * widget,
gpointer value )
static

◆ tap_button_stop_waiting()

void tap_button_param_control::tap_button_stop_waiting ( gpointer value)
static

Member Data Documentation

◆ avg_value

float calf_plugins::tap_button_param_control::avg_value

◆ last_time

guint calf_plugins::tap_button_param_control::last_time

◆ timer

gint calf_plugins::tap_button_param_control::timer

◆ value

float calf_plugins::tap_button_param_control::value

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