![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "darktable.h"#include "metadata/colorlabels.h"#include "gui/screen_metrics.h"#include "widgets/widget_settings.h"#include "widgets/resize_handle.h"#include "colorprofiles/colorspaces.h"#include "common/l10n.h"#include "common/file_location.h"#include "common/utility.h"#include "gui/guides.h"#include "widgets/expander.h"#include "gui/application.h"#include "common/thumbnail_notify.h"#include "gui/common/film_gui.h"#include "gui/common/folder_survey_gui.h"#include "gui/develop/history_merge_gui.h"#include "gui/common/collection_gui.h"#include "common/startup_progress.h"#include "gui/dtgtk/thumbtable.h"#include "gui/splash.h"#include "common/conf.h"#include "control/control.h"#include "control/jobs.h"#include "control/signal.h"#include "gui/presets.h"#include "views/view.h"#include <gdk/gdkkeysyms.h>#include <gdk/gdkwin32.h>#include <gtk/gtk.h>#include <math.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include "widgets/container.h"#include "widgets/widget_style.h"
Include dependency graph for application.c:Go to the source code of this file.
Data Structures | |
| struct | dt_tablet_motion_state_t |
| struct | _spacing_ctx_t |
Macros | |
| #define | DT_WIN32_CURSOR_SUBCLASS_CENTER ((UINT_PTR)0x41534e4e) |
| #define | DT_ACCEL_SEARCH_RECENT_KEY "plugins/accel_search/recent_entries" |
Typedefs | |
| typedef struct dt_tablet_motion_state_t | dt_tablet_motion_state_t |
| typedef struct _spacing_ctx_t | _spacing_ctx_t |
Variables | |
| static dt_tablet_motion_state_t | _tablet_motion_state = { 0 } |
| static gint | _last_box_spacing = 10 |
| #define DT_ACCEL_SEARCH_RECENT_KEY "plugins/accel_search/recent_entries" |
Definition at line 921 of file application.c.
| #define DT_WIN32_CURSOR_SUBCLASS_CENTER ((UINT_PTR)0x41534e4e) |
Definition at line 840 of file application.c.
|
static |
Definition at line 1001 of file application.c.
References DT_ACCEL_SEARCH_RECENT_KEY, dt_conf_get_string(), dt_conf_key_exists(), dt_free, key, L, and value.
Referenced by dt_gui_gtk_init().
Definition at line 1009 of file application.c.
References DT_ACCEL_SEARCH_RECENT_KEY, dt_conf_set_string(), dt_free, key, L, and value.
Referenced by dt_gui_gtk_init().
Definition at line 993 of file application.c.
References dt_gui_get_global(), dt_gui_get_ui(), DT_UI_PANEL_TOP, IS_NULL_PTR, L, and dt_ui_t::panels.
Referenced by dt_gui_gtk_init().
|
static |
Definition at line 799 of file application.c.
References _extract_pointer_input(), darktable, dt_control_button_pressed(), dt_control_set_pointer_input(), dt_widget_set_scroll_focus(), FALSE, darktable_t::gui, dt_control_pointer_input_t::has_pressure, L, dt_ui_t::main_window, dt_control_pointer_input_t::pressure, TRUE, and dt_gui_gtk_t::ui.
Referenced by dt_gui_gtk_init().
|
static |
Definition at line 815 of file application.c.
References _extract_pointer_input(), darktable, dt_control_button_released(), dt_control_set_pointer_input(), FALSE, darktable_t::gui, L, dt_ui_t::main_window, TRUE, and dt_gui_gtk_t::ui.
Referenced by dt_gui_gtk_init().
|
static |
Definition at line 886 of file application.c.
References dt_control_mouse_enter(), and TRUE.
Referenced by dt_gui_gtk_init().
|
static |
Definition at line 880 of file application.c.
References dt_control_mouse_leave(), and TRUE.
Referenced by dt_gui_gtk_init().
Definition at line 856 of file application.c.
References _center_win32_cursor_proc(), DT_WIN32_CURSOR_SUBCLASS_CENTER, IS_NULL_PTR, and L.
Referenced by dt_gui_gtk_init().
Definition at line 864 of file application.c.
References _center_win32_cursor_proc(), DT_WIN32_CURSOR_SUBCLASS_CENTER, IS_NULL_PTR, and L.
Referenced by dt_gui_gtk_init().
|
static |
Definition at line 842 of file application.c.
References DT_WIN32_CURSOR_SUBCLASS_CENTER, L, and TRUE.
Referenced by _center_realize(), and _center_unrealize().
Definition at line 393 of file application.c.
References MAX, MIN, and value.
Referenced by _extract_pointer_input().
|
static |
Definition at line 326 of file application.c.
References _update_display_profile(), darktable, dt_cairo_image_surface_create(), dt_configure_ppd_dpi(), dt_control_configure(), darktable_t::gui, L, and dt_gui_gtk_t::surface.
Referenced by dt_gui_gtk_init().
Definition at line 186 of file application.c.
References darktable, dt_control_expose(), darktable_t::gui, L, dt_gui_gtk_t::surface, and TRUE.
Referenced by dt_gui_gtk_init().
Definition at line 398 of file application.c.
References IS_NULL_PTR, and L.
Referenced by _get_axis_value_for_source().
|
static |
Definition at line 569 of file application.c.
References _clamp01d(), _get_axis_value_for_source(), _sample_axis_from_device_state(), _sample_tablet_state_from_devices(), _tablet_motion_state, dt_control_pointer_input_t::acceleration, darktable, DT_DEBUG_INPUT, dt_print(), dt_ui_center(), FALSE, darktable_t::gui, dt_control_pointer_input_t::has_pressure, dt_control_pointer_input_t::has_tilt, dt_tablet_motion_state_t::have_pressure, dt_tablet_motion_state_t::have_tilt, IS_NULL_PTR, L, MAX, dt_control_pointer_input_t::pressure, dt_tablet_motion_state_t::pressure, dt_tablet_motion_state_t::speed_px_s, dt_control_pointer_input_t::tilt, dt_control_pointer_input_t::tilt_x, dt_tablet_motion_state_t::tilt_x, dt_control_pointer_input_t::tilt_y, dt_tablet_motion_state_t::tilt_y, dt_control_pointer_input_t::time_ms, dt_tablet_motion_state_t::time_ms, TRUE, dt_gui_gtk_t::ui, dt_tablet_motion_state_t::valid, window, x, dt_control_pointer_input_t::x, dt_tablet_motion_state_t::x, dt_control_pointer_input_t::y, and dt_tablet_motion_state_t::y.
Referenced by _button_pressed(), _button_released(), and _mouse_moved().
|
static |
Definition at line 1431 of file application.c.
Referenced by _init_widgets().
|
static |
Definition at line 415 of file application.c.
References _event_axes(), FALSE, IS_NULL_PTR, L, TRUE, and value.
Referenced by _extract_pointer_input().
Definition at line 1029 of file application.c.
References dt_gui_get_ui(), dt_thumbtable_refresh_thumbnail, IS_NULL_PTR, L, dt_ui_t::thumbtable_filmstrip, dt_ui_t::thumbtable_lighttable, and TRUE.
Referenced by dt_gui_gtk_init().
Definition at line 1018 of file application.c.
References dt_gui_splash_init(), and dt_gui_splash_updatef().
Referenced by dt_gui_gtk_init().
|
static |
Definition at line 1449 of file application.c.
References _focus_in_out_event(), _key_pressed(), _scrolled(), _ui_log_button_press_event(), _ui_log_redraw_callback(), _ui_toast_button_press_event(), _ui_toast_redraw_callback(), _ui_widget_redraw_callback(), dt_ui_t::center_base, container(), darktable, dt_conf_get_bool(), dt_conf_get_int(), dt_conf_key_exists(), dt_configure_ppd_dpi(), dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_CONNECT, dt_gui_add_class(), DT_GUI_BOX_SPACING, dt_gui_quit_callback(), dt_gui_splash_set_transient_for(), DT_PIXEL_APPLY_DPI, DT_SIGNAL_CONTROL_LOG_REDRAW, DT_SIGNAL_CONTROL_REDRAW_ALL, DT_SIGNAL_CONTROL_TOAST_REDRAW, dt_ui_init_main_table(), dt_ui_init_titlebar(), dt_ui_log_msg(), dt_ui_main_window(), dt_ui_toast_msg(), dt_widget_scroll_mask(), FALSE, darktable_t::gui, height, IS_NULL_PTR, L, dt_ui_t::log_msg, dt_ui_t::main_window, MAX, dt_ui_t::toast_msg, TRUE, dt_gui_gtk_t::ui, width, and x.
Referenced by dt_gui_gtk_init().
|
static |
Definition at line 873 of file application.c.
References darktable, dt_control_key_pressed(), FALSE, darktable_t::gui, L, dt_ui_t::main_window, TRUE, and dt_gui_gtk_t::ui.
Referenced by _init_widgets(), and dt_gui_gtk_init().
|
static |
Definition at line 826 of file application.c.
References _extract_pointer_input(), darktable, dt_control_mouse_moved(), dt_control_set_pointer_input(), FALSE, darktable_t::gui, dt_control_pointer_input_t::has_pressure, L, dt_ui_t::main_window, dt_control_pointer_input_t::pressure, and dt_gui_gtk_t::ui.
Referenced by dt_gui_gtk_init().
Definition at line 978 of file application.c.
References dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_SIGNAL_CONTROL_NOTEBOOK_TAB_CHANGED, and L.
Referenced by dt_gui_gtk_init().
Definition at line 973 of file application.c.
References dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, and DT_SIGNAL_CONTROL_PROFILE_CHANGED.
Referenced by dt_gui_gtk_init().
Definition at line 1380 of file application.c.
References _last_box_spacing, _refresh_container_spacing(), DT_GUI_BOX_SPACING, and L.
Referenced by dt_gui_update_em().
Definition at line 1350 of file application.c.
References _refresh_container_spacing(), and L.
Referenced by _refresh_all_container_spacing(), and _refresh_container_spacing().
|
static |
Definition at line 436 of file application.c.
References FALSE, IS_NULL_PTR, L, value, and window.
Referenced by _extract_pointer_input().
|
static |
Definition at line 457 of file application.c.
References darktable, dt_ui_center(), FALSE, darktable_t::gui, i, IS_NULL_PTR, L, p, TRUE, dt_gui_gtk_t::ui, and window.
Referenced by _extract_pointer_input().
|
static |
Definition at line 198 of file application.c.
References darktable, dt_gui_get_scroll_unit_delta(), dt_view_manager_scrolled(), FALSE, darktable_t::gui, L, dt_ui_t::main_window, dt_gui_gtk_t::ui, and darktable_t::view_manager.
Referenced by _init_widgets(), and dt_gui_gtk_init().
|
static |
Definition at line 1437 of file application.c.
Referenced by _init_widgets().
Definition at line 1690 of file application.c.
References dt_control_get_global(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), L, and dt_control_t::log_mutex.
Referenced by _init_widgets().
|
static |
Definition at line 1443 of file application.c.
Referenced by _init_widgets().
Definition at line 1713 of file application.c.
References darktable, dt_control_get_global(), DT_PIXEL_APPLY_DPI, dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_ui_center_base(), darktable_t::gui, L, dt_control_t::toast_mutex, and dt_gui_gtk_t::ui.
Referenced by _init_widgets().
Definition at line 966 of file application.c.
References DT_COLORSPACE_DISPLAY, dt_colorspaces_set_display_profile(), dt_control_running(), and dt_gui_center_widget().
Referenced by _configure(), _window_configure(), dt_colorspaces_set_display_profile(), and dt_gui_gtk_init().
Definition at line 983 of file application.c.
References dt_control_change_cursor.
Referenced by dt_gui_gtk_init().
Definition at line 988 of file application.c.
References dt_toast_log().
Referenced by dt_gui_gtk_init().
Definition at line 928 of file application.c.
References dt_gui_get_ui(), dt_ui_panel_ancestor(), dt_ui_panel_get_size(), DT_UI_PANEL_LEFT, DT_UI_PANEL_RIGHT, and IS_NULL_PTR.
Referenced by dt_gui_gtk_init().
Definition at line 923 of file application.c.
References dt_gui_main_window().
Referenced by dt_gui_gtk_init().
Definition at line 958 of file application.c.
References dt_conf_set_bool(), key, and value.
Referenced by dt_gui_gtk_init().
Definition at line 948 of file application.c.
References dt_conf_set_int(), key, and value.
Referenced by dt_gui_gtk_init().
Definition at line 953 of file application.c.
References dt_conf_get_bool(), and key.
Referenced by dt_gui_gtk_init().
Definition at line 941 of file application.c.
References dt_conf_get_int(), dt_conf_key_exists(), FALSE, key, TRUE, and value.
Referenced by dt_gui_gtk_init().
Definition at line 363 of file application.c.
References _update_display_profile(), and FALSE.
Referenced by dt_gui_gtk_init().
| void dt_configure_ppd_dpi | ( | dt_gui_gtk_t * | gui | ) |
Definition at line 1297 of file application.c.
References dt_gui_gtk_t::dpi, dt_gui_gtk_t::dpi_factor, dt_conf_get_float(), DT_DEBUG_CONTROL, dt_get_system_gui_ppd(), dt_gui_update_em(), dt_osx_autoset_dpi(), dt_print(), dt_screen_set_dpi(), dt_widget_set_dpi_factor(), dt_widget_set_image_filter(), dt_widget_set_ppd(), dt_gui_gtk_t::filter_image, L, dt_ui_t::main_window, dt_gui_gtk_t::ppd, and dt_gui_gtk_t::ui.
Referenced by _configure(), _init_widgets(), and dpi_scaling_changed_callback().
Definition at line 1752 of file application.c.
References L.
Referenced by _blendop_create_notebook_page(), _blendop_create_toggle_page(), _build_overexposed_popover(), _build_rawoverexposed_popover(), _build_softproof_gamut_popover(), _filmstrip_setup_parent(), _grid_setup_parent(), _styles_open_popup_callback(), dt_iop_gui_init_blending_body(), dt_iop_gui_set_expander(), dt_thumbtable_new(), dt_view_manager_switch_by_view(), export_files_callback(), and gui_init().
Definition at line 168 of file application.c.
References dt_gui_get_global(), and dt_ui_center().
Referenced by _control_apply_cursor(), _darkroom_edge_pan_tick(), _dt_ctl_switch_mode_prepare(), _focus_main_image(), _lib_tagging_tag_show_accel(), _masks_shape_button_pressed(), _slideshow_request_slot(), _update_display_profile(), _view_surface_commit_main(), button_pressed(), dt_control_expose(), dt_dev_pixelpipe_change_zoom_main(), dt_masks_creation_mode_enter(), enter(), expose(), expose(), gui_init(), leave(), and mouse_moved().
| struct dt_accels_t * dt_gui_get_accels | ( | void | ) |
Definition at line 158 of file application.c.
References dt_gui_gtk_t::accels, and dt_gui_get_global().
Referenced by _iop_panel_label(), _is_scroll_captured_by_widget(), _open_accel_search_callback(), _styles_add_menu_entry(), _styles_get_submenu(), add_sub_menu_entry(), add_sub_sub_menu_entry(), add_top_menu_entry(), add_top_submenu_entry(), dt_dev_toolbox_add_accels(), dt_iop_gui_cleanup_module(), dt_lib_init_module(), dt_lib_unload_module(), dt_thumbtable_new(), enter(), gui_cleanup(), gui_init(), gui_init(), leave(), search_accels_callback(), set_menu_entry(), and shortcuts_callback().
Definition at line 153 of file application.c.
References dt_gui_get_global(), and dt_gui_gtk_t::ui.
Referenced by _accels_top_offset(), _cache_wait_cursor_progress(), _cache_wait_cursor_restore(), _control_apply_cursor(), _culling_mode(), _dt_collection_changed_callback(), _ensure_page_widgets(), _film_strip_activated(), _focus_checked(), _focus_next_module(), _focus_previous_module(), _focus_toggle_callback(), _gui_refresh_thumbnail(), _gui_set_single_expanded(), _jpg_combobox_changed(), _metadata_view_get_thumb_info(), _open_accel_search_callback(), _open_uri(), _preview_pipe_finished(), _prompt_layer_name_dialog(), _set_columns(), _show_drawlayer_modal_message(), _show_drawlayer_wait_dialog(), _thumbtable_clone_lut(), _toggle_side_borders_accel_callback(), _view_map_button_press_callback(), _view_map_filmstrip_activate_callback(), _view_map_selection_changed(), _widget_natural_width(), _zoom_checked(), _zoom_combobox_changed(), always_hide_overlays_callback(), always_show_overlays_callback(), clear_image_cache(), configure(), dt_control_hinter_message(), dt_iop_gui_set_expander(), dt_masks_gui_confirm_delete_form_dialog(), dt_masks_gui_confirm_permanent_delete(), dt_thumbtable_key_pressed_grid(), dt_thumbtable_key_released_grid(), dt_view_image_info_update(), dt_view_manager_switch_by_view(), enter(), filmstrip_callback(), filmstrip_checked_callback(), focus_peaking_callback(), focus_peaking_checked_callback(), full_screen_callback(), group_borders_callback(), gui_cleanup(), gui_init(), hover_overlays_callback(), invert_selection_callback(), key_pressed(), leave(), panel_left_callback(), panel_left_checked_callback(), panel_right_callback(), panel_right_checked_callback(), panel_top_callback(), panel_top_checked_callback(), preload_auto_callback(), scroll_to_selection_callback(), and select_all_callback().
| int dt_gui_gtk_init | ( | dt_gui_gtk_t * | gui | ) |
Definition at line 1042 of file application.c.
References _accels_recent_get(), _accels_recent_set(), _accels_top_offset(), _button_pressed(), _button_released(), _center_enter(), _center_leave(), _center_realize(), _center_unrealize(), _configure(), _draw(), _get_axis_name(), _get_mode_name(), _get_source_name(), _gui_refresh_thumbnail(), _gui_startup_progress(), _init_widgets(), _key_pressed(), _mouse_moved(), _notebook_page_changed(), _notify_profile_changed(), _scrolled(), _update_display_profile(), _widget_cursor(), _widget_message(), _widget_natural_width(), _widget_root_window(), _widget_store_bool(), _widget_store_int(), _widget_stored_bool(), _widget_stored_int(), _window_configure(), dt_gui_gtk_t::accels, dt_ui_t::center, dt_gui_gtk_t::center_tooltip, dt_gui_gtk_t::culling_mode, darktable, dt_accels_dispatch(), dt_accels_init(), dt_accels_set_global(), dt_accels_set_recent_handlers(), dt_accels_set_refocus_handler(), dt_accels_set_top_offset_handler(), dt_collection_gui_register_handlers(), dt_colorspaces_set_profile_changed_handler(), dt_concat_path_file(), dt_conf_get_bool(), dt_conf_get_string_const(), dt_control_change_cursor, dt_control_get_global(), DT_DEBUG_INPUT, DT_DEBUG_MASKS, dt_film_gui_register_handlers(), dt_folder_survey_gui_register_handlers(), dt_free, dt_get_debug_flags(), dt_gui_freeze_reset(), dt_gui_load_theme(), dt_gui_presets_init(), dt_gui_refocus_center(), dt_guides_set_overlay_colors(), dt_history_merge_gui_register_handlers(), dt_l10n_get_current_lang(), dt_l10n_get_global(), dt_loc_get_datadir(), dt_loc_get_sharedir(), dt_loc_get_user_config_dir(), dt_print(), dt_pthread_mutex_init(), dt_startup_progress_set_handler(), dt_thumbnail_notify_set_handler(), dt_ui_center(), dt_ui_main_window(), DT_UI_SCALE_DEVICE, dt_widget_scroll_mask(), dt_widget_set_cursor_handler(), dt_widget_set_debug_overlays(), dt_widget_set_gui_thread(), dt_widget_set_message_handler(), dt_widget_set_mouse_radius(), dt_widget_set_natural_width_handler(), dt_widget_set_notebook_page_handler(), dt_widget_set_refocus_handler(), dt_widget_set_root_window_handler(), dt_widget_set_scroll_focus(), dt_widget_set_scroll_mask(), dt_widget_set_scroll_reversed(), dt_widget_set_storage_handlers(), dt_gui_gtk_t::export_popup, FALSE, flags, dt_gui_gtk_t::gtkrc, darktable_t::gui, i, IS_NULL_PTR, L, dt_gui_gtk_t::last_preset, dt_gui_gtk_t::mutex, PATH_MAX, dt_gui_gtk_t::presets_popup_menu, dt_gui_gtk_t::styles_popup, dt_gui_gtk_t::surface, TRUE, dt_gui_gtk_t::ui, and dt_gui_gtk_t::window.
Referenced by dt_init().
| void dt_gui_gtk_quit | ( | ) |
Definition at line 271 of file application.c.
References darktable, dt_gui_add_class(), dt_gui_gtk_write_config(), dt_ui_cleanup_titlebar(), dt_ui_main_window(), darktable_t::gui, L, and dt_gui_gtk_t::ui.
Referenced by dt_control_quit().
| void dt_gui_gtk_run | ( | dt_gui_gtk_t * | gui | ) |
Definition at line 1257 of file application.c.
References darktable, dt_cairo_image_surface_create(), dt_cleanup(), dt_control_get_global(), dt_osx_focus_window(), dt_ui_center(), dt_view_manager_configure(), darktable_t::gui, L, dt_gui_gtk_t::surface, dt_control_t::tabborder, dt_gui_gtk_t::ui, and darktable_t::view_manager.
Referenced by main().
| int dt_gui_gtk_write_config | ( | ) |
Definition at line 214 of file application.c.
References darktable, dt_conf_set_bool(), dt_conf_set_int(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_ui_main_window(), FALSE, darktable_t::gui, height, i, IS_NULL_PTR, L, dt_gui_gtk_t::mutex, TRUE, dt_gui_gtk_t::ui, width, and x.
Referenced by dt_gui_gtk_quit().
Definition at line 1759 of file application.c.
References darktable, dt_conf_get_bool(), dt_conf_get_float(), dt_conf_key_exists(), dt_conf_set_bool(), dt_conf_set_string(), dt_free, DT_GUI_COLOR_BG, DT_GUI_COLOR_BRUSH_CURSOR, DT_GUI_COLOR_BRUSH_TRACE, DT_GUI_COLOR_BUTTON_FG, DT_GUI_COLOR_DARKROOM_BG, DT_GUI_COLOR_DARKROOM_PREVIEW_BG, DT_GUI_COLOR_FILMSTRIP_BG, DT_GUI_COLOR_LAST, DT_GUI_COLOR_LIGHTTABLE_BG, DT_GUI_COLOR_LIGHTTABLE_FONT, DT_GUI_COLOR_LIGHTTABLE_PREVIEW_BG, DT_GUI_COLOR_LOG_BG, DT_GUI_COLOR_LOG_FG, DT_GUI_COLOR_MAP_COUNT_BG, DT_GUI_COLOR_MAP_COUNT_DIFF_LOC, DT_GUI_COLOR_MAP_COUNT_SAME_LOC, DT_GUI_COLOR_MAP_LOC_SHAPE_DEF, DT_GUI_COLOR_MAP_LOC_SHAPE_HIGH, DT_GUI_COLOR_MAP_LOC_SHAPE_LOW, DT_GUI_COLOR_PREVIEW_HOVER_BORDER, DT_GUI_COLOR_PRINT_BG, DT_GUI_COLOR_THUMBNAIL_BG, DT_GUI_COLOR_THUMBNAIL_BORDER, DT_GUI_COLOR_THUMBNAIL_FONT, DT_GUI_COLOR_THUMBNAIL_HOVER_BG, DT_GUI_COLOR_THUMBNAIL_HOVER_FONT, DT_GUI_COLOR_THUMBNAIL_HOVER_OUTLINE, DT_GUI_COLOR_THUMBNAIL_OUTLINE, DT_GUI_COLOR_THUMBNAIL_SELECTED_BG, DT_GUI_COLOR_THUMBNAIL_SELECTED_BORDER, DT_GUI_COLOR_THUMBNAIL_SELECTED_FONT, DT_GUI_COLOR_THUMBNAIL_SELECTED_OUTLINE, DT_GUI_COLOR_WARNING, dt_gui_update_em(), dt_loc_get_datadir(), dt_loc_get_user_config_dir(), dt_ui_main_window(), dt_util_str_replace(), dt_widget_colors(), dt_widget_set_theme_loaded(), error(), darktable_t::gui, i, init(), IS_NULL_PTR, L, name, PATH_MAX, TRUE, and dt_gui_gtk_t::ui.
Referenced by dt_gui_gtk_init(), reload_ui_last_theme(), and theme_callback().
Definition at line 163 of file application.c.
References dt_gui_get_global(), and dt_ui_main_window().
Referenced by _act_folders_relocate(), _active_modules_popup(), _apply_rename_path(), _ask_and_delete(), _ask_before_delete_style(), _ask_text(), _choose_gpx_callback(), _confirm(), _confirm_delete_layer(), _confirm_pending_import(), _control_apply_cursor(), _datetime_key_pressed(), _delete_tagids(), _dt_delete_dialog_main_thread(), _edit_preset(), _enter_key_pressed(), _export_button_clicked(), _export_button_clicked(), _gui_styles_dialog_run(), _gui_styles_edit_style_response(), _gui_styles_new_style_response(), _hm_ask_user_constraints_choice(), _hm_show_merge_report_popup(), _hm_show_toposort_cycle_popup(), _hm_warn_missing_raster_producers(), _import_button_clicked(), _import_discarded_files_popup(), _ioporder_add_preset(), _ioporder_init_popup(), _ioporder_rebuild_graph(), _key_pressed(), _lib_tagging_tag_key_press(), _lib_tagging_tag_show_accel(), _main_do_event_help(), _menuitem_delete_preset(), _menuitem_preferences(), _menuitem_update_preset(), _open_uri(), _panel_handle_resize(), _pop_menu_dictionary_change_path(), _pop_menu_dictionary_create_tag(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_edit_tag(), _preview_gpx_file(), _prompt_layer_name_dialog(), _save_clut_callback(), _save_layer_clicked(), _scope_resize_handle_resize(), _show_drawlayer_modal_message(), _show_drawlayer_wait_dialog(), _styles_open_popup_callback(), _switch_preview_cursor(), _timezone_key_pressed(), _timezone_save(), _widget_root_window(), button_clicked(), button_clicked(), button_clicked(), delete_history_callback(), dt_control_copy_images(), dt_control_crawler_show_image_list(), dt_control_delete_image(), dt_control_delete_images(), dt_control_move_images(), dt_control_remove_images(), dt_folder_survey_propose_resume(), dt_gui_hist_dialog_new(), dt_gui_merge_options_dialog(), dt_gui_preferences_show(), dt_gui_supervisor_window_show(), dt_lib_export_metadata_configuration_dialog(), dt_masks_gui_confirm_delete_form_dialog(), dt_masks_gui_confirm_permanent_delete(), dt_preview_window_spawn(), dt_view_manager_button_pressed(), dt_view_manager_switch_by_view(), edit_preset(), enter(), export_clicked(), export_files_callback(), export_image_list_callback(), full_screen_callback(), full_screen_checked_callback(), get_stamp_params(), global_progress_end(), global_progress_set(), global_progress_start(), gui_init(), gui_init(), import_clicked(), load_xmp_callback(), menuitem_delete_preset(), menuitem_update_preset(), open_chat_callback(), open_doc_callback(), open_forum_callback(), open_search_callback(), search_accels_callback(), shortcuts_callback(), and show_about_dialog().
Definition at line 286 of file application.c.
References dt_control_quit(), and TRUE.
Referenced by _init_widgets().
| void dt_gui_refocus_center | ( | ) |
Definition at line 1990 of file application.c.
References dt_gui_gtk_t::accels, darktable, dt_accels_disable(), dt_ui_center(), dt_ui_main_window(), dt_view_manager_get_current_view(), FALSE, dt_thumbtable_t::grid, darktable_t::gui, IS_NULL_PTR, L, dt_view_t::module_name, dt_ui_t::thumbtable_lighttable, dt_gui_gtk_t::ui, and darktable_t::view_manager.
Referenced by _gui_delete_callback(), _process_file_list(), default_iop_focus(), dt_gui_gtk_init(), dt_iop_request_focus(), dt_lib_colorpicker_set_box_area(), dt_lib_colorpicker_set_point(), dt_lib_gui_set_expanded(), enter(), and row_activated().
| void dt_gui_set_pango_resolution | ( | PangoLayout * | layout | ) |
Definition at line 1422 of file application.c.
References darktable, dt_gui_gtk_t::dpi, darktable_t::gui, IS_NULL_PTR, and L.
Referenced by _init_drawing(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), and gui_post_expose().
Definition at line 292 of file application.c.
References darktable, dt_free, darktable_t::gui, L, dt_gui_gtk_t::last_preset, and name.
Referenced by _edit_preset_final_callback(), dt_gui_presets_apply_preset(), and dt_lib_presets_apply().
Definition at line 1394 of file application.c.
References _refresh_all_container_spacing(), darktable, double(), dt_gui_gtk_t::dpi, dt_widget_set_em_size(), dt_gui_gtk_t::em, darktable_t::gui, L, dt_ui_t::main_window, size, and dt_gui_gtk_t::ui.
Referenced by dt_configure_ppd_dpi(), and dt_gui_load_theme().
| void dt_ui_container_destroy_children | ( | dt_ui_t * | ui, |
| const dt_ui_container_t | c | ||
| ) |
destroy all child widgets from container
Definition at line 1664 of file application.c.
References dt_ui_t::containers, dt_gui_container_destroy_children(), and L.
Referenced by dt_view_manager_switch_by_view().
| void dt_ui_container_focus_widget | ( | dt_ui_t * | ui, |
| const dt_ui_container_t | c, | ||
| GtkWidget * | w | ||
| ) |
gives a widget focus in the container
Definition at line 1648 of file application.c.
References dt_ui_t::containers, and L.
Referenced by _gui_set_single_expanded().
| void dt_ui_container_foreach | ( | dt_ui_t * | ui, |
| const dt_ui_container_t | c, | ||
| GtkCallback | callback | ||
| ) |
calls a callback on all children widgets from container
Definition at line 1658 of file application.c.
References dt_ui_t::containers, and L.
Referenced by dt_view_manager_switch_by_view().
| void dt_ui_notify_user | ( | ) |
draw user's attention
Definition at line 1669 of file application.c.
References darktable, dt_ui_main_window(), darktable_t::gui, L, TRUE, and dt_gui_gtk_t::ui.
Referenced by _pathlist_import_run(), dt_control_export_job_run(), and dt_film_import1_run().
|
static |
Definition at line 1343 of file application.c.
Referenced by _refresh_all_container_spacing().
|
static |
Definition at line 391 of file application.c.
Referenced by _extract_pointer_input().