![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "colorprofiles/colorspaces.h"#include "common/conf.h"#include "caches/mipmap_cache.h"#include "common/collection.h"#include "control/control.h"#include "develop/dev_pixelpipe.h"#include "develop/develop.h"#include "gui/actions/menu.h"#include "gui/application.h"#include "widgets/accelerators.h"#include "views/view.h"#include "gui/window_manager.h"#include <gtk/gtk.h>#include "control/signal.h"
Include dependency graph for display.c:Go to the source code of this file.
Functions | |
| gboolean | full_screen_checked_callback (GtkWidget *w) |
| static gboolean | full_screen_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | _panel_is_visible (dt_ui_panel_t panel) |
| static gboolean | _toggle_side_borders_accel_callback (GtkAccelGroup *accel_group, GObject *accelerable, guint keyval, GdkModifierType modifier, gpointer data) |
| void | dt_ui_toggle_panels_visibility (dt_ui_t *ui) |
| toggle view of panels eg. collapse/expands to previous view state | |
| void | dt_ui_panel_show (dt_ui_t *ui, const dt_ui_panel_t p, gboolean show, gboolean write) |
| shows/hide a panel | |
| gboolean | dt_ui_panel_visible (dt_ui_t *ui, const dt_ui_panel_t p) |
| get visible state of panel | |
| static gboolean | panel_left_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | panel_left_checked_callback (GtkWidget *widget) |
| static gboolean | panel_top_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | panel_top_checked_callback (GtkWidget *widget) |
| static gboolean | available_in_lighttable_callback () |
| static gboolean | panel_right_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | panel_right_checked_callback (GtkWidget *widget) |
| static gboolean | filmstrip_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | filmstrip_checked_callback (GtkWidget *widget) |
| static gboolean | profile_checked_callback (GtkWidget *widget) |
| static gboolean | profile_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| dt_iop_color_intent_t | string_to_color_intent (const char *string) |
| static gboolean | intent_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | intent_checked_callback (GtkWidget *widget) |
| static gboolean | always_hide_overlays_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | always_hide_overlays_checked_callback (GtkWidget *widget) |
| static gboolean | hover_overlays_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | hover_overlays_checked_callback (GtkWidget *widget) |
| static gboolean | always_show_overlays_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | always_show_overlays_checked_callback (GtkWidget *widget) |
| static gboolean | group_borders_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | group_borders_checked_callback () |
| static gboolean | collapse_grouped_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | collapse_grouped_checked_callback () |
| static gboolean | _jpg_checked (GtkWidget *widget) |
| static gboolean | _jpg_combobox_changed (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| void | append_display (GtkWidget **menus, GList **lists, const dt_menus_t index) |
|
static |
Definition at line 415 of file display.c.
References dt_conf_get_int(), and get_custom_data().
Referenced by append_display().
|
static |
Definition at line 421 of file display.c.
References dt_collection_get_all(), dt_collection_get_global(), dt_conf_get_int(), dt_conf_set_int(), dt_gui_get_ui(), dt_mipmap_cache_remove(), dt_thumbtable_refresh_thumbnail, get_custom_data(), TRUE, and UNKNOWN_IMAGE.
Referenced by append_display().
|
static |
SIDE PANELS COLLAPSE
Definition at line 93 of file display.c.
References dt_conf_get_bool(), dt_conf_get_int(), dt_free, FALSE, key, panels_get_panel_path(), and panels_get_view_path().
Referenced by filmstrip_callback(), panel_left_callback(), panel_right_callback(), and panel_top_callback().
|
static |
Definition at line 107 of file display.c.
References dt_dev_get_global(), dt_dev_pixelpipe_change_zoom_main(), dt_gui_get_ui(), dt_ui_toggle_panels_visibility(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 353 of file display.c.
References dt_gui_get_ui(), DT_THUMBNAIL_OVERLAYS_NONE, dt_thumbtable_set_overlays_mode(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 360 of file display.c.
References dt_conf_get_int(), and DT_THUMBNAIL_OVERLAYS_NONE.
Referenced by append_display().
|
static |
Definition at line 377 of file display.c.
References dt_gui_get_ui(), DT_THUMBNAIL_OVERLAYS_ALWAYS_NORMAL, dt_thumbtable_set_overlays_mode(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 384 of file display.c.
References dt_conf_get_int(), and DT_THUMBNAIL_OVERLAYS_ALWAYS_NORMAL.
Referenced by append_display().
| void append_display | ( | GtkWidget ** | menus, |
| GList ** | lists, | ||
| const dt_menus_t | index | ||
| ) |
Definition at line 447 of file display.c.
References _jpg_checked(), _jpg_combobox_changed(), _toggle_side_borders_accel_callback(), add_menu_separator(), add_sub_menu_entry(), add_sub_sub_menu_entry(), add_top_submenu_entry(), always_hide_overlays_callback(), always_hide_overlays_checked_callback(), always_show_overlays_callback(), always_show_overlays_checked_callback(), available_in_lighttable_callback(), collapse_grouped_callback(), collapse_grouped_checked_callback(), dt_accels_new_global_action, dt_colorspaces_enumerate_profiles(), DT_PRIMARY_MASK, DT_PROFILE_ROLE_MONITOR, filmstrip_callback(), filmstrip_checked_callback(), full_screen_callback(), full_screen_checked_callback(), get_last_widget(), group_borders_callback(), group_borders_checked_callback(), hover_overlays_callback(), hover_overlays_checked_callback(), i, intent_callback(), intent_checked_callback(), IS_NULL_PTR, k, name, panel_left_callback(), panel_left_checked_callback(), panel_right_callback(), panel_right_checked_callback(), panel_top_callback(), panel_top_checked_callback(), profile_callback(), and profile_checked_callback().
Referenced by dt_ui_init_global_menu().
|
static |
Definition at line 252 of file display.c.
References dt_view_manager_get_current_view(), dt_view_manager_get_global(), and view.
Referenced by append_display(), filmstrip_callback(), and panel_right_callback().
|
static |
Definition at line 403 of file display.c.
References DT_COLLECTION_CHANGE_RELOAD, dt_collection_get_global(), DT_COLLECTION_PROP_GROUPING, dt_collection_update_query(), dt_conf_get_bool(), dt_conf_set_bool(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 410 of file display.c.
References dt_conf_get_bool().
Referenced by append_display().
| void dt_ui_panel_show | ( | dt_ui_t * | ui, |
| const dt_ui_panel_t | p, | ||
| gboolean | show, | ||
| gboolean | write | ||
| ) |
shows/hide a panel
Definition at line 129 of file display.c.
References dt_conf_get_int(), dt_conf_set_bool(), dt_conf_set_int(), dt_control_set_keyboard_over_id(), dt_control_set_mouse_over_id(), dt_free, dt_thumbtable_scroll_to_selection(), dt_thumbtable_update_parent(), DT_UI_PANEL_BOTTOM, DT_UI_PANEL_LEFT, DT_UI_PANEL_RIGHT, DT_UI_PANEL_SIZE, dt_ui_panel_visible(), dt_view_active_images_get_first(), FALSE, k, key, p, dt_ui_t::panels, panels_get_panel_path(), panels_get_view_path(), dt_ui_t::thumbtable_filmstrip, TRUE, and UNKNOWN_IMAGE.
Referenced by dt_ui_restore_panels(), enter(), filmstrip_callback(), panel_left_callback(), panel_right_callback(), and panel_top_callback().
| gboolean dt_ui_panel_visible | ( | dt_ui_t * | ui, |
| const dt_ui_panel_t | p | ||
| ) |
get visible state of panel
Definition at line 216 of file display.c.
References FALSE, p, and dt_ui_t::panels.
Referenced by dt_ui_panel_show(), filmstrip_checked_callback(), panel_left_checked_callback(), panel_right_checked_callback(), and panel_top_checked_callback().
toggle view of panels eg. collapse/expands to previous view state
Definition at line 117 of file display.c.
References dt_conf_get_int(), dt_conf_set_int(), dt_free, dt_ui_restore_panels(), key, panels_get_view_path(), and state.
Referenced by _toggle_side_borders_accel_callback().
|
static |
Definition at line 273 of file display.c.
References _panel_is_visible(), available_in_lighttable_callback(), dt_gui_get_ui(), DT_UI_PANEL_BOTTOM, dt_ui_panel_show(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 281 of file display.c.
References dt_gui_get_ui(), DT_UI_PANEL_BOTTOM, and dt_ui_panel_visible().
Referenced by append_display().
|
static |
Definition at line 45 of file display.c.
References dt_dev_get_global(), dt_dev_pixelpipe_change_zoom_main(), dt_gui_get_ui(), dt_gui_main_window(), dt_ui_set_window_buttons_visible(), FALSE, full_screen_checked_callback(), geometry, TRUE, and window.
Referenced by append_display().
| gboolean full_screen_checked_callback | ( | GtkWidget * | w | ) |
FULL SCREEN MODE
Definition at line 39 of file display.c.
References dt_gui_main_window().
Referenced by append_display(), and full_screen_callback().
|
static |
Definition at line 389 of file display.c.
References dt_conf_get_bool(), dt_conf_set_bool(), dt_gui_get_ui(), dt_thumbtable_set_draw_group_borders(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 398 of file display.c.
References dt_conf_get_bool().
Referenced by append_display().
|
static |
Definition at line 365 of file display.c.
References dt_gui_get_ui(), DT_THUMBNAIL_OVERLAYS_HOVER_NORMAL, dt_thumbtable_set_overlays_mode(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 372 of file display.c.
References dt_conf_get_int(), and DT_THUMBNAIL_OVERLAYS_HOVER_NORMAL.
Referenced by append_display().
|
static |
Definition at line 335 of file display.c.
References dt_colorprofiles_set_display_intent(), DT_COLORSPACES_PROFILE_TYPE_DISPLAY, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_SIGNAL_CONTROL_PROFILE_USER_CHANGED, get_custom_data(), string_to_color_intent(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 346 of file display.c.
References dt_colorprofiles_settings_t::display_intent, dt_colorprofiles_get_settings(), get_custom_data(), and string_to_color_intent().
Referenced by append_display().
|
static |
Definition at line 230 of file display.c.
References _panel_is_visible(), dt_gui_get_ui(), DT_UI_PANEL_LEFT, dt_ui_panel_show(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 236 of file display.c.
References dt_gui_get_ui(), DT_UI_PANEL_LEFT, and dt_ui_panel_visible().
Referenced by append_display().
|
static |
Definition at line 260 of file display.c.
References _panel_is_visible(), available_in_lighttable_callback(), dt_gui_get_ui(), DT_UI_PANEL_RIGHT, dt_ui_panel_show(), and TRUE.
Referenced by append_display().
|
static |
Definition at line 268 of file display.c.
References dt_gui_get_ui(), DT_UI_PANEL_RIGHT, and dt_ui_panel_visible().
Referenced by append_display().
|
static |
Definition at line 241 of file display.c.
References _panel_is_visible(), dt_gui_get_ui(), dt_ui_panel_show(), DT_UI_PANEL_TOP, and TRUE.
Referenced by append_display().
|
static |
Definition at line 247 of file display.c.
References dt_gui_get_ui(), DT_UI_PANEL_TOP, and dt_ui_panel_visible().
Referenced by append_display().
|
static |
Definition at line 298 of file display.c.
References dt_colorprofiles_set_display_profile_choice(), DT_COLORSPACES_PROFILE_TYPE_DISPLAY, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_SIGNAL_CONTROL_PROFILE_USER_CHANGED, dt_colorprofile_desc_t::filename, get_custom_data(), IS_NULL_PTR, profile_changed(), TRUE, and dt_colorprofile_desc_t::type.
Referenced by append_display().
|
static |
Definition at line 286 of file display.c.
References dt_colorprofiles_settings_t::display_filename, dt_colorprofiles_settings_t::display_type, dt_colorprofiles_get_settings(), DT_COLORSPACE_FILE, FALSE, dt_colorprofile_desc_t::filename, get_custom_data(), IS_NULL_PTR, and dt_colorprofile_desc_t::type.
Referenced by append_display().
| dt_iop_color_intent_t string_to_color_intent | ( | const char * | string | ) |
Definition at line 314 of file display.c.
References DT_INTENT_ABSOLUTE_COLORIMETRIC, DT_INTENT_PERCEPTUAL, DT_INTENT_RELATIVE_COLORIMETRIC, and DT_INTENT_SATURATION.
Referenced by intent_callback(), and intent_checked_callback().