![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "gui/dtgtk/thumbtable.h"#include "gui/dtgtk/thumbnail.h"#include <gtk/gtk.h>#include <stdint.h>
Include dependency graph for window_manager.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_ui_t |
Macros | |
| #define | DT_UI_PANEL_MODULE_SPACING 0 |
| #define | DT_UI_PANEL_SIDE_DEFAULT_SIZE 350 |
| #define | DT_UI_PANEL_BOTTOM_DEFAULT_SIZE 120 |
Typedefs | |
| typedef enum dt_ui_panel_t | dt_ui_panel_t |
| typedef enum dt_ui_container_t | dt_ui_container_t |
| typedef struct dt_ui_t | dt_ui_t |
Enumerations | |
| enum | dt_ui_panel_t { DT_UI_PANEL_TOP , DT_UI_PANEL_LEFT , DT_UI_PANEL_RIGHT , DT_UI_PANEL_BOTTOM , DT_UI_PANEL_SIZE } |
| enum | dt_ui_container_t { DT_UI_CONTAINER_PANEL_LEFT_TOP = 0 , DT_UI_CONTAINER_PANEL_LEFT_CENTER = 1 , DT_UI_CONTAINER_PANEL_LEFT_BOTTOM = 2 , DT_UI_CONTAINER_PANEL_RIGHT_TOP = 3 , DT_UI_CONTAINER_PANEL_RIGHT_CENTER = 4 , DT_UI_CONTAINER_PANEL_RIGHT_BOTTOM = 5 , DT_UI_CONTAINER_PANEL_TOP_SECOND_ROW = 6 , DT_UI_CONTAINER_SIZE } |
| #define DT_UI_PANEL_BOTTOM_DEFAULT_SIZE 120 |
Definition at line 33 of file window_manager.h.
| #define DT_UI_PANEL_MODULE_SPACING 0 |
Definition at line 31 of file window_manager.h.
| #define DT_UI_PANEL_SIDE_DEFAULT_SIZE 350 |
Definition at line 32 of file window_manager.h.
| typedef enum dt_ui_container_t dt_ui_container_t |
| typedef enum dt_ui_panel_t dt_ui_panel_t |
| enum dt_ui_container_t |
Definition at line 49 of file window_manager.h.
| enum dt_ui_panel_t |
| Enumerator | |
|---|---|
| DT_UI_PANEL_TOP | |
| DT_UI_PANEL_LEFT | |
| DT_UI_PANEL_RIGHT | |
| DT_UI_PANEL_BOTTOM | |
| DT_UI_PANEL_SIZE | |
Definition at line 35 of file window_manager.h.
Definition at line 782 of file window_manager.c.
References dt_free, dt_ui_t::header, dt_header_t::hinter, and IS_NULL_PTR.
Referenced by dt_control_hinter_message().
Definition at line 122 of file window_manager.c.
References dt_ui_t::center.
Referenced by _extract_pointer_input(), _sample_tablet_state_from_devices(), dt_gui_center_widget(), dt_gui_gtk_init(), dt_gui_gtk_run(), and dt_gui_refocus_center().
Definition at line 126 of file window_manager.c.
References dt_ui_t::center_base.
Referenced by _control_apply_cursor(), _populate(), _ui_toast_redraw_callback(), enter(), and leave().
Definition at line 599 of file window_manager.c.
References dt_thumbtable_cleanup(), dt_ui_t::thumbtable_filmstrip, and dt_ui_t::thumbtable_lighttable.
Referenced by dt_cleanup(), and dt_view_manager_switch_by_view().
Definition at line 795 of file window_manager.c.
References dt_free, DT_MENU_LAST, dt_ui_t::header, i, IS_NULL_PTR, dt_header_t::item_lists, and dt_header_t::titlebar.
Referenced by dt_cleanup(), and dt_gui_gtk_quit().
| void dt_ui_container_add_widget | ( | dt_ui_t * | ui, |
| const dt_ui_container_t | c, | ||
| GtkWidget * | w | ||
| ) |
Definition at line 150 of file window_manager.c.
References 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 | ||
| ) |
Definition at line 145 of file window_manager.c.
References dt_ui_t::containers.
Referenced by _ensure_page_widgets(), and gui_cleanup().
Definition at line 679 of file window_manager.c.
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().
Definition at line 535 of file window_manager.c.
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(), dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_CONNECT, DT_GUI_BOX_SPACING, DT_PIXEL_APPLY_DPI, DT_SIGNAL_CONTROL_REDRAW_CENTER, DT_THUMBTABLE_MODE_FILEMANAGER, dt_thumbtable_new(), dt_widget_scroll_mask(), dt_thumbtable_t::parent_overlay, dt_ui_t::thumbtable_lighttable, and TRUE.
Referenced by _init_widgets().
Definition at line 614 of file window_manager.c.
References DT_GUI_BOX_SPACING, FALSE, dt_ui_t::header, dt_ui_t::main_window, dt_header_t::titlebar, and TRUE.
Referenced by _init_widgets().
Definition at line 131 of file window_manager.c.
References dt_ui_t::log_msg.
Referenced by _init_widgets().
Definition at line 140 of file window_manager.c.
References dt_ui_t::main_window.
Referenced by _init_widgets(), dt_cleanup(), dt_gui_gtk_init(), dt_gui_gtk_quit(), dt_gui_gtk_write_config(), dt_gui_load_theme(), dt_gui_main_window(), dt_gui_refocus_center(), and dt_ui_notify_user().
| gboolean dt_ui_panel_ancestor | ( | dt_ui_t * | ui, |
| const dt_ui_panel_t | p, | ||
| GtkWidget * | w | ||
| ) |
Definition at line 116 of file window_manager.c.
References FALSE, p, and dt_ui_t::panels.
Referenced by _widget_natural_width().
| int dt_ui_panel_get_size | ( | dt_ui_t * | ui, |
| const dt_ui_panel_t | p | ||
| ) |
Definition at line 88 of file window_manager.c.
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, IS_NULL_PTR, key, p, panels_get_panel_path(), and size.
Referenced by _widget_natural_width().
Definition at line 201 of file window_manager.c.
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, k, key, dt_ui_t::panels, panels_get_panel_path(), panels_get_view_path(), state, and TRUE.
Referenced by dt_ui_toggle_panels_visibility(), and dt_view_manager_switch_by_view().
Definition at line 770 of file window_manager.c.
References dt_ui_t::header, dt_header_t::image_info, and IS_NULL_PTR.
Referenced by dt_view_image_info_update().
Definition at line 776 of file window_manager.c.
References dt_header_t::close, dt_ui_t::header, and dt_header_t::iconify.
Referenced by full_screen_callback().
Definition at line 135 of file window_manager.c.
References dt_ui_t::toast_msg.
Referenced by _init_widgets().
| gchar * panels_get_panel_path | ( | dt_ui_panel_t | panel, |
| char * | suffix | ||
| ) |
Definition at line 81 of file window_manager.c.
References _ui_panel_config_names, dt_util_dstrcat(), IS_NULL_PTR, panels_get_view_path(), and v.
Referenced by _panel_handle_resize(), _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 | ) |
Definition at line 64 of file window_manager.c.
References dt_view_darkroom_get_layout(), dt_view_manager_get_current_view(), dt_view_manager_get_global(), IS_NULL_PTR, and dt_view_t::module_name.
Referenced by _panel_is_visible(), dt_ui_panel_show(), dt_ui_restore_panels(), dt_ui_toggle_panels_visibility(), and panels_get_panel_path().