![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Macros | |
#define | M_PI 3.141592654 |
#define | PREAMBLE(scaling, line_scaling, x_offset, y_offset) |
#define | FINISH |
Functions | |
static void | _rounded_rectangle (cairo_t *cr) |
void | dtgtk_cairo_paint_empty (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_color (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_presets (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
static void | _draw_triangle (cairo_t *cr, const gint flags) |
void | dtgtk_cairo_paint_triangle (cairo_t *cr, gint x, int y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_solid_triangle (cairo_t *cr, gint x, int y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_arrow (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_solid_arrow (cairo_t *cr, gint x, int y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_line_arrow (cairo_t *cr, gint x, int y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_sortby (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_flip (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_reset (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_store (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_switch (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_switch_inactive (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_switch_on (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_switch_off (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_switch_deprecated (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_plus (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_plusminus (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_square_plus (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_sorting (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_plus_simple (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_minus_simple (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_multiply_small (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_treelist (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_invert (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_eye (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_circle (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_ellipse (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_gradient (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_path (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_vertgradient (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_brush_and_inverse (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_brush (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_uniform (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_drawn (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | _gradient_arc (cairo_t *cr, double lw, int nb_steps, double x_center, double y_center, double radius, double angle_from, double angle_to, double color_from, double color_to, double alpha) |
void | dtgtk_cairo_paint_masks_parametric (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_drawn_and_parametric (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_raster (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_multi (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_inverse (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_union (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_intersection (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_difference (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_exclusion (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_masks_used (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_eye (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_eye_toggle (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_timer (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_grid (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_focus_peaking (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_camera (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_histogram_scope (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_waveform_scope (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_vectorscope (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_linear_scale (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_logarithmic_scale (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_waveform_overlaid (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_rgb_parade (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_luv (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_jzazbz (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_ryb (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_filmstrip (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_directory (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_refresh (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_perspective (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_structure (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_draw_structure (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_cancel (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_aspectflip (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_styles (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_label (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_label_sel (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_reject (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_remove (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_star (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_unratestar (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_local_copy (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_altered (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_unaltered (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_audio (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_label_flower (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_colorpicker (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_colorpicker_set_values (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_showmask (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_preferences (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_overlays (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_help (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_grouping (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_alignment (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_text_label (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_or (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_and (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_andnot (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_dropdown (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_bracket (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_lock (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_check_mark (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_overexposed (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_bulb (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_rawoverexposed (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_gamut_check (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_softproof (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_display (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_rect_landscape (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_rect_portrait (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_polygon (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_zoom (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_multiinstance (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_active (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_favorites (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_basics (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_basic (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_tone (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_color (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_correct (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_effect (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_grading (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_modulegroup_technical (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_map_pin (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_tool_clone (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_tool_heal (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_tool_fill (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_tool_blur (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_paste_forms (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_cut_forms (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_display_wavelet_scale (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_auto_levels (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | _compass_star (cairo_t *cr, double cx, double cy, double size) |
void | dtgtk_cairo_paint_compass_star (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_wand (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_lt_mode_grid (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_lt_mode_zoom (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_lt_mode_culling_fixed (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_lt_mode_culling_dynamic (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_lt_mode_fullpreview (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_link (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_shortcut (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
void | dtgtk_cairo_paint_pin (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
#define FINISH |
#define M_PI 3.141592654 |
#define PREAMBLE | ( | scaling, | |
line_scaling, | |||
x_offset, | |||
y_offset | |||
) |
References size.
Referenced by dtgtk_cairo_paint_compass_star(), and dtgtk_cairo_paint_wand().
|
static |
References CPF_DIRECTION_DOWN, CPF_DIRECTION_LEFT, CPF_DIRECTION_UP, flags, M_PI, and S.
Referenced by dtgtk_cairo_paint_solid_triangle(), and dtgtk_cairo_paint_triangle().
void _gradient_arc | ( | cairo_t * | cr, |
double | lw, | ||
int | nb_steps, | ||
double | x_center, | ||
double | y_center, | ||
double | radius, | ||
double | angle_from, | ||
double | angle_to, | ||
double | color_from, | ||
double | color_to, | ||
double | alpha | ||
) |
draws an arc with a B&W gradient following the arc path. nb_steps must be adjusted depending on the displayed size of the element, 16 is fine for small buttons
Referenced by dtgtk_cairo_paint_masks_drawn_and_parametric(), and dtgtk_cairo_paint_masks_parametric().
|
static |
References M_PI.
Referenced by dtgtk_cairo_paint_grid(), dtgtk_cairo_paint_overexposed(), dtgtk_cairo_paint_rawoverexposed(), dtgtk_cairo_paint_remove(), and dtgtk_cairo_paint_square_plus().
void dtgtk_cairo_paint_alignment | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint an alignment icon
References CPF_SPECIAL_FLAG, FINISH, flags, and PREAMBLE.
Referenced by gui_init(), and gui_init().
void dtgtk_cairo_paint_altered | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an altered icon on thumbs
References CPF_DIRECTION_RIGHT, FINISH, flags, M_PI, and PREAMBLE.
Referenced by dt_thumbnail_create_widget(), and gui_init().
void dtgtk_cairo_paint_arrow | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an arrow left or right
References CPF_DIRECTION_DOWN, CPF_DIRECTION_RIGHT, CPF_DIRECTION_UP, FINISH, flags, M_PI, PREAMBLE, and S.
void dtgtk_cairo_paint_aspectflip | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint two boxes indicating portrait/landscape flip
References FINISH, flags, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_audio | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an audio icon on thumbs
References FINISH, M_PI, and PREAMBLE.
Referenced by dt_thumbnail_create_widget().
void dtgtk_cairo_paint_bulb | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a light bulb
References CPF_ACTIVE, FINISH, flags, M_PI, and PREAMBLE.
Referenced by gui_init(), and gui_init().
void dtgtk_cairo_paint_check_mark | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint check mark icon
References FINISH, and PREAMBLE.
Referenced by gui_init(), gui_init(), and tree_insert_presets().
void dtgtk_cairo_paint_colorpicker | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a color picker icon - a pipette for bigger buttons
References FINISH, and PREAMBLE.
Referenced by _color_picker_new(), gui_init(), and gui_init().
void dtgtk_cairo_paint_colorpicker_set_values | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a color picker icon with a plus sign
References FINISH, and PREAMBLE.
Referenced by dt_iop_gui_init_blendif(), and gui_init().
void dtgtk_cairo_paint_compass_star | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a generic four-pointed compass star
References _compass_star(), FINISH, and PREAMBLE.
void dtgtk_cairo_paint_cut_forms | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a cut icon for retouch
References CPF_ACTIVE, FINISH, flags, M_PI, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_directory | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a directory icon
References FINISH, M_PI, and PREAMBLE.
Referenced by gui_init(), gui_init(), and gui_init().
void dtgtk_cairo_paint_display_wavelet_scale | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a display scale for retouch
References CPF_ACTIVE, FINISH, flags, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_eye | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an eye icon
References CPF_ACTIVE, dtgtk_cairo_paint_eye_toggle(), and flags.
void dtgtk_cairo_paint_eye_toggle | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an eye icon which is crossed out if toggled
References CPF_ACTIVE, FINISH, flags, M_PI, and PREAMBLE.
Referenced by dt_iop_gui_init_blending(), dtgtk_cairo_paint_eye(), and gui_init().
void dtgtk_cairo_paint_flip | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a flip icon
References CPF_DIRECTION_UP, FINISH, flags, PREAMBLE, and S.
Referenced by gui_init().
void dtgtk_cairo_paint_gamut_check | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a gamut check icon
References FINISH, and PREAMBLE.
Referenced by area_draw(), and gui_init().
void dtgtk_cairo_paint_grid | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a simple grid icon
References _rounded_rectangle(), FINISH, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_grouping | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint the grouping icon.
References CPF_ACTIVE, FINISH, flags, and PREAMBLE.
Referenced by dt_thumbnail_create_widget().
void dtgtk_cairo_paint_invert | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an invert icon
References FINISH, M_PI, and PREAMBLE.
Referenced by dt_iop_gui_init_blendif(), and dt_iop_gui_init_blending().
void dtgtk_cairo_paint_label | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a color label icon
References darktable_t::bauhaus, dt_bauhaus_t::colorlabels, darktable, DT_COLORLABELS_LAST, FINISH, flags, M_PI, PREAMBLE, and set_color().
void dtgtk_cairo_paint_label_flower | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a colorlabel "flower" icon on thumbs
References darktable_t::bauhaus, dt_bauhaus_t::colorlabels, darktable, DT_COLORLABELS_BLUE, DT_COLORLABELS_GREEN, DT_COLORLABELS_PURPLE, DT_COLORLABELS_RED, DT_COLORLABELS_YELLOW, FINISH, flags, M_PI, PREAMBLE, and set_color().
Referenced by dt_thumbnail_create_widget().
void dtgtk_cairo_paint_label_sel | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a color label icon for selection
References darktable_t::bauhaus, dt_bauhaus_t::colorlabels, CPF_DIRECTION_RIGHT, CPF_PRELIGHT, darktable, DT_COLORLABELS_LAST, FINISH, flags, M_PI, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_line_arrow | ( | cairo_t * | cr, |
gint | x, | ||
int | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an arrow with a line
References CPF_DIRECTION_LEFT, FINISH, flags, and PREAMBLE.
void dtgtk_cairo_paint_local_copy | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint the local copy symbol
References CPF_ACTIVE, FINISH, flags, M_PI, and PREAMBLE.
Referenced by dt_thumbnail_create_widget().
void dtgtk_cairo_paint_lock | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint lock icon
References FINISH, M_PI, and PREAMBLE.
Referenced by _sample_draw_callback(), gui_init(), and tree_insert_presets().
void dtgtk_cairo_paint_masks_brush | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a mask brush icon
References FINISH, M_PI, and PREAMBLE.
Referenced by dt_iop_gui_init_masks(), gui_init(), and gui_init().
void dtgtk_cairo_paint_masks_circle | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a circle icon for masks
References FINISH, and PREAMBLE.
Referenced by dt_iop_gui_init_masks(), gui_init(), and gui_init().
void dtgtk_cairo_paint_masks_drawn_and_parametric | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a combined drawn¶metric mask icon
References _gradient_arc(), CPF_PRELIGHT, FINISH, flags, M_PI, and PREAMBLE.
void dtgtk_cairo_paint_masks_ellipse | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an ellipse icon for masks
References FINISH, and PREAMBLE.
Referenced by dt_iop_gui_init_masks(), gui_init(), and gui_init().
void dtgtk_cairo_paint_masks_eye | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an eye icon for masks
References FINISH, and PREAMBLE.
Referenced by dt_iop_gui_init_masks(), and gui_init().
void dtgtk_cairo_paint_masks_gradient | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a gradient icon for masks
References FINISH, and PREAMBLE.
Referenced by dt_iop_gui_init_masks(), and gui_init().
void dtgtk_cairo_paint_masks_parametric | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a parametric mask icon
References _gradient_arc(), CPF_PRELIGHT, FINISH, flags, M_PI, and PREAMBLE.
void dtgtk_cairo_paint_masks_path | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a path icon for masks
References FINISH, and PREAMBLE.
Referenced by dt_iop_gui_init_masks(), gui_init(), and gui_init().
void dtgtk_cairo_paint_minus_simple | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a simple minus icon
References FINISH, and PREAMBLE.
Referenced by dt_lib_export_metadata_configuration_dialog(), and gui_init().
void dtgtk_cairo_paint_multiinstance | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a duplicate/multi instance indicator
References FINISH, and PREAMBLE.
Referenced by dt_iop_gui_set_expander().
void dtgtk_cairo_paint_overexposed | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint an over/under exposure icon
References _rounded_rectangle(), FINISH, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_overlays | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint the "show ovelays" icon.
References dt_draw_star(), FINISH, and PREAMBLE.
void dtgtk_cairo_paint_perspective | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a perspective correction icon
References FINISH, flags, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_plus | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Same as dtgtk_cairo_paint_plusminus, but render as a plus even when CFP_ACTIVE is disabled.
References CPF_ACTIVE, dtgtk_cairo_paint_plusminus(), and flags.
void dtgtk_cairo_paint_plus_simple | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a simple plus icon
References FINISH, and PREAMBLE.
Referenced by dt_lib_export_metadata_configuration_dialog(), and gui_init().
void dtgtk_cairo_paint_plusminus | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a plusminus icon
References CPF_ACTIVE, FINISH, flags, M_PI, and PREAMBLE.
Referenced by dt_iop_gui_init_blendif(), dt_iop_gui_init_masks(), dt_iop_gui_init_raster(), and dtgtk_cairo_paint_plus().
void dtgtk_cairo_paint_presets | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a preset icon - similar to hamburger menu
References FINISH, and PREAMBLE.
Referenced by dt_iop_gui_init_blending(), and dt_iop_gui_set_expander().
void dtgtk_cairo_paint_rawoverexposed | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a raw over exposure icon
References _rounded_rectangle(), CPF_ACTIVE, FINISH, flags, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_refresh | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a refresh/reload icon
References FINISH, flags, and PREAMBLE.
Referenced by dt_iop_tonecurve_draw(), gui_init(), gui_init(), gui_init(), and gui_post_expose().
void dtgtk_cairo_paint_reject | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint the reject icon on thumbs
References CPF_DIRECTION_RIGHT, FINISH, flags, M_PI, and PREAMBLE.
Referenced by dt_thumbnail_create_widget(), and gui_init().
void dtgtk_cairo_paint_remove | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint the remove icon
References _rounded_rectangle(), FINISH, and PREAMBLE.
Referenced by _add_sample(), and _lib_duplicate_init_callback().
void dtgtk_cairo_paint_reset | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a reset icon
References FINISH, and PREAMBLE.
Referenced by dt_iop_gui_init_blendif(), and dt_iop_gui_set_expander().
void dtgtk_cairo_paint_showmask | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a display mask icon
References FINISH, M_PI, and PREAMBLE.
Referenced by dt_iop_gui_init_blending(), dt_iop_gui_set_expander(), gui_init(), and gui_init().
void dtgtk_cairo_paint_softproof | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a soft proofing icon
References FINISH, and PREAMBLE.
Referenced by gui_init(), and gui_init().
void dtgtk_cairo_paint_solid_arrow | ( | cairo_t * | cr, |
gint | x, | ||
int | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a solid arrow left/right/up/down
References CPF_DIRECTION_DOWN, CPF_DIRECTION_LEFT, CPF_DIRECTION_UP, FINISH, flags, M_PI, PREAMBLE, and S.
Referenced by _coeffs_button_changed(), _extra_options_button_changed(), dt_gui_new_collapsible_section(), dt_gui_update_collapsible_section(), dt_lib_gui_set_expanded(), gui_init(), gui_init(), and gui_reset().
void dtgtk_cairo_paint_solid_triangle | ( | cairo_t * | cr, |
gint | x, | ||
int | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a solid triangle left/right/up/down
References _draw_triangle(), FINISH, flags, and PREAMBLE.
Referenced by _gradient_slider_draw(), and rt_wdbar_draw().
void dtgtk_cairo_paint_sortby | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
References CPF_DIRECTION_UP, FINISH, flags, and PREAMBLE.
Referenced by _lib_filter_reverse_button_changed(), and gui_init().
void dtgtk_cairo_paint_square_plus | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a square plus icon
References _rounded_rectangle(), FINISH, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_star | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a rating icon on thumbs
References dt_draw_star(), FINISH, and PREAMBLE.
Referenced by dt_thumbnail_create_widget(), and gui_init().
void dtgtk_cairo_paint_styles | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
paint a styles icon
References FINISH, flags, M_PI, and PREAMBLE.
Referenced by gui_init(), and gui_init().
void dtgtk_cairo_paint_switch | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a switch icon
References FINISH, and PREAMBLE.
Referenced by _gui_styles_dialog_run(), _lib_history_create_button(), dt_gui_hist_dialog_new(), dt_iop_gui_set_enable_button_icon(), and dt_iop_gui_set_expander().
void dtgtk_cairo_paint_switch_deprecated | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a deprecated switch icon
References FINISH, and PREAMBLE.
Referenced by _lib_history_create_button().
void dtgtk_cairo_paint_switch_inactive | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an in-active switch icon
References FINISH, and PREAMBLE.
Referenced by _gui_styles_dialog_run(), and dt_gui_hist_dialog_new().
void dtgtk_cairo_paint_switch_off | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an always-off switch icon
References FINISH, M_PI, and PREAMBLE.
Referenced by dt_iop_gui_set_enable_button_icon().
void dtgtk_cairo_paint_switch_on | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an always-on switch icon
References FINISH, M_PI, and PREAMBLE.
Referenced by _lib_history_create_button(), and dt_iop_gui_set_enable_button_icon().
void dtgtk_cairo_paint_triangle | ( | cairo_t * | cr, |
gint | x, | ||
int | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a triangle left/right/up/down
References _draw_triangle(), FINISH, flags, and PREAMBLE.
Referenced by _gradient_slider_draw(), and rt_wdbar_draw().
void dtgtk_cairo_paint_unaltered | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
References CPF_DIRECTION_RIGHT, FINISH, flags, M_PI, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_unratestar | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint an icon for unrating star on thumbs
References dt_draw_star(), FINISH, and PREAMBLE.
Referenced by gui_init().
void dtgtk_cairo_paint_wand | ( | cairo_t * | cr, |
gint | x, | ||
gint | y, | ||
gint | w, | ||
gint | h, | ||
gint | flags, | ||
void * | data | ||
) |
Paint a magic wand for tone equalizer
References _compass_star(), FINISH, and PREAMBLE.
Referenced by gui_init().