|
libxputty
0.1
A damn tiny abstraction Layer to create X11 window/widgets with cairo surfaces
|
|
Go to the documentation of this file.
27 const float falloff = 27 * 60 * 0.0005;
28 const float fallsoft = 6 * 60 * 0.0005;
30 if (power <= 20.*log10(0.00021)) {
31 power = 20.*log10(0.00000000001);
35 if (power < w->adj->std_value) {
48 int x,
int y,
int width,
int height) {
67 int x,
int y,
int width,
int height) {
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 act...
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 act...
void _draw_vmeter_scale(void *w_, void *user_data)
_draw_meter_scale - draw a meter scale beside the meter widget
#define min(x, y)
min - set a maximal value (x) as return value
void _draw_h_meter(void *w_, void *user_data)
_draw_h_meter - internal draw the meter to the buffer
void _create_vertical_meter_image(Widget_t *w, int width, int height)
_create_vertical_meter_image - internal draw the meter image to the cairo image surface
void _create_horizontal_meter_image(Widget_t *w, int width, int height)
_create_horizontal_meter_image - internal draw the meter image to the cairo image surface
void _draw_v_meter(void *w_, void *user_data)
_draw_v_meter - internal draw the meter to the buffer
void _draw_hmeter_scale(void *w_, void *user_data)
_draw_hmeter_scale - draw a hmeter scale beside the meter widget
float power2db(Widget_t *w, float power)
power2db - power (db) input to db output consider falloff
Adjustment_t * add_adjustment(Widget_t *w, float std_value, float value, float min_value, float max_value, float step, CL_type type)
*add_adjustment - adding a adjustment to a Widget_t
#define max(x, y)
max - set a minimal value (x) as return value