Go to the source code of this file.
Functions | |
float | power2db (Widget_t *w, float power) |
power2db - power (db) input to db output consider falloff More... | |
Widget_t * | add_vmeter (Widget_t *parent, const char *label, bool show_scale, int x, int y, int width, int height) |
add_vmeter - add a vumeter to a Widget_t connect to func.value_changed_callback to implement your actions More... | |
Widget_t * | add_hmeter (Widget_t *parent, const char *label, bool show_scale, int x, int y, int width, int height) |
add_hmeter - add a vumeter to a Widget_t connect to func.value_changed_callback to implement your actions More... | |
Widget_t* add_hmeter | ( | Widget_t * | parent, |
const char * | label, | ||
bool | show_scale, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
add_hmeter - add a vumeter 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 66 of file xmeter.c.
References _create_horizontal_meter_image(), _draw_h_meter(), _draw_hmeter_scale(), add_adjustment(), Widget_t::adj, Widget_t::adj_x, Widget_t::app, ASPECT, CL_METER, create_widget(), Func_t::expose_callback, Widget_t::flags, Widget_t::func, Resize_t::gravity, Widget_t::label, Widget_t::scale, and USE_TRANSPARENCY.
Widget_t* add_vmeter | ( | Widget_t * | parent, |
const char * | label, | ||
bool | show_scale, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
add_vmeter - add a vumeter 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 47 of file xmeter.c.
References _create_vertical_meter_image(), _draw_v_meter(), _draw_vmeter_scale(), add_adjustment(), Widget_t::adj, 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, Widget_t::label, Widget_t::scale, and USE_TRANSPARENCY.
float power2db | ( | Widget_t * | w, |
float | power | ||
) |
power2db - power (db) input to db output consider falloff
power | - mesured power |
Definition at line 26 of file xmeter.c.
References Widget_t::adj, max, min, Adjustment_t::start_value, and Adjustment_t::std_value.