Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
colorlabels.h
Go to the documentation of this file.
1#pragma once
2
3#include <gtk/gtk.h>
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
20extern const char *dt_colorlabels_name[];
21
23int dt_colorlabels_get_labels(const int32_t imgid);
25void dt_colorlabels_remove_labels(const int32_t imgid);
27void dt_colorlabels_set_label(const int32_t imgid, const int color);
29void dt_colorlabels_set_labels(const int32_t imgid, const int colors);
31void dt_colorlabels_toggle_label_on_list(GList *list, const int color, const gboolean undo_on);
33void dt_colorlabels_remove_label(const int32_t imgid, const int color);
35const char *dt_colorlabels_to_string(int label);
37int dt_colorlabels_check_label(const int32_t imgid, const int color);
38
39#ifdef __cplusplus
40}
41#endif
42
43// clang-format off
44// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
45// vim: shiftwidth=2 expandtab tabstop=2 cindent
46// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
47// clang-format on
void dt_colorlabels_remove_label(const int32_t imgid, const int color)
Definition colorlabels.c:165
dt_colorlables_enum
Definition colorlabels.h:11
@ DT_COLORLABELS_PURPLE
Definition colorlabels.h:16
@ DT_COLORLABELS_GREEN
Definition colorlabels.h:14
@ DT_COLORLABELS_YELLOW
Definition colorlabels.h:13
@ DT_COLORLABELS_BLUE
Definition colorlabels.h:15
@ DT_COLORLABELS_LAST
Definition colorlabels.h:17
@ DT_COLORLABELS_RED
Definition colorlabels.h:12
void dt_colorlabels_remove_labels(const int32_t imgid)
Definition colorlabels.c:140
enum dt_colorlables_enum dt_colorlabels_enum
int dt_colorlabels_get_labels(const int32_t imgid)
Definition colorlabels.c:65
int dt_colorlabels_check_label(const int32_t imgid, const int color)
Definition colorlabels.c:276
void dt_colorlabels_set_label(const int32_t imgid, const int color)
Definition colorlabels.c:151
void dt_colorlabels_toggle_label_on_list(GList *list, const int color, const gboolean undo_on)
Definition colorlabels.c:251
const char * dt_colorlabels_to_string(int label)
Definition colorlabels.c:300
const char * dt_colorlabels_name[]
Definition colorlabels.c:32
void dt_colorlabels_set_labels(const int32_t imgid, const int colors)
Definition colorlabels.c:84
const dt_collection_filter_flag_t colors[6]
Definition filter.c:274