27 CAIRO_CONTENT_COLOR_ALPHA, width, height*2);
28 cairo_t *cri = cairo_create (w->
image);
42 cairo_rectangle(cri,i,1,2,ci);
51 cairo_rectangle(cri,i,height+1,2,ci);
68 cairo_set_source_surface (w->
crb, w->
image, 0, 0);
69 cairo_rectangle(w->
crb,0, 0, width, height/2);
71 cairo_set_source_surface (w->
crb, w->
image, 0, -height/2);
72 cairo_rectangle(w->
crb, width*state,0,3, height/2);
75 cairo_set_source_rgba (w->
crb, 0.5, 0.0, 0.0, 0.4);
76 cairo_rectangle(w->
crb, 0,0,width*clip, height/2);
79 cairo_rectangle(w->
crb, width,0,(width*cut)-width, height/2);
Color_t - struct used to set cairo color for Widget_t.
float adj_get_state(Adjustment_t *adj)
adj_get_state - get the current state of the Adjustment_t
Colors * get_color_scheme(Widget_t *wid, Color_state st)
get_color_scheme - get pointer to the Colors struct to use in relation to the Color_state
void _draw_playhead(void *w_, void *user_data)
_draw_playhead - internal draw the playhead to the buffer
void _create_playhead_image(Widget_t *w, int width, int height)
_create_playhead_image - internal draw the playhead image to the cairo image surface