![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Functions | |
| void | dt_history_set_message_handler (dt_history_message_handler_t handler) |
| Install the handler, or NULL to remove it. Messages raised with none installed are dropped. | |
| void | dt_history_message (const char *format,...) |
| void | dt_history_set_toast_handler (dt_history_toast_handler_t handler) |
| void | dt_history_toast (const char *format,...) |
| void | dt_history_set_changed_handler (dt_history_changed_handler_t handler) |
| void | dt_history_changed (const dt_history_change_t what) |
| Raise it. Internal to this code. | |
| void | dt_history_set_images_changed_handler (dt_history_images_changed_handler_t handler) |
| void | dt_history_changed_images (const GList *imgs) |
Variables | |
| static dt_history_message_handler_t | _message_handler = NULL |
| static dt_history_changed_handler_t | _changed_handler = NULL |
| static dt_history_images_changed_handler_t | _images_changed_handler = NULL |
| static dt_history_toast_handler_t | _toast_handler = NULL |
| void dt_history_changed | ( | const dt_history_change_t | what | ) |
Raise it. Internal to this code.
Definition at line 82 of file history/notify.c.
References _changed_handler.
Referenced by _history_action_finalize_list(), _history_snapshot_undo_restore(), _pop_undo(), dt_apply_dev_history_update(), dt_history_delete_on_image(), dt_styles_create_from_image(), dt_styles_create_from_style(), dt_styles_delete_by_name_adv(), dt_styles_import_from_file(), and dt_styles_update().
| void dt_history_changed_images | ( | const GList * | imgs | ) |
Definition at line 93 of file history/notify.c.
References _images_changed_handler.
Referenced by _history_action_finalize_list().
| void dt_history_message | ( | const char * | format, |
| ... ) |
Definition at line 36 of file history/notify.c.
References _message_handler, dt_free, and dt_history_message_handler_t.
Referenced by _dt_styles_apply_item_to_module(), _read_mask_row(), _sync_params(), dt_history_copy_and_paste_on_image(), dt_history_merge(), dt_multiple_styles_apply_to_list(), dt_style_save(), dt_styles_create_from_style(), dt_styles_create_style_header(), dt_styles_import_from_file(), and dt_styles_save_to_file().
| void dt_history_set_changed_handler | ( | dt_history_changed_handler_t | handler | ) |
Definition at line 77 of file history/notify.c.
References _changed_handler.
Referenced by dt_init().
| void dt_history_set_images_changed_handler | ( | dt_history_images_changed_handler_t | handler | ) |
Definition at line 88 of file history/notify.c.
References _images_changed_handler.
Referenced by dt_init().
| void dt_history_set_message_handler | ( | dt_history_message_handler_t | handler | ) |
Install the handler, or NULL to remove it. Messages raised with none installed are dropped.
Definition at line 31 of file history/notify.c.
References _message_handler, and dt_history_message_handler_t.
Referenced by dt_init().
| void dt_history_set_toast_handler | ( | dt_history_toast_handler_t | handler | ) |
Definition at line 55 of file history/notify.c.
References _toast_handler, and dt_history_toast_handler_t.
Referenced by dt_init().
| void dt_history_toast | ( | const char * | format, |
| ... ) |
Definition at line 60 of file history/notify.c.
References _toast_handler, dt_free, and dt_history_toast_handler_t.
Referenced by dt_dev_history_notify_change(), and dt_history_toast().
|
static |
Definition at line 28 of file history/notify.c.
Referenced by dt_history_changed(), and dt_history_set_changed_handler().
|
static |
Definition at line 29 of file history/notify.c.
Referenced by dt_history_changed_images(), and dt_history_set_images_changed_handler().
|
static |
Definition at line 27 of file history/notify.c.
|
static |
Definition at line 53 of file history/notify.c.
Referenced by dt_history_set_toast_handler(), and dt_history_toast().