![]() |
libxputty 0.1
|
Go to the source code of this file.
Data Structures | |
struct | WaveView_t |
Functions | |
Widget_t * | add_waveview (Widget_t *parent, const char *label, int x, int y, int width, int height) |
add_waveview - add a waveview to a Widget_t | |
void | update_waveview (Widget_t *waveview, float *wave, int size) |
void | waveview_mem_free (void *w_, void *user_data) |
Widget_t * add_waveview | ( | Widget_t * | parent, |
const char * | label, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
add_waveview - add a waveview to a Widget_t
*parent | - pointer to the Widget_t request the waveview |
*label | - Label to show on the waveview |
x,y,width,height | - the position/geometry to create the waveview |
Definition at line 26 of file xwaveview.c.
References _draw_waveview(), Widget_t::app, CENTER, 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, Widget_t::private_struct, Widget_t::scale, WaveView_t::size, WaveView_t::wave, and waveview_mem_free().
void update_waveview | ( | Widget_t * | waveview, |
float * | wave, | ||
int | size | ||
) |
Definition at line 43 of file xwaveview.c.
References expose_widget(), Widget_t::private_struct, WaveView_t::size, and WaveView_t::wave.
void waveview_mem_free | ( | void * | w_, |
void * | user_data | ||
) |
Definition at line 57 of file xwaveview.c.
References Widget_t::private_struct, and WaveView_t::wave.
Referenced by add_waveview().