Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
history_merge_gui.h
Go to the documentation of this file.
1/*
2 This file is part of Ansel,
3 Copyright (C) 2026 Aurélien PIERRE.
4
5 Ansel is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 Ansel is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with Ansel. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#pragma once
20
22
23#include <glib.h>
24
25struct dt_develop_t;
26
27char *_hm_make_node_id(const char *op, const char *multi_name);
28void _hm_id_to_op_name(const char *id, char *op, char *name);
29
31{
32 // Keep the destination adjacency constraints when breaking incompatible 2-cycles.
34 // Keep the source/pasted adjacency constraints when breaking incompatible 2-cycles.
37
39 const char *src_prev, const char *src_next,
40 const char *dst_prev, const char *dst_next);
41
42gboolean _hm_warn_missing_raster_producers(const GList *mod_list);
43
45
47
50
51gboolean _hm_show_merge_report_popup(struct dt_develop_t *dev_dest, struct dt_develop_t *dev_src,
52 const gboolean merge_iop_order, const gboolean used_source_order,
54 GHashTable *dst_last_before_by_id, const GPtrArray *orig_labels,
55 const GPtrArray *orig_styles, const GHashTable *orig_ids,
56 const GHashTable *mod_list_ids);
char * name
Definition common/metadata.c:61
dt_history_merge_strategy_t
Definition history_merge.h:33
void _hm_id_to_op_name(const char *id, char *op, char *name)
Definition history_merge.c:149
gboolean _hm_warn_missing_raster_producers(const GList *mod_list)
Definition history_merge_gui.c:181
void _hm_show_toposort_cycle_popup(GList *cycle_nodes, GHashTable *id_ht)
Definition history_merge_gui.c:258
char * _hm_make_node_id(const char *op, const char *multi_name)
Definition history_merge.c:96
dt_hm_constraint_choice_t
Definition history_merge_gui.h:31
@ DT_HM_CONSTRAINTS_PREFER_DEST
Definition history_merge_gui.h:33
@ DT_HM_CONSTRAINTS_PREFER_SRC
Definition history_merge_gui.h:35
dt_hm_constraint_choice_t _hm_ask_user_constraints_choice(GHashTable *id_ht, const char *faulty_id, const char *src_prev, const char *src_next, const char *dst_prev, const char *dst_next)
Definition history_merge_gui.c:124
int _hm_build_last_history_by_id(const struct dt_develop_t *dev, GHashTable **out_map)
GPtrArray * _hm_collect_labels_from_history_map(GHashTable *last_by_id, const GHashTable *mod_list_ids, GPtrArray **out_styles)
Definition history_merge_gui.c:445
gboolean _hm_show_merge_report_popup(struct dt_develop_t *dev_dest, struct dt_develop_t *dev_src, const gboolean merge_iop_order, const gboolean used_source_order, const dt_history_merge_strategy_t strategy, GHashTable *src_last_by_id, GHashTable *dst_last_before_by_id, const GPtrArray *orig_labels, const GPtrArray *orig_styles, const GHashTable *orig_ids, const GHashTable *mod_list_ids)
Definition history_merge_gui.c:1214
Definition develop.h:151
float y
Definition develop.h:177