libxputty 0.1
Loading...
Searching...
No Matches
Functions
lv2_plugname_ui.c File Reference

Go to the source code of this file.

Functions

void plugin_value_changed (X11_UI *ui, Widget_t *w, PortIndex index)
 
void plugin_set_window_size (int *w, int *h, const char *plugin_uri)
 
const char * plugin_set_name ()
 
void plugin_create_controller_widgets (X11_UI *ui, const char *plugin_uri)
 
void plugin_cleanup (X11_UI *ui)
 
void plugin_port_event (LV2UI_Handle handle, uint32_t port_index, uint32_t buffer_size, uint32_t format, const void *buffer)
 

Function Documentation

◆ plugin_cleanup()

void plugin_cleanup ( X11_UI ui)

Definition at line 71 of file lv2_plugname_ui.c.

71 {
72 // clean up used sources when needed
73}

◆ plugin_create_controller_widgets()

void plugin_create_controller_widgets ( X11_UI ui,
const char *  plugin_uri 
)

Definition at line 65 of file lv2_plugname_ui.c.

65 {
66 // create all controllers needed
67 // ui->widget[0] = add_my_knob(ui->widget[0], PORT,"NAME", ui, x, y, w, h);
68 // set_adjustment(ui->widget[0]->adj,0.5, 0.5, 0.0, 1.0, 0.01, CL_CONTINUOS);
69}

◆ plugin_port_event()

void plugin_port_event ( LV2UI_Handle  handle,
uint32_t  port_index,
uint32_t  buffer_size,
uint32_t  format,
const void *  buffer 
)

Definition at line 75 of file lv2_plugname_ui.c.

77 {
78 // port value change message from host
79 // do special stuff when needed
80}

◆ plugin_set_name()

const char * plugin_set_name ( )

Definition at line 61 of file lv2_plugname_ui.c.

61 {
62 return "NAME"; //set plugin name to display on UI
63}

◆ plugin_set_window_size()

void plugin_set_window_size ( int *  w,
int *  h,
const char *  plugin_uri 
)

Definition at line 56 of file lv2_plugname_ui.c.

56 {
57 (*w) = 1; //set initial widht of main window
58 (*h) = 1; //set initial heigth of main window
59}

◆ plugin_value_changed()

void plugin_value_changed ( X11_UI ui,
Widget_t w,
PortIndex  index 
)

Definition at line 52 of file lv2_plugname_ui.c.

52 {
53 // do special stuff when needed
54}