![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Telling the user something happened. More...
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | dt_control_log (const char *msg,...) __attribute__((format(printf |
| Post a message to the log overlay drawn over the centre view. | |
| void void | dt_toast_log (const char *msg,...) __attribute__((format(printf |
Post a transient toast, escaping markup in msg. | |
| void void void | dt_toast_markup_log (const char *msg,...) __attribute__((format(printf |
Post a transient toast, interpreting Pango markup in msg. | |
| void void void void | dt_control_log_busy_enter () |
| void | dt_control_toast_busy_enter () |
| void | dt_control_log_busy_leave () |
| void | dt_control_toast_busy_leave () |
Telling the user something happened.
Split out of control/control.h, which 125 files include and 36 of them include for nothing else: twelve are IOP plugins compiling the whole view API to report one error, and one is in src/pixel, two layers below. control.h reaches libs/lib.h (a layer-7 header in a layer-3 one, because the progress vtable types its callbacks in dt_lib_module_t) and so hands 24 project headers to every includer.
This header deliberately includes NOTHING. Every signature below is plain C, so a file that only wants to say something to the user pays for exactly that. Keep it that way: the moment this needs a type from somewhere else, that type belongs in the caller's argument list, not in an include here.
WHERE THE MESSAGE GOES is not this header's business, and none of these is GUI-only – dt_control_log() is called from worker threads throughout, and the render half lives in control.c (log/toast rings) and, for the pipeline banner, in the orchestrator.
Definition in file user_message.h.
Post a message to the log overlay drawn over the centre view.
Definition at line 837 of file control.c.
References darktable_t::control, darktable, dt_control_queue_redraw_center(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_control_t::log_busy, and dt_control_t::log_mutex.
Referenced by dt_dev_darkroom_pipeline(), dt_iop_autoset_advance(), and expose().
| void dt_control_log_busy_leave | ( | ) |
Definition at line 853 of file control.c.
References darktable_t::control, darktable, dt_control_queue_redraw_center(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_control_t::log_busy, and dt_control_t::log_mutex.
Referenced by _dt_iop_autoset_progress_leave(), cleanup(), dt_dev_darkroom_pipeline(), expose(), and leave().
| void dt_control_toast_busy_enter | ( | ) |
Definition at line 845 of file control.c.
References darktable_t::control, darktable, dt_control_queue_redraw_center(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_control_t::toast_busy, and dt_control_t::toast_mutex.
Referenced by dt_dev_darkroom_pipeline().
| void dt_control_toast_busy_leave | ( | ) |
Definition at line 861 of file control.c.
References darktable_t::control, darktable, dt_control_queue_redraw_center(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_control_t::toast_busy, and dt_control_t::toast_mutex.
Referenced by dt_dev_darkroom_pipeline().