![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"#include "control/control.h"#include "views/view.h"#include "gui/window_manager.h"#include "gui/actions/menu.h"#include "dtgtk/sidepanel.h"
Include dependency graph for window_manager.c:Data Structures | |
| struct | dt_header_t |
Macros | |
| #define | WINDOW_DEBUG 0 |
Typedefs | |
| typedef struct dt_header_t | dt_header_t |
Variables | |
| const char * | _ui_panel_config_names [] = { "header", "toolbar_top", "toolbar_bottom", "left", "right", "bottom" } |
| #define WINDOW_DEBUG 0 |
| typedef struct dt_header_t dt_header_t |
Referenced by dt_ui_init_global_menu().
| void _home_callback | ( | ) |
References dt_ctl_switch_mode_to().
Referenced by dt_ui_init_global_menu().
Referenced by dt_ui_init_global_menu().
References dt_gui_gtk_t::accels, darktable, dt_accels_search(), darktable_t::gui, dt_ui_t::main_window, and dt_gui_gtk_t::ui.
Referenced by dt_ui_init_global_menu().
|
static |
References darktable, dt_ui_main_window(), FALSE, darktable_t::gui, dt_gui_widgets_t::panel_handle_dragging, dt_gui_widgets_t::panel_handle_x, dt_gui_widgets_t::panel_handle_y, TRUE, dt_gui_gtk_t::ui, and dt_gui_gtk_t::widgets.
Referenced by _ui_init_panel_bottom(), _ui_init_panel_left(), and _ui_init_panel_right().
|
static |
References dt_control_change_cursor(), and TRUE.
Referenced by _ui_init_panel_bottom(), _ui_init_panel_left(), and _ui_init_panel_right().
|
static |
References darktable, dt_conf_set_int(), dt_free, dt_ui_main_window(), DT_UI_PANEL_BOTTOM, DT_UI_PANEL_LEFT, DT_UI_PANEL_RIGHT, FALSE, darktable_t::gui, key, dt_gui_widgets_t::panel_handle_dragging, dt_gui_widgets_t::panel_handle_x, dt_gui_widgets_t::panel_handle_y, panels_get_panel_path(), TRUE, dt_gui_gtk_t::ui, dt_gui_gtk_t::widgets, and x.
Referenced by _ui_init_panel_bottom(), _ui_init_panel_left(), and _ui_init_panel_right().
References _panel_handle_button_callback(), _panel_handle_cursor_callback(), _panel_handle_motion_callback(), _ui_init_panel_size(), container(), DT_PIXEL_APPLY_DPI, DT_THUMBTABLE_MODE_FILMSTRIP, dt_thumbtable_new(), DT_UI_PANEL_BOTTOM, dt_ui_t::panels, dt_thumbtable_t::parent_overlay, and dt_ui_t::thumbtable_filmstrip.
Referenced by dt_ui_init_main_table().
References container(), and FALSE.
Referenced by _ui_init_panel_left(), and _ui_init_panel_right().
References _ui_panel_size_changed(), a, container(), and TRUE.
Referenced by _ui_init_panel_left(), and _ui_init_panel_right().
References container(), DT_UI_PANEL_MODULE_SPACING, and FALSE.
Referenced by _ui_init_panel_left(), and _ui_init_panel_right().
References _panel_handle_button_callback(), _panel_handle_cursor_callback(), _panel_handle_motion_callback(), _ui_init_panel_container_bottom(), _ui_init_panel_container_center(), _ui_init_panel_container_top(), _ui_init_panel_size(), container(), dt_ui_t::containers, darktable, DT_PIXEL_APPLY_DPI, DT_UI_CONTAINER_PANEL_LEFT_BOTTOM, DT_UI_CONTAINER_PANEL_LEFT_CENTER, DT_UI_CONTAINER_PANEL_LEFT_TOP, DT_UI_PANEL_LEFT, dtgtk_side_panel_new(), FALSE, darktable_t::gui, dt_gui_widgets_t::panel_handle_dragging, dt_ui_t::panels, and dt_gui_gtk_t::widgets.
Referenced by dt_ui_init_main_table().
References _panel_handle_button_callback(), _panel_handle_cursor_callback(), _panel_handle_motion_callback(), _ui_init_panel_container_bottom(), _ui_init_panel_container_center(), _ui_init_panel_container_top(), _ui_init_panel_size(), container(), dt_ui_t::containers, darktable, DT_PIXEL_APPLY_DPI, DT_UI_CONTAINER_PANEL_RIGHT_BOTTOM, DT_UI_CONTAINER_PANEL_RIGHT_CENTER, DT_UI_CONTAINER_PANEL_RIGHT_TOP, DT_UI_PANEL_RIGHT, dtgtk_side_panel_new(), FALSE, darktable_t::gui, dt_gui_widgets_t::panel_handle_dragging, dt_ui_t::panels, TRUE, and dt_gui_gtk_t::widgets.
Referenced by dt_ui_init_main_table().
References dt_conf_get_int(), dt_conf_key_exists(), dt_free, DT_UI_PANEL_BOTTOM, DT_UI_PANEL_BOTTOM_DEFAULT_SIZE, DT_UI_PANEL_LEFT, DT_UI_PANEL_RIGHT, DT_UI_PANEL_SIDE_DEFAULT_SIZE, key, MAX, and panels_get_panel_path().
Referenced by _ui_init_panel_bottom(), _ui_init_panel_left(), _ui_init_panel_right(), and dt_ui_restore_panels().
References container(), dt_ui_t::containers, DT_UI_CONTAINER_PANEL_TOP_SECOND_ROW, DT_UI_PANEL_MODULE_SPACING, DT_UI_PANEL_TOP, FALSE, dt_ui_t::panels, dt_ui_t::top_panel, and TRUE.
Referenced by dt_ui_init_main_table().
|
static |
References darktable, darktable_t::gui, height, and dt_gui_gtk_t::scroll_to.
Referenced by _ui_init_panel_container_center().
Referenced by dt_ui_init_main_table().
References dt_ui_t::header, and dt_header_t::hinter.
Referenced by dt_control_hinter_message().
get the center drawable widget
References dt_ui_t::center.
Referenced by _control_apply_cursor(), _dt_ctl_switch_mode_prepare(), _extract_pointer_input(), _focus_main_image(), _sample_tablet_state_from_devices(), _unregister_modules_drag_n_drop(), button_pressed(), dt_colorspaces_set_display_profile(), dt_control_expose(), dt_dev_pixelpipe_change_zoom_main(), dt_drawlayer_set_os_cursor_hidden(), dt_gui_gtk_init(), dt_gui_gtk_run(), dt_gui_refocus_center(), dt_masks_creation_mode(), enter(), gui_init(), key_pressed(), leave(), and mouse_moved().
References dt_ui_t::center_base.
Referenced by _control_apply_cursor(), _ui_toast_redraw_callback(), and leave().
References dt_thumbtable_cleanup(), dt_ui_t::thumbtable_filmstrip, and dt_ui_t::thumbtable_lighttable.
Referenced by dt_view_manager_switch_by_view().
References dt_free, dt_free_gpointer(), DT_MENU_LAST, dt_ui_t::header, i, and dt_header_t::item_lists.
Referenced by dt_gui_gtk_quit().
| void dt_ui_container_add_widget | ( | dt_ui_t * | ui, |
| const dt_ui_container_t | c, | ||
| GtkWidget * | w | ||
| ) |
References c, dt_ui_t::containers, DT_UI_CONTAINER_PANEL_TOP_SECOND_ROW, FALSE, and TRUE.
Referenced by dt_iop_gui_set_expander(), and dt_view_manager_switch_by_view().
| GtkBox * dt_ui_get_container | ( | dt_ui_t * | ui, |
| const dt_ui_container_t | c | ||
| ) |
References c, and dt_ui_t::containers.
Referenced by _gui_delete_callback(), _gui_movedown_callback(), _gui_moveup_callback(), _iop_plugin_header_button_press(), _on_drag_begin(), _on_drag_data_received(), _on_drag_motion(), _register_modules_drag_n_drop(), _reorder_gui_module_list(), _unregister_modules_drag_n_drop(), dt_dev_reorder_gui_module_list(), and dt_iop_gui_duplicate().
References _close_callback(), _home_callback(), _iconify_callback(), _open_accel_search_callback(), add_top_menu_entry(), append_display(), append_edit(), append_file(), append_help(), append_image(), append_run(), append_select(), append_styles(), append_views(), dt_header_t::close, dt_gui_add_class(), DT_MENU_ATELIERS, DT_MENU_DISPLAY, DT_MENU_EDIT, DT_MENU_FILE, DT_MENU_HELP, DT_MENU_IMAGE, DT_MENU_LAST, DT_MENU_RUN, DT_MENU_SELECTION, DT_MENU_STYLES, dt_ui_titlebar_pack_end(), dt_ui_titlebar_pack_start(), FALSE, dt_ui_t::header, dt_header_t::hinter, dt_header_t::home, i, dt_header_t::iconify, dt_header_t::image_info, dt_header_t::item_lists, dt_ui_t::main_window, dt_header_t::menu_bar, dt_header_t::menus, dt_header_t::titlebar, dt_ui_t::top_panel, and TRUE.
Referenced by dt_init().
References _ui_init_panel_bottom(), _ui_init_panel_left(), _ui_init_panel_right(), _ui_init_panel_top(), _ui_widget_redraw_callback(), dt_ui_t::center, dt_ui_t::center_base, container(), darktable, DT_DEBUG_CONTROL_SIGNAL_CONNECT, DT_PIXEL_APPLY_DPI, DT_SIGNAL_CONTROL_REDRAW_CENTER, DT_THUMBTABLE_MODE_FILEMANAGER, dt_thumbtable_new(), darktable_t::gui, dt_thumbtable_t::parent_overlay, dt_gui_gtk_t::scroll_mask, darktable_t::signals, dt_ui_t::thumbtable_lighttable, and TRUE.
Referenced by _init_widgets().
References FALSE, dt_ui_t::header, dt_ui_t::main_window, dt_header_t::titlebar, and TRUE.
Referenced by _init_widgets().
get the main window widget
References dt_ui_t::main_window.
Referenced by _apply_rename_path(), _ask_before_delete_style(), _choose_gpx_callback(), _confirm_delete_layer(), _control_apply_cursor(), _datetime_key_pressed(), _discarded_files_popup(), _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(), _init_widgets(), _key_pressed(), _main_do_event_help(), _masks_gui_confirm_remove_form_dialog(), _menuitem_delete_preset(), _menuitem_preferences(), _menuitem_update_preset(), _offer_missing_layer_recreation(), _open_uri(), _panel_handle_button_callback(), _panel_handle_motion_callback(), _pop_menu_dictionary_change_path(), _pop_menu_dictionary_create_tag(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_delete_tag(), _pop_menu_dictionary_edit_tag(), _preview_gpx_file(), _save_layer_clicked(), _scroll_wrap_resize(), _show_drawlayer_modal_message(), _show_drawlayer_wait_dialog(), _styles_open_popup_callback(), _switch_cursors(), _timezone_key_pressed(), _timezone_save(), ask_and_delete(), button_clicked(), button_clicked(), button_clicked(), dt_bauhaus_init(), dt_bauhaus_load_theme(), dt_bauhaus_show_popup(), dt_cleanup(), 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_drawlayer_set_os_cursor_hidden(), dt_gui_gtk_init(), dt_gui_gtk_quit(), dt_gui_gtk_write_config(), dt_gui_hist_dialog_new(), dt_gui_load_theme(), dt_gui_preferences_show(), dt_gui_refocus_center(), dt_gui_show_standalone_string_dialog(), dt_gui_show_standalone_yes_no_dialog(), dt_key_modifier_state(), dt_lib_export_metadata_configuration_dialog(), dt_preview_window_spawn(), dt_ui_notify_user(), dt_view_manager_button_pressed(), dt_view_manager_switch_by_view(), edit_preset(), enter(), export_clicked(), export_files_callback(), full_screen_callback(), full_screen_checked_callback(), get_stamp_params(), global_progress_end(), global_progress_set(), global_progress_start(), gui_init(), gui_reset(), import_clicked(), load_xmp_callback(), menuitem_delete_preset(), menuitem_update_preset(), mouse_leave(), mouse_moved(), open_chat_callback(), open_doc_callback(), open_forum_callback(), open_search_callback(), search_accels_callback(), shortcuts_callback(), show_about_dialog(), and view_popup_menu_onSearchFilmroll().
| gboolean dt_ui_panel_ancestor | ( | dt_ui_t * | ui, |
| const dt_ui_panel_t | p, | ||
| GtkWidget * | w | ||
| ) |
is the panel ancestor of widget
References FALSE, p, and dt_ui_t::panels.
Referenced by _get_preferred_width().
| int dt_ui_panel_get_size | ( | dt_ui_t * | ui, |
| const dt_ui_panel_t | p | ||
| ) |
get width of right, left, or bottom panel
References dt_conf_get_int(), dt_conf_key_exists(), dt_free, DT_UI_PANEL_BOTTOM, DT_UI_PANEL_BOTTOM_DEFAULT_SIZE, DT_UI_PANEL_LEFT, DT_UI_PANEL_RIGHT, DT_UI_PANEL_SIDE_DEFAULT_SIZE, key, p, panels_get_panel_path(), and size.
Referenced by _get_preferred_width(), and _panel_get_size_cb().
References _ui_init_panel_size(), dt_conf_get_bool(), dt_conf_get_int(), dt_conf_key_exists(), dt_free, DT_UI_PANEL_BOTTOM, DT_UI_PANEL_LEFT, DT_UI_PANEL_RIGHT, dt_ui_panel_show(), DT_UI_PANEL_SIZE, FALSE, key, dt_ui_t::panels, panels_get_panel_path(), panels_get_view_path(), and TRUE.
Referenced by dt_ui_toggle_panels_visibility(), and dt_view_manager_switch_by_view().
References dt_ui_t::header, and dt_header_t::image_info.
Referenced by dt_view_image_info_update().
References dt_header_t::close, dt_ui_t::header, and dt_header_t::iconify.
Referenced by full_screen_callback().
References FALSE, dt_ui_t::header, and dt_header_t::titlebar.
Referenced by dt_ui_init_global_menu().
References FALSE, dt_ui_t::header, and dt_header_t::titlebar.
Referenced by dt_ui_init_global_menu().
| gchar * panels_get_panel_path | ( | dt_ui_panel_t | panel, |
| char * | suffix | ||
| ) |
References _ui_panel_config_names, dt_util_dstrcat(), panels_get_view_path(), and v.
Referenced by _panel_handle_motion_callback(), _panel_is_visible(), _ui_init_panel_size(), dt_ui_panel_get_size(), dt_ui_panel_show(), and dt_ui_restore_panels().
| gchar * panels_get_view_path | ( | char * | suffix | ) |
| const char* _ui_panel_config_names[] = { "header", "toolbar_top", "toolbar_bottom", "left", "right", "bottom" } |
Referenced by panels_get_panel_path().