#include "xknob.h"
Go to the source code of this file.
Macros | |
#define | XKNOB_PRIVATE_H_ |
Functions | |
void | _draw_image_knob (Widget_t *w, int width_t, int height_t) |
_draw_image_knob - internal draw the knob from image to the buffer More... | |
void | _draw_knob_image (void *w_, void *user_data) |
_draw_knob_image - internal draw the knob to the buffer More... | |
void | _draw_knob (void *w_, void *user_data) |
_draw_knob - internal draw the knob to the buffer More... | |
void | _knob_released (void *w_, void *button_, void *user_data) |
_knob_released - redraw the slider when buttob released More... | |
#define XKNOB_PRIVATE_H_ |
Definition at line 24 of file xknob_private.h.
void _draw_image_knob | ( | Widget_t * | w, |
int | width_t, | ||
int | height_t | ||
) |
_draw_image_knob - internal draw the knob from image to the buffer
*w | - pointer to the Widget_t knob |
Definition at line 35 of file xknob_private.c.
References adj_get_state(), Widget_t::adj_y, Widget_t::crb, and Widget_t::image.
void _draw_knob | ( | void * | w_, |
void * | user_data | ||
) |
_draw_knob - internal draw the knob to the buffer
*w_ | - void pointer to the Widget_t button |
*user_data | - void pointer to attached user_data |
get values for the knob
create a rotating pointer on the kob
show value on the kob
Definition at line 57 of file xknob_private.c.
References _draw_image_knob(), Widget_t::adj, adj_get_state(), adj_get_value(), Widget_t::adj_y, Widget_t::app, Resize_t::ascale, Widget_t::crb, Xputty::dpy, get_color_state(), Widget_t::image, min, NORMAL_, Widget_t::scale, Xputty::small_font, Widget_t::state, Adjustment_t::step, use_bg_color_scheme(), use_fg_color_scheme(), use_shadow_color_scheme(), use_text_color_scheme(), and Widget_t::widget.
void _draw_knob_image | ( | void * | w_, |
void * | user_data | ||
) |
_draw_knob_image - internal draw the knob to the buffer
*w_ | - void pointer to the Widget_t button |
*user_data | - void pointer to attached user_data |
Definition at line 51 of file xknob_private.c.
References _draw_image_knob(), Widget_t::height, and Widget_t::width.
void _knob_released | ( | void * | w_, |
void * | button_, | ||
void * | user_data | ||
) |
_knob_released - redraw the slider when buttob released
*w_ | - void pointer to the Widget_t button |
*user_data | - void pointer to attached user_data |
Definition at line 141 of file xknob_private.c.
References expose_widget(), Widget_t::flags, HAS_POINTER, and Widget_t::state.