![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Data Structures | |
struct | dt_undo_t |
Typedefs | |
typedef enum dt_undo_type_t | dt_undo_type_t |
typedef enum dt_undo_action_t | dt_undo_action_t |
typedef void * | dt_undo_data_t |
typedef struct dt_undo_t | dt_undo_t |
Enumerations | |
enum | dt_undo_type_t { DT_UNDO_NONE = 0 , DT_UNDO_GEOTAG = 1 << 0 , DT_UNDO_HISTORY = 1 << 1 , DT_UNDO_MASK = 1 << 2 , DT_UNDO_RATINGS = 1 << 3 , DT_UNDO_COLORLABELS = 1 << 4 , DT_UNDO_TAGS = 1 << 5 , DT_UNDO_METADATA = 1 << 6 , DT_UNDO_LT_HISTORY = 1 << 7 , DT_UNDO_FLAGS = 1 << 8 , DT_UNDO_DATETIME = 1 << 9 , DT_UNDO_DUPLICATE = 1 << 10 , DT_UNDO_DEVELOP , DT_UNDO_LIGHTTABLE , DT_UNDO_MAP = DT_UNDO_GEOTAG | DT_UNDO_TAGS | DT_UNDO_DATETIME , DT_UNDO_ALL = DT_UNDO_MAP | DT_UNDO_DEVELOP | DT_UNDO_LIGHTTABLE } |
enum | dt_undo_action_t { DT_ACTION_UNDO , DT_ACTION_REDO } |
typedef enum dt_undo_action_t dt_undo_action_t |
typedef void* dt_undo_data_t |
typedef enum dt_undo_type_t dt_undo_type_t |
enum dt_undo_action_t |
enum dt_undo_type_t |
gboolean dt_is_redo_list_populated | ( | dt_undo_t * | self, |
uint32_t | filter | ||
) |
References _is_do_undo_list_populated(), and DT_ACTION_REDO.
Referenced by redo_sensitive_callback().
gboolean dt_is_undo_list_populated | ( | dt_undo_t * | self, |
uint32_t | filter | ||
) |
References _is_do_undo_list_populated(), and DT_ACTION_UNDO.
Referenced by undo_sensitive_callback().
References dt_pthread_mutex_destroy(), DT_UNDO_ALL, dt_undo_clear(), and dt_undo_t::mutex.
Referenced by dt_cleanup().
References _undo_clear_list(), dt_undo_t::disable_next, FALSE, LOCK, dt_undo_t::redo_list, dt_undo_t::undo_list, and UNLOCK.
Referenced by dt_undo_cleanup(), dt_view_manager_switch_by_view(), and enter().
References dt_undo_t::disable_next, DT_DEBUG_UNDO, dt_print(), and TRUE.
References _undo_do_undo_redo(), and DT_ACTION_REDO.
Referenced by redo_callback().
References _undo_do_undo_redo(), and DT_ACTION_UNDO.
Referenced by undo_callback().
References _undo_record(), DT_DEBUG_UNDO, dt_print(), DT_UNDO_NONE, dt_undo_t::group, dt_undo_t::group_indent, and TRUE.
Referenced by dt_colorlabels_toggle_label_on_list(), dt_control_duplicate_images_job_run(), dt_control_flip_images_job_run(), dt_control_monochrome_images_job_run(), dt_history_copy_and_paste_on_image(), dt_history_delete_on_image_ext(), dt_history_delete_on_list(), dt_history_load_and_apply(), dt_history_load_and_apply_on_list(), dt_history_paste_on_list(), dt_history_paste_parts_on_list(), dt_image_set_datetime(), dt_image_set_datetimes(), dt_image_set_images_locations(), dt_image_set_locations(), dt_metadata_clear(), dt_metadata_set(), dt_metadata_set_list(), dt_metadata_set_list_id(), dt_multiple_styles_apply_to_list(), dt_ratings_apply_on_image(), dt_ratings_apply_on_list(), dt_styles_apply_to_image(), dt_styles_apply_to_list(), dt_tag_attach_images(), dt_tag_attach_string_list(), dt_tag_detach_images(), and dt_tag_set_tags().
References dt_undo_t::disable_next, DT_DEBUG_UNDO, dt_print(), dt_pthread_mutex_init(), DT_UNDO_NONE, FALSE, dt_undo_t::group, dt_undo_t::group_indent, dt_undo_t::locked, dt_undo_t::mutex, dt_undo_t::redo_list, and dt_undo_t::undo_list.
Referenced by dt_init().
void dt_undo_iterate | ( | dt_undo_t * | self, |
uint32_t | filter, | ||
gpointer | user_data, | ||
void(*)(gpointer user_data, dt_undo_type_t type, dt_undo_data_t item) | apply | ||
) |
References dt_undo_iterate_internal(), LOCK, and UNLOCK.
Referenced by _lib_history_module_remove_callback().
void dt_undo_iterate_internal | ( | dt_undo_t * | self, |
uint32_t | filter, | ||
gpointer | user_data, | ||
void(*)(gpointer user_data, dt_undo_type_t type, dt_undo_data_t item) | apply | ||
) |
References _undo_iterate(), dt_undo_t::redo_list, and dt_undo_t::undo_list.
Referenced by _check_deleted_instances(), _create_deleted_modules(), and dt_undo_iterate().
void dt_undo_record | ( | dt_undo_t * | self, |
gpointer | user_data, | ||
dt_undo_type_t | type, | ||
dt_undo_data_t | data, | ||
void(*)(gpointer user_data, dt_undo_type_t type, dt_undo_data_t item, dt_undo_action_t action, GList **imgs) | undo, | ||
void(*)(gpointer data) | free_data | ||
) |
References _undo_record(), FALSE, and type.
Referenced by _image_duplicate_with_version(), _image_set_monochrome_flag(), _lib_history_change_callback(), dt_colorlabels_toggle_label_on_list(), dt_history_copy_and_paste_on_image(), dt_history_delete_on_image_ext(), dt_history_delete_on_list(), dt_history_load_and_apply(), dt_image_flip(), dt_image_set_datetime(), dt_image_set_datetimes(), dt_image_set_images_locations(), dt_image_set_locations(), dt_metadata_clear(), dt_metadata_set(), dt_metadata_set_list(), dt_metadata_set_list_id(), dt_ratings_apply_on_image(), dt_ratings_apply_on_list(), dt_styles_apply_to_image(), dt_tag_attach_images(), dt_tag_attach_string_list(), dt_tag_detach_images(), and dt_tag_set_tags().
void dt_undo_start_group | ( | dt_undo_t * | self, |
dt_undo_type_t | type | ||
) |
References _undo_record(), DT_DEBUG_UNDO, dt_print(), DT_UNDO_NONE, dt_undo_t::group, dt_undo_t::group_indent, TRUE, and type.
Referenced by dt_colorlabels_toggle_label_on_list(), dt_control_duplicate_images_job_run(), dt_control_flip_images_job_run(), dt_control_monochrome_images_job_run(), dt_history_copy_and_paste_on_image(), dt_history_delete_on_image_ext(), dt_history_delete_on_list(), dt_history_load_and_apply(), dt_history_load_and_apply_on_list(), dt_history_paste_on_list(), dt_history_paste_parts_on_list(), dt_image_set_datetime(), dt_image_set_datetimes(), dt_image_set_images_locations(), dt_image_set_locations(), dt_metadata_clear(), dt_metadata_set(), dt_metadata_set_list(), dt_metadata_set_list_id(), dt_multiple_styles_apply_to_list(), dt_ratings_apply_on_image(), dt_ratings_apply_on_list(), dt_styles_apply_to_image(), dt_styles_apply_to_list(), dt_tag_attach_images(), dt_tag_attach_string_list(), dt_tag_detach_images(), and dt_tag_set_tags().