colorscale: Draw a trough
Make sure the color info is actually drawn inside the trough.
This commit is contained in:
		| @ -64,6 +64,13 @@ GtkWidget * gtk_color_scale_new      (GtkAdjustment     *adjustment, | ||||
| void        gtk_color_scale_set_rgba (GtkColorScale     *scale, | ||||
|                                       const GdkRGBA     *color); | ||||
|  | ||||
| void        gtk_color_scale_draw_trough (GtkColorScale  *scale, | ||||
|                                          cairo_t        *cr, | ||||
|                                          int             x, | ||||
|                                          int             y, | ||||
|                                          int             width, | ||||
|                                          int             height); | ||||
|  | ||||
| G_END_DECLS | ||||
|  | ||||
| #endif /* __GTK_COLOR_SCALE_H__ */ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Benjamin Otte
					Benjamin Otte