![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <control.h>
Collaboration diagram for dt_control_t:this manages everything time-consuming. distributes the jobs on all processors, performs scheduling.
| dt_lib_module_t *void *(* dt_control_t::added) (dt_lib_module_t *self, gboolean has_progress_bar, const gchar *message) |
Definition at line 286 of file control.h.
Referenced by dt_control_progress_create(), gui_cleanup(), and gui_init().
| int dt_control_t::button_down |
Definition at line 216 of file control.h.
Referenced by _dt_ctl_switch_mode_prepare(), dt_control_button_pressed(), dt_control_button_released(), dt_control_init(), gui_post_expose(), mouse_leave(), mouse_moved(), and mouse_moved().
| int dt_control_t::button_down_which |
Definition at line 216 of file control.h.
Referenced by _dt_ctl_switch_mode_prepare(), dt_control_button_pressed(), dt_control_button_released(), dt_control_init(), gui_post_expose(), mouse_leave(), mouse_moved(), and mouse_moved().
| int dt_control_t::button_type |
Definition at line 216 of file control.h.
Referenced by dt_control_button_pressed().
| double dt_control_t::button_x |
Definition at line 217 of file control.h.
Referenced by _darkroom_edge_pan_apply(), dt_control_button_pressed(), and mouse_moved().
| double dt_control_t::button_y |
Definition at line 217 of file control.h.
Referenced by _darkroom_edge_pan_apply(), dt_control_button_pressed(), and mouse_moved().
| void(* dt_control_t::cancellable) (dt_lib_module_t *self, struct dt_lib_backgroundjob_element_t *instance, dt_progress_t *progress) |
Definition at line 288 of file control.h.
Referenced by dt_control_progress_make_cancellable(), gui_cleanup(), and gui_init().
| pthread_cond_t dt_control_t::cond |
Definition at line 257 of file control.h.
Referenced by dt_control_add_job(), dt_control_add_job_res(), dt_control_init(), dt_control_shutdown(), dt_control_work(), dt_control_work_res(), and dt_control_worker_kicker().
| dt_pthread_mutex_t dt_control_t::cond_mutex |
Definition at line 256 of file control.h.
Referenced by dt_control_add_job(), dt_control_add_job_res(), dt_control_cleanup(), dt_control_init(), dt_control_quit(), dt_control_shutdown(), dt_control_work(), dt_control_work_res(), and dt_control_worker_kicker().
| dt_cursor_t dt_control_t::current_shape |
Definition at line 228 of file control.h.
Referenced by _control_store_current_cursor(), dt_control_change_cursor_by_name(), dt_control_change_cursor_EXT(), and dt_control_init().
| gchar* dt_control_t::current_shape_str |
Definition at line 230 of file control.h.
Referenced by _control_store_current_cursor(), dt_control_change_cursor_by_name(), dt_control_change_cursor_EXT(), dt_control_cleanup(), and dt_control_init().
| struct { ... } dt_control_t::cursor |
Referenced by _control_store_current_cursor(), dt_control_allow_change_cursor(), dt_control_change_cursor_by_name(), dt_control_change_cursor_EXT(), dt_control_cleanup(), dt_control_commit_cursor(), dt_control_forbid_change_cursor(), dt_control_init(), dt_control_queue_cursor_by_name(), dt_control_queue_cursor_EXT(), and dt_control_set_cursor_visible_EXT().
| void(* dt_control_t::destroyed) (dt_lib_module_t *self, struct dt_lib_backgroundjob_element_t *instance) |
Definition at line 287 of file control.h.
Referenced by dt_control_progress_destroy(), gui_cleanup(), and gui_init().
| gboolean dt_control_t::export_scheduled |
Definition at line 255 of file control.h.
Referenced by dt_control_jobs_cleanup(), dt_control_run_job(), and dt_control_schedule_job().
| dt_pthread_mutex_t dt_control_t::global_mutex |
Definition at line 250 of file control.h.
Referenced by dt_control_get_keyboard_over_id(), dt_control_get_mouse_over_id(), dt_control_init(), dt_control_set_keyboard_over_id(), and dt_control_set_mouse_over_id().
| double dt_control_t::global_progress |
Definition at line 275 of file control.h.
Referenced by global_progress_end(), global_progress_set(), and global_progress_start().
| pthread_t dt_control_t::gui_thread |
Definition at line 215 of file control.h.
Referenced by dt_control_init(), and dt_control_signal_raise().
| int32_t dt_control_t::height |
Definition at line 214 of file control.h.
Referenced by dt_control_button_pressed(), and dt_control_expose().
| gboolean dt_control_t::hide |
Force a blank GTK cursor while custom drawing owns the visible cursor.
Definition at line 232 of file control.h.
Referenced by dt_control_change_cursor_by_name(), dt_control_change_cursor_EXT(), dt_control_init(), and dt_control_set_cursor_visible_EXT().
| struct { ... } dt_control_t::hinter |
| dt_job_t** dt_control_t::job |
Definition at line 260 of file control.h.
Referenced by dt_control_add_job(), dt_control_flush_jobs_queue(), dt_control_jobs_cleanup(), dt_control_jobs_init(), dt_control_run_job(), and dt_control_schedule_job().
| dt_job_t* dt_control_t::job_res[DT_CTL_WORKER_RESERVED] |
Definition at line 266 of file control.h.
Referenced by dt_control_add_job_res(), dt_control_jobs_init(), and dt_control_run_job_res().
| int32_t dt_control_t::keyboard_over_id |
Definition at line 220 of file control.h.
Referenced by dt_control_get_keyboard_over_id(), dt_control_init(), dt_control_set_keyboard_over_id(), and dt_control_set_mouse_over_id().
| pthread_t dt_control_t::kick_on_workers_thread |
Definition at line 259 of file control.h.
Referenced by dt_control_jobs_init(), and dt_control_shutdown().
| GList* dt_control_t::list |
Definition at line 272 of file control.h.
Referenced by dt_control_progress_create(), dt_control_progress_destroy(), global_progress_end(), and gui_init().
| size_t dt_control_t::list_length |
Definition at line 273 of file control.h.
Referenced by dt_control_progress_create(), and dt_control_progress_destroy().
| gboolean dt_control_t::lock |
Prevent cursor shape commits while another subsystem owns the cursor.
Definition at line 225 of file control.h.
Referenced by dt_control_allow_change_cursor(), dt_control_change_cursor_by_name(), dt_control_change_cursor_EXT(), dt_control_forbid_change_cursor(), and dt_control_init().
| int dt_control_t::log_ack |
Definition at line 236 of file control.h.
Referenced by _dt_ctl_log_message_timeout_callback(), _ui_log_redraw_callback(), dt_control_button_pressed(), dt_control_init(), and dt_control_log().
| int dt_control_t::log_busy |
Definition at line 239 of file control.h.
Referenced by dt_control_commit_cursor(), dt_control_expose(), dt_control_init(), dt_control_log_busy_enter(), and dt_control_log_busy_leave().
| char dt_control_t::log_message[10][1000] |
Definition at line 237 of file control.h.
Referenced by _ui_log_redraw_callback(), and dt_control_log().
| guint dt_control_t::log_message_timeout_id |
Definition at line 238 of file control.h.
Referenced by _dt_ctl_log_message_timeout_callback(), dt_control_button_pressed(), dt_control_init(), and dt_control_log().
| dt_pthread_mutex_t dt_control_t::log_mutex |
Definition at line 240 of file control.h.
Referenced by _dt_ctl_log_message_timeout_callback(), _ui_log_redraw_callback(), dt_cleanup(), dt_control_button_pressed(), dt_control_cleanup(), dt_control_expose(), dt_control_init(), dt_control_log(), dt_control_log_busy_enter(), dt_control_log_busy_leave(), dt_dev_pixelpipe_process_rec(), and dt_init().
| int dt_control_t::log_pos |
Definition at line 236 of file control.h.
Referenced by _dt_ctl_log_message_timeout_callback(), _ui_log_redraw_callback(), dt_control_button_pressed(), dt_control_init(), and dt_control_log().
| void(* dt_control_t::message_updated) (dt_lib_module_t *self, struct dt_lib_backgroundjob_element_t *instance, const char *message) |
Definition at line 291 of file control.h.
Referenced by dt_control_progress_set_message(), and gui_init().
| int32_t dt_control_t::mouse_over_id |
Definition at line 219 of file control.h.
Referenced by dt_control_get_mouse_over_id(), dt_control_init(), and dt_control_set_mouse_over_id().
| dt_pthread_mutex_t dt_control_t::mutex |
Definition at line 276 of file control.h.
Referenced by dt_control_cleanup(), dt_control_init(), dt_control_progress_create(), dt_control_progress_destroy(), dt_control_progress_make_cancellable(), dt_control_progress_set_message(), dt_control_progress_set_progress(), gui_cleanup(), and gui_init().
| size_t dt_control_t::n_progress_bar |
Definition at line 274 of file control.h.
Referenced by global_progress_end(), and global_progress_start().
| uint8_t dt_control_t::new_res[DT_CTL_WORKER_RESERVED] |
Definition at line 267 of file control.h.
Referenced by dt_control_add_job_res(), dt_control_jobs_init(), and dt_control_run_job_res().
| int32_t dt_control_t::num_threads |
Definition at line 258 of file control.h.
Referenced by dt_control_add_job(), dt_control_flush_jobs_queue(), dt_control_get_threadid(), dt_control_jobs_init(), and dt_control_shutdown().
| struct { ... } dt_control_t::progress_system |
Referenced by dt_control_cleanup(), dt_control_init(), dt_control_progress_create(), dt_control_progress_destroy(), dt_control_progress_make_cancellable(), dt_control_progress_set_message(), dt_control_progress_set_progress(), global_progress_end(), global_progress_set(), global_progress_start(), gui_cleanup(), and gui_init().
| struct { ... } dt_control_t::proxy |
| struct { ... } dt_control_t::proxy |
| size_t dt_control_t::queue_length[DT_JOB_QUEUE_MAX] |
Definition at line 263 of file control.h.
Referenced by dt_control_add_job(), and dt_control_schedule_job().
| dt_pthread_mutex_t dt_control_t::queue_mutex |
Definition at line 256 of file control.h.
Referenced by dt_control_add_job(), dt_control_cleanup(), dt_control_flush_jobs_queue(), dt_control_init(), dt_control_run_job(), and dt_control_schedule_job().
| GList* dt_control_t::queues[DT_JOB_QUEUE_MAX] |
Definition at line 262 of file control.h.
Referenced by dt_control_add_job(), dt_control_jobs_cleanup(), and dt_control_schedule_job().
| dt_pthread_mutex_t dt_control_t::res_mutex |
Definition at line 265 of file control.h.
Referenced by dt_control_add_job_res(), dt_control_cleanup(), dt_control_init(), and dt_control_run_job_res().
| dt_pthread_mutex_t dt_control_t::run_mutex |
Definition at line 256 of file control.h.
Referenced by dt_cleanup(), dt_control_cleanup(), dt_control_init(), dt_control_jobs_init(), dt_control_quit(), dt_control_running(), dt_control_shutdown(), and dt_init().
| int32_t dt_control_t::running |
Definition at line 254 of file control.h.
Referenced by _lib_backgroundjobs_cancellable(), _lib_backgroundjobs_message_updated(), _lib_backgroundjobs_updated(), dt_control_add_job(), dt_control_jobs_init(), dt_control_quit(), dt_control_running(), dt_control_shutdown(), and dt_init().
| dt_lib_module_t *void(* dt_control_t::set_message) (dt_lib_module_t *self, const gchar *message) |
| dt_cursor_t dt_control_t::shape |
Cursor shape to draw at the end of mouse_moved.
Definition at line 227 of file control.h.
Referenced by dt_control_commit_cursor(), dt_control_init(), and dt_control_queue_cursor_EXT().
| gchar* dt_control_t::shape_str |
Definition at line 229 of file control.h.
Referenced by dt_control_cleanup(), dt_control_commit_cursor(), dt_control_init(), dt_control_queue_cursor_by_name(), and dt_control_queue_cursor_EXT().
| double dt_control_t::tabborder |
Definition at line 213 of file control.h.
Referenced by dt_gui_gtk_run().
| pthread_t* dt_control_t::thread |
Definition at line 259 of file control.h.
Referenced by dt_control_jobs_cleanup(), dt_control_jobs_init(), and dt_control_shutdown().
| pthread_t dt_control_t::thread_res[DT_CTL_WORKER_RESERVED] |
Definition at line 268 of file control.h.
Referenced by dt_control_jobs_init(), and dt_control_shutdown().
| int dt_control_t::toast_ack |
Definition at line 243 of file control.h.
Referenced by _dt_ctl_toast_message_timeout_callback(), _toast_log(), _ui_toast_redraw_callback(), dt_control_button_pressed(), and dt_control_init().
| int dt_control_t::toast_busy |
Definition at line 246 of file control.h.
Referenced by dt_control_init(), dt_control_toast_busy_enter(), and dt_control_toast_busy_leave().
| char dt_control_t::toast_message[10][300] |
Definition at line 244 of file control.h.
Referenced by _toast_log(), and _ui_toast_redraw_callback().
| guint dt_control_t::toast_message_timeout_id |
Definition at line 245 of file control.h.
Referenced by _dt_ctl_toast_message_timeout_callback(), _toast_log(), dt_control_button_pressed(), and dt_control_init().
| dt_pthread_mutex_t dt_control_t::toast_mutex |
Definition at line 247 of file control.h.
Referenced by _dt_ctl_toast_message_timeout_callback(), _toast_log(), _ui_toast_redraw_callback(), dt_control_button_pressed(), dt_control_cleanup(), dt_control_init(), dt_control_toast_busy_enter(), and dt_control_toast_busy_leave().
| int dt_control_t::toast_pos |
Definition at line 243 of file control.h.
Referenced by _dt_ctl_toast_message_timeout_callback(), _toast_log(), _ui_toast_redraw_callback(), dt_control_button_pressed(), and dt_control_init().
| void(* dt_control_t::updated) (dt_lib_module_t *self, struct dt_lib_backgroundjob_element_t *instance, double value) |
Definition at line 290 of file control.h.
Referenced by dt_control_progress_set_progress(), gui_cleanup(), and gui_init().
| int32_t dt_control_t::width |
Definition at line 214 of file control.h.
Referenced by dt_control_expose().