#include "xplayhead_private.h"
Go to the source code of this file.
Functions | |
void | _create_playhead_image (Widget_t *w, int width, int height) |
_create_playhead_image - internal draw the playhead image to the cairo image surface More... | |
void | _draw_playhead (void *w_, void *user_data) |
_draw_playhead - internal draw the playhead to the buffer More... | |
void _create_playhead_image | ( | Widget_t * | w, |
int | width, | ||
int | height | ||
) |
_create_playhead_image - internal draw the playhead image to the cairo image surface
*w | - pointer to the Widget_t meter |
width | - widget width |
height | - widget height |
Definition at line 25 of file xplayhead_private.c.
References Widget_t::app, get_color_scheme(), Widget_t::image, NORMAL_, Colors::shadow, Widget_t::surface, and Colors::text.
void _draw_playhead | ( | void * | w_, |
void * | user_data | ||
) |
_draw_playhead - internal draw the playhead to the buffer
*w_ | - void pointer to the Widget_t button |
*user_data | - void pointer to attached user_data |
Definition at line 59 of file xplayhead_private.c.
References Widget_t::adj, adj_get_state(), Widget_t::adj_x, Widget_t::adj_y, Widget_t::crb, Widget_t::image, widget_reset_scale(), and widget_set_scale().