Go to the source code of this file.
Functions | |
void | playhead_mem_free (void *w_, void *user_data) |
Widget_t * | add_playhead (Widget_t *parent, const char *label, Adjustment_t *clip, Adjustment_t *cut, int x, int y, int width, int height) |
add_playhead - add a playhead to a Widget_t connect to func.value_changed_callback to implement your actions More... | |
Widget_t* add_playhead | ( | Widget_t * | parent, |
const char * | label, | ||
Adjustment_t * | clip, | ||
Adjustment_t * | cut, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
add_playhead - add a playhead to a Widget_t connect to func.value_changed_callback to implement your actions
*parent | - pointer to the Widget_t request the vumeter |
*label | - Label to show on the vumeter |
x,y,width,height | - the position/geometry to create the vumeter |
Definition at line 32 of file xplayhead.c.
References _create_playhead_image(), _draw_playhead(), add_adjustment(), Widget_t::adj, Widget_t::adj_x, Widget_t::adj_y, Widget_t::app, ASPECT, CL_METER, create_widget(), Func_t::expose_callback, Widget_t::flags, Widget_t::func, Resize_t::gravity, HAS_MEM, Widget_t::label, Func_t::mem_free_callback, playhead_mem_free(), and Widget_t::scale.
void playhead_mem_free | ( | void * | w_, |
void * | user_data | ||
) |
Definition at line 25 of file xplayhead.c.
References Widget_t::adj_x, and Widget_t::adj_y.