#include "xmeter_private.h"
Go to the source code of this file.
Functions | |
void | _draw_vmeter_scale (void *w_, void *user_data) |
_draw_meter_scale - draw a meter scale beside the meter widget More... | |
void | _draw_hmeter_scale (void *w_, void *user_data) |
_draw_hmeter_scale - draw a hmeter scale beside the meter widget More... | |
float | _log_meter (float db) |
_log_meter - logaritmic meter deflection More... | |
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 More... | |
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 More... | |
void | _draw_v_meter (void *w_, void *user_data) |
_draw_v_meter - internal draw the meter to the buffer More... | |
void | _draw_h_meter (void *w_, void *user_data) |
_draw_h_meter - internal draw the meter to the buffer More... | |
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
*w | - pointer to the Widget_t meter |
width | - widget width |
height | - widget height |
Definition at line 194 of file xmeter_private.c.
References Widget_t::image, NORMAL_, Widget_t::surface, and use_shadow_color_scheme().
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
*w | - pointer to the Widget_t meter |
width | - widget width |
height | - widget height |
Definition at line 138 of file xmeter_private.c.
References Widget_t::image, NORMAL_, Widget_t::surface, and use_shadow_color_scheme().
void _draw_h_meter | ( | void * | w_, |
void * | user_data | ||
) |
_draw_h_meter - internal draw the meter to the buffer
*w_ | - void pointer to the Widget_t button |
*user_data | - void pointer to attached user_data |
Definition at line 270 of file xmeter_private.c.
References _log_meter(), adj_get_value(), Widget_t::adj_x, Widget_t::crb, Widget_t::image, Adjustment_t::start_value, widget_reset_scale(), and widget_set_scale().
void _draw_hmeter_scale | ( | void * | w_, |
void * | user_data | ||
) |
_draw_hmeter_scale - draw a hmeter scale beside the meter widget
w | - the widget to draw to |
Definition at line 69 of file xmeter_private.c.
References _log_meter(), Widget_t::app, Widget_t::crb, Xputty::dpy, and Widget_t::widget.
void _draw_v_meter | ( | void * | w_, |
void * | user_data | ||
) |
_draw_v_meter - internal draw the meter to the buffer
*w_ | - void pointer to the Widget_t button |
*user_data | - void pointer to attached user_data |
Definition at line 250 of file xmeter_private.c.
References _log_meter(), adj_get_value(), Widget_t::adj_y, Widget_t::crb, Widget_t::image, Adjustment_t::start_value, widget_reset_scale(), and widget_set_scale().
void _draw_vmeter_scale | ( | void * | w_, |
void * | user_data | ||
) |
_draw_meter_scale - draw a meter scale beside the meter widget
w | - the widget to draw to |
Definition at line 25 of file xmeter_private.c.
References _log_meter(), Widget_t::app, Widget_t::crb, Xputty::dpy, and Widget_t::widget.
float _log_meter | ( | float | db | ) |
_log_meter - logaritmic meter deflection
db | - mesured db |
Definition at line 109 of file xmeter_private.c.