![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
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 |
#define DT_UI_PANEL_MODULE_SPACING 0 |
#define DT_UI_PANEL_SIDE_DEFAULT_SIZE 350 |
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 |
enum dt_ui_panel_t |
References dt_ui_t::header, and dt_header_t::hinter.
Referenced by dt_control_hinter_message().
GtkWidget * dt_ui_center | ( | dt_ui_t * | ui | ) |
get the center drawable widget
GtkWidget * dt_ui_center_base | ( | dt_ui_t * | ui | ) |
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_MENU_LAST, dt_ui_t::header, 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 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 _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_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_ui_titlebar_pack_end(), dt_ui_titlebar_pack_start(), FALSE, dt_ui_t::header, dt_header_t::hinter, dt_header_t::home, 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().
GtkWidget * dt_ui_log_msg | ( | dt_ui_t * | ui | ) |
get the log message widget
GtkWidget * dt_ui_main_window | ( | dt_ui_t * | ui | ) |
get the main window widget
Referenced by _panel_handle_button_callback(), and _panel_handle_motion_callback().
gboolean dt_ui_panel_ancestor | ( | dt_ui_t * | ui, |
const dt_ui_panel_t | p, | ||
GtkWidget * | w | ||
) |
is the panel ancestor of widget
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 _ui_init_panel_size(), dt_conf_get_bool(), dt_conf_get_int(), dt_conf_key_exists(), 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().
GtkWidget * dt_ui_toast_msg | ( | dt_ui_t * | ui | ) |
get the toast message widget
gchar * panels_get_panel_path | ( | dt_ui_panel_t | panel, |
char * | suffix | ||
) |
References _ui_panel_config_names, dt_util_dstrcat(), and panels_get_view_path().
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 | ) |