Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
history_actions.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
21#include <glib.h>
22#include <inttypes.h>
23
25
27gboolean dt_history_copy(int32_t imgid);
28gboolean dt_history_copy_parts(int32_t imgid);
29gboolean dt_history_paste_on_list(const GList *list);
31gboolean dt_history_paste_parts_on_list(const GList *list);
32gboolean dt_history_paste_on_image(const int32_t imgid);
33gboolean dt_history_paste_parts_on_image(const int32_t imgid);
34
35gboolean dt_history_copy_and_paste_on_image(const int32_t imgid, const int32_t dest_imgid, GList *ops,
36 const gboolean copy_full, const dt_history_merge_strategy_t mode,
37 const gboolean copy_iop_order, dt_hm_batch_state_t *batch);
38
40gboolean dt_history_style_on_list(const GList *list, const char *name, const gboolean duplicate);
41gboolean dt_history_style_on_image(const int32_t imgid, const char *name, const gboolean duplicate);
42
44int dt_history_compress_on_list(const GList *imgs);
45void dt_history_compress_on_image(const int32_t imgid);
46
48gboolean dt_history_delete_on_list(const GList *list, gboolean undo);
49
51int dt_history_load_and_apply_on_list(gchar *filename, const GList *list);
52
54int dt_history_load_and_apply(const int32_t imgid, gchar *filename, int history_only);
55int dt_history_load_and_apply_on_image(int32_t imgid, gchar *filename, int history_only);
char * name
gboolean dt_history_paste_on_list(const GList *list)
int dt_history_load_and_apply(const int32_t imgid, gchar *filename, int history_only)
gboolean dt_history_copy(int32_t imgid)
gboolean dt_history_paste_parts_on_list(const GList *list)
int dt_history_load_and_apply_on_image(int32_t imgid, gchar *filename, int history_only)
gboolean dt_history_delete_on_list(const GList *list, gboolean undo)
gboolean dt_history_paste_on_image(const int32_t imgid)
gboolean dt_history_style_on_image(const int32_t imgid, const char *name, const gboolean duplicate)
gboolean dt_history_paste_parts_prepare(void)
int dt_history_load_and_apply_on_list(gchar *filename, const GList *list)
int dt_history_compress_on_list(const GList *imgs)
gboolean dt_history_copy_parts(int32_t imgid)
gboolean dt_history_paste_parts_on_image(const int32_t imgid)
gboolean dt_history_copy_and_paste_on_image(const int32_t imgid, const int32_t dest_imgid, GList *ops, const gboolean copy_full, const dt_history_merge_strategy_t mode, const gboolean copy_iop_order, dt_hm_batch_state_t *batch)
void dt_history_compress_on_image(const int32_t imgid)
gboolean dt_history_style_on_list(const GList *list, const char *name, const gboolean duplicate)
dt_history_merge_strategy_t