![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/extra_optimizations.h"
#include "bauhaus/bauhaus.h"
#include "common/collection.h"
#include "common/colorspaces.h"
#include "common/darktable.h"
#include "common/debug.h"
#include "common/file_location.h"
#include "common/history.h"
#include "common/image_cache.h"
#include "common/imageio.h"
#include "common/imageio_module.h"
#include "common/selection.h"
#include "common/styles.h"
#include "common/tags.h"
#include "common/undo.h"
#include "control/conf.h"
#include "control/control.h"
#include "control/jobs.h"
#include "develop/blend.h"
#include "develop/develop.h"
#include "develop/imageop.h"
#include "develop/masks.h"
#include "dtgtk/button.h"
#include "dtgtk/thumbtable.h"
#include "gui/color_picker_proxy.h"
#include "gui/gtk.h"
#include "gui/guides.h"
#include "gui/presets.h"
#include "libs/colorpicker.h"
#include "libs/modulegroups.h"
#include "views/view.h"
#include "views/view_api.h"
#include <gdk/gdkkeysyms.h>
#include <glib.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Macros | |
#define | G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void)) (f)) |
#define | DRAWING_TIMEOUT 200 |
Enumerations | |
enum | { DND_TARGET_IOP } |
Functions | |
static void | _update_softproof_gamut_checking (dt_develop_t *d) |
static void | _view_darkroom_filmstrip_activate_callback (gpointer instance, int32_t imgid, gpointer user_data) |
static void | _dev_change_image (dt_view_t *self, const int32_t imgid) |
const char * | name (const dt_view_t *self) |
void | init (dt_view_t *self) |
uint32_t | view (const dt_view_t *self) |
void | cleanup (dt_view_t *self) |
static cairo_status_t | _write_snapshot_data (void *closure, const unsigned char *data, unsigned int length) |
static dt_darkroom_layout_t | _lib_darkroom_get_layout (dt_view_t *self) |
static cairo_filter_t | _get_filtering_level (dt_develop_t *dev, dt_dev_zoom_t zoom, int closeup) |
static void | _darkroom_pickers_draw (dt_view_t *self, cairo_t *cri, int32_t width, int32_t height, dt_dev_zoom_t zoom, int closeup, float zoom_x, float zoom_y, GSList *samples, gboolean is_primary_sample) |
void | _colormanage_ui_color (const float L, const float a, const float b, dt_aligned_pixel_t RGB) |
void | expose (dt_view_t *self, cairo_t *cri, int32_t width, int32_t height, int32_t pointerx, int32_t pointery) |
void | reset (dt_view_t *self) |
int | try_enter (dt_view_t *self) |
static void | _darkroom_ui_apply_style_activate_callback (gchar *name) |
static void | _darkroom_ui_apply_style_popupmenu (GtkWidget *w, gpointer user_data) |
static gboolean | _toolbar_show_popup (gpointer user_data) |
static void | _get_final_size_with_iso_12646 (dt_develop_t *d) |
static void | _iso_12646_quickbutton_clicked (GtkWidget *w, gpointer user_data) |
static void | _guides_quickbutton_clicked (GtkWidget *widget, gpointer user_data) |
static void | _guides_view_changed (gpointer instance, dt_view_t *old_view, dt_view_t *new_view, dt_lib_module_t *self) |
static void | _display_quickbutton_clicked (GtkWidget *w, gpointer user_data) |
static void | display_brightness_callback (GtkWidget *slider, gpointer user_data) |
static void | display_borders_callback (GtkWidget *slider, gpointer user_data) |
static void | _overexposed_quickbutton_clicked (GtkWidget *w, gpointer user_data) |
static void | colorscheme_callback (GtkWidget *combo, gpointer user_data) |
static void | lower_callback (GtkWidget *slider, gpointer user_data) |
static void | upper_callback (GtkWidget *slider, gpointer user_data) |
static void | mode_callback (GtkWidget *slider, gpointer user_data) |
static void | _rawoverexposed_quickbutton_clicked (GtkWidget *w, gpointer user_data) |
static void | rawoverexposed_mode_callback (GtkWidget *combo, gpointer user_data) |
static void | rawoverexposed_colorscheme_callback (GtkWidget *combo, gpointer user_data) |
static void | rawoverexposed_threshold_callback (GtkWidget *slider, gpointer user_data) |
static void | _softproof_quickbutton_clicked (GtkWidget *w, gpointer user_data) |
static void | _gamut_quickbutton_clicked (GtkWidget *w, gpointer user_data) |
static void | softproof_profile_callback (GtkWidget *combo, gpointer user_data) |
static gboolean | _quickbutton_press_release (GtkWidget *button, GdkEventButton *event, GtkWidget *popover) |
void | connect_button_press_release (GtkWidget *w, GtkWidget *p) |
gboolean | _switch_to_next_picture (GtkAccelGroup *accel_group, GObject *accelerable, guint keyval, GdkModifierType modifier, gpointer data) |
gboolean | _switch_to_prev_picture (GtkAccelGroup *accel_group, GObject *accelerable, guint keyval, GdkModifierType modifier, gpointer data) |
void | gui_init (dt_view_t *self) |
static dt_iop_module_t * | _get_dnd_dest_module (GtkBox *container, gint x, gint y, dt_iop_module_t *module_src) |
static dt_iop_module_t * | _get_dnd_source_module (GtkBox *container) |
static void | _on_drag_end (GtkWidget *widget, GdkDragContext *context, gpointer user_data) |
static void | _on_drag_begin (GtkWidget *widget, GdkDragContext *context, gpointer user_data) |
static void | _on_drag_data_get (GtkWidget *widget, GdkDragContext *context, GtkSelectionData *selection_data, guint info, guint time, gpointer user_data) |
static gboolean | _on_drag_drop (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, guint time, gpointer user_data) |
static gboolean | _on_drag_motion (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, guint time, gpointer user_data) |
static void | _on_drag_data_received (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, GtkSelectionData *selection_data, guint info, guint time, gpointer user_data) |
static void | _on_drag_leave (GtkWidget *widget, GdkDragContext *dc, guint time, gpointer user_data) |
static void | _register_modules_drag_n_drop (dt_view_t *self) |
static void | _unregister_modules_drag_n_drop (dt_view_t *self) |
static gboolean | _is_scroll_captured_by_widget () |
gboolean | _scroll_on_focus (GdkEventScroll event, void *data) |
void | enter (dt_view_t *self) |
void | leave (dt_view_t *self) |
void | mouse_leave (dt_view_t *self) |
static gboolean | _is_in_frame (const int width, const int height, const int x, const int y) |
static gboolean | mouse_in_imagearea (dt_view_t *self, double x, double y) |
static gboolean | mouse_in_actionarea (dt_view_t *self, double x, double y) |
void | mouse_enter (dt_view_t *self) |
static int | _delayed_history_commit (gpointer data) |
static void | _do_delayed_history_commit (dt_develop_t *dev) |
void | _magic_schwalm_offset (dt_develop_t *dev, dt_view_t *self, float *offx, float *offy) |
void | mouse_moved (dt_view_t *self, double x, double y, double pressure, int which) |
int | button_released (dt_view_t *self, double x, double y, int which, uint32_t state) |
int | button_pressed (dt_view_t *self, double x, double y, double pressure, int which, int type, uint32_t state) |
int | scrolled (dt_view_t *self, double x, double y, int up, int state) |
int | key_pressed (dt_view_t *self, GdkEventKey *event) |
void | configure (dt_view_t *self, int wd, int ht) |
Variables | |
static const GtkTargetEntry | _iop_target_list_internal [] = { { "iop", GTK_TARGET_SAME_WIDGET, DND_TARGET_IOP } } |
static const guint | _iop_n_targets_internal = G_N_ELEMENTS(_iop_target_list_internal) |
#define DRAWING_TIMEOUT 200 |
this is the view for the darkroom module.
void _colormanage_ui_color | ( | const float | L, |
const float | a, | ||
const float | b, | ||
dt_aligned_pixel_t | RGB | ||
) |
References darktable_t::color_profiles, darktable, dt_Lab_to_XYZ(), Lab(), and dt_colorspaces_t::transform_xyz_to_display.
Referenced by expose().
|
static |
References dt_dev_pixelpipe_t::backbuf_height, dt_dev_pixelpipe_t::backbuf_width, dt_colorpicker_sample_t::box, dt_lib_t::colorpicker, darktable, dt_view_t::data, dt_lib_t::display_samples, dt_dev_get_zoom_scale(), DT_LIB_COLORPICKER_SIZE_BOX, DT_LIB_COLORPICKER_SIZE_POINT, FALSE, darktable_t::gui, height, dt_view_t::height, darktable_t::lib, lw, M_PI, dt_dev_pixelpipe_t::output_backbuf_height, dt_dev_pixelpipe_t::output_backbuf_width, dt_develop_t::pipe, dt_colorpicker_sample_t::point, dt_gui_gtk_t::ppd, dt_develop_t::preview_pipe, dt_lib_t::proxy, dt_lib_t::selected_sample, set_color(), dt_colorpicker_sample_t::size, dt_colorpicker_sample_t::swatch, TRUE, width, and dt_view_t::width.
Referenced by expose().
|
static |
References darktable, darktable_t::develop, dt_control_log(), dt_dev_refresh_ui_images, dt_dev_undo_end_record(), dt_dev_undo_start_record(), dt_dev_write_history(), dt_styles_apply_to_image(), dt_develop_t::exit, FALSE, dt_image_t::id, dt_develop_t::image_storage, and name.
Referenced by _darkroom_ui_apply_style_popupmenu().
|
static |
|
static |
References darktable, dt_control_set_mouse_over_id(), dt_view_manager_switch(), and darktable_t::view_manager.
Referenced by _switch_to_next_picture(), _switch_to_prev_picture(), and _view_darkroom_filmstrip_activate_callback().
|
static |
DOC Overexposed and gamut modules are inserted inplace in pipeline at runtime, only for the main preview, and don't add history items. They all need a full history -> pipeline resynchronization.
Referenced by gui_init().
|
static |
References _delayed_history_commit(), dt_develop_t::drawing_timeout, and DRAWING_TIMEOUT.
Referenced by button_pressed(), button_released(), mouse_moved(), and scrolled().
|
static |
|
static |
References container(), darktable, darktable_t::develop, dt_iop_module_t::expander, FALSE, dt_iop_module_t::header, dt_develop_t::iop, and TRUE.
Referenced by _on_drag_data_received(), and _on_drag_motion().
|
static |
References container().
Referenced by _on_drag_begin(), _on_drag_data_received(), and _on_drag_motion().
|
static |
References darktable, dt_gui_gtk_t::dr_filter_image, dt_dev_get_zoom_scale(), and darktable_t::gui.
Referenced by expose().
|
static |
|
static |
References dt_control_queue_redraw_center(), and dt_guides_button_toggled().
Referenced by gui_init().
|
static |
References dt_guides_update_button_state().
Referenced by gui_init().
|
static |
References DT_PIXEL_APPLY_DPI, height, and width.
Referenced by mouse_in_actionarea(), and mouse_in_imagearea().
|
static |
References dt_gui_gtk_t::accels, dt_accels_t::active_key, darktable, FALSE, darktable_t::gui, dt_gui_gtk_t::has_scroll_focus, and key.
Referenced by _scroll_on_focus(), and scrolled().
|
static |
References _get_final_size_with_iso_12646(), dt_control_queue_redraw_center(), dt_develop_t::enabled, dt_develop_t::gui_attached, and dt_develop_t::iso_12646.
Referenced by gui_init().
|
static |
References DT_DARKROOM_LAYOUT_EDITING.
Referenced by gui_init().
void _magic_schwalm_offset | ( | dt_develop_t * | dev, |
dt_view_t * | self, | ||
float * | offx, | ||
float * | offy | ||
) |
References dt_develop_t::border_size, double(), dt_view_t::height, and dt_view_t::width.
Referenced by button_pressed(), button_released(), mouse_moved(), and scrolled().
|
static |
References _get_dnd_source_module(), container(), darktable, dt_cairo_image_surface_create(), dt_gui_add_class(), dt_gui_remove_class(), DT_UI_CONTAINER_PANEL_RIGHT_CENTER, dt_ui_get_container(), dt_iop_module_t::expander, darktable_t::gui, dt_iop_module_t::header, dt_gui_gtk_t::ppd, and dt_gui_gtk_t::ui.
Referenced by _register_modules_drag_n_drop(), and _unregister_modules_drag_n_drop().
|
static |
References DND_TARGET_IOP, and TRUE.
Referenced by _register_modules_drag_n_drop(), and _unregister_modules_drag_n_drop().
|
static |
References _get_dnd_dest_module(), _get_dnd_source_module(), container(), darktable, dt_iop_module_t::dev, darktable_t::develop, DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_dev_add_history_item, dt_dev_modules_update_multishow(), dt_dev_pixelpipe_rebuild(), dt_gui_remove_class(), dt_ioppr_check_iop_order(), dt_ioppr_move_iop_after(), dt_ioppr_move_iop_before(), DT_SIGNAL_DEVELOP_MODULE_MOVED, DT_UI_CONTAINER_PANEL_RIGHT_CENTER, dt_ui_get_container(), dt_iop_module_t::expander, FALSE, darktable_t::gui, dt_develop_t::iop, dt_iop_module_t::iop_order, darktable_t::signals, TRUE, and dt_gui_gtk_t::ui.
Referenced by _register_modules_drag_n_drop(), and _unregister_modules_drag_n_drop().
|
static |
References TRUE.
Referenced by _register_modules_drag_n_drop(), and _unregister_modules_drag_n_drop().
|
static |
Referenced by _register_modules_drag_n_drop(), and _unregister_modules_drag_n_drop().
|
static |
References darktable, darktable_t::develop, dt_gui_remove_class(), FALSE, and dt_develop_t::iop.
Referenced by _register_modules_drag_n_drop(), and _unregister_modules_drag_n_drop().
|
static |
References _get_dnd_dest_module(), _get_dnd_source_module(), container(), darktable, darktable_t::develop, dt_gui_add_class(), dt_gui_remove_class(), dt_ioppr_check_can_move_after_iop(), dt_ioppr_check_can_move_before_iop(), DT_UI_CONTAINER_PANEL_RIGHT_CENTER, dt_ui_get_container(), dt_iop_module_t::expander, FALSE, darktable_t::gui, dt_develop_t::iop, dt_iop_module_t::iop_order, and dt_gui_gtk_t::ui.
Referenced by _register_modules_drag_n_drop(), and _unregister_modules_drag_n_drop().
|
static |
References dt_dev_pixelpipe_resync_main(), dt_dev_refresh_ui_images, dt_develop_t::enabled, and dt_develop_t::overexposed.
Referenced by gui_init().
|
static |
end of toolbox
References _toolbar_show_popup(), FALSE, and TRUE.
Referenced by connect_button_press_release().
|
static |
References dt_dev_pixelpipe_resync_main(), dt_dev_refresh_ui_images, dt_develop_t::enabled, and dt_develop_t::rawoverexposed.
Referenced by gui_init().
References _iop_n_targets_internal, _iop_target_list_internal, _on_drag_begin(), _on_drag_data_get(), _on_drag_data_received(), _on_drag_drop(), _on_drag_end(), _on_drag_leave(), _on_drag_motion(), container(), darktable, DT_UI_CONTAINER_PANEL_RIGHT_CENTER, dt_ui_get_container(), darktable_t::gui, and dt_gui_gtk_t::ui.
Referenced by enter().
gboolean _scroll_on_focus | ( | GdkEventScroll | event, |
void * | data | ||
) |
References _is_scroll_captured_by_widget(), darktable, FALSE, darktable_t::gui, and dt_gui_gtk_t::has_scroll_focus.
Referenced by enter().
|
static |
gboolean _switch_to_next_picture | ( | GtkAccelGroup * | accel_group, |
GObject * | accelerable, | ||
guint | keyval, | ||
GdkModifierType | modifier, | ||
gpointer | data | ||
) |
References _dev_change_image(), darktable_t::collection, darktable, dt_collection_get_all(), dt_image_t::id, dt_develop_t::image_storage, TRUE, and view().
Referenced by gui_init().
gboolean _switch_to_prev_picture | ( | GtkAccelGroup * | accel_group, |
GObject * | accelerable, | ||
guint | keyval, | ||
GdkModifierType | modifier, | ||
gpointer | data | ||
) |
References _dev_change_image(), darktable_t::collection, darktable, dt_collection_get_all(), dt_image_t::id, dt_develop_t::image_storage, TRUE, and view().
Referenced by gui_init().
|
static |
toolbar buttons
References darktable, dt_guides_update_popover_values(), FALSE, dt_view_manager_t::guides_popover, darktable_t::view_manager, rect::x, and rect::y.
Referenced by _quickbutton_press_release().
References _on_drag_begin(), _on_drag_data_get(), _on_drag_data_received(), _on_drag_drop(), _on_drag_end(), _on_drag_leave(), _on_drag_motion(), container(), darktable, dt_ui_center(), DT_UI_CONTAINER_PANEL_RIGHT_CENTER, dt_ui_get_container(), darktable_t::gui, and dt_gui_gtk_t::ui.
Referenced by leave().
|
static |
References _gamut_quickbutton_clicked(), _softproof_quickbutton_clicked(), darktable_t::color_profiles, darktable, DT_PROFILE_GAMUTCHECK, DT_PROFILE_SOFTPROOF, dt_develop_t::gamut_button, dt_colorspaces_t::mode, dt_develop_t::profile, and dt_develop_t::softproof_button.
Referenced by _gamut_quickbutton_clicked(), _softproof_quickbutton_clicked(), and gui_init().
|
static |
References _dev_change_image(), and UNKNOWN_IMAGE.
|
static |
Referenced by expose().
int button_pressed | ( | dt_view_t * | self, |
double | x, | ||
double | y, | ||
double | pressure, | ||
int | which, | ||
int | type, | ||
uint32_t | state | ||
) |
References _do_delayed_history_commit(), _magic_schwalm_offset(), dt_dev_pixelpipe_t::backbuf_height, dt_dev_pixelpipe_t::backbuf_width, dt_colorpicker_sample_t::box, dt_lib_t::colorpicker, darktable, dt_view_t::data, dt_lib_t::display_samples, DT_COLOR_PICKER_AREA, DT_COLOR_PICKER_POINT, dt_control_change_cursor(), dt_control_get_dev_closeup(), dt_control_get_dev_zoom(), dt_control_queue_redraw_center(), dt_dev_get_pointer_zoom_pos(), dt_dev_get_zoom_scale(), dt_iop_color_picker_is_visible(), dt_lib_colorpicker_set_box_area(), dt_lib_colorpicker_set_point(), DT_LIB_COLORPICKER_SIZE_BOX, DT_LIB_COLORPICKER_SIZE_POINT, dt_masks_events_button_pressed(), dt_iop_module_t::enabled, FALSE, dt_develop_t::form_visible, dt_develop_t::gui_module, dt_iop_color_picker_t::kind, darktable_t::lib, dt_lib_t::live_samples, MAX, mouse_in_actionarea(), mouse_in_imagearea(), dt_lib_t::picker_proxy, dt_develop_t::pipe, dt_colorpicker_sample_t::point, dt_develop_t::preview_pipe, dt_lib_t::primary_sample, dt_dev_pixelpipe_t::processed_height, dt_dev_pixelpipe_t::processed_width, dt_lib_t::proxy, reset(), dt_colorpicker_sample_t::size, TRUE, and type.
References _do_delayed_history_commit(), _magic_schwalm_offset(), dt_lib_t::colorpicker, darktable, dt_view_t::data, dt_control_change_cursor(), dt_control_get_dev_closeup(), dt_control_get_dev_zoom(), dt_control_get_dev_zoom_x(), dt_control_get_dev_zoom_y(), dt_control_navigation_redraw(), dt_control_queue_redraw_center(), dt_control_set_dev_closeup(), dt_control_set_dev_zoom(), dt_control_set_dev_zoom_scale(), dt_control_set_dev_zoom_x(), dt_control_set_dev_zoom_y(), dt_dev_check_zoom_bounds(), dt_dev_get_processed_size(), dt_dev_get_zoom_scale(), dt_dev_invalidate_preview, dt_dev_invalidate_zoom, dt_dev_refresh_ui_images, dt_iop_color_picker_is_visible(), DT_LIB_COLORPICKER_SIZE_BOX, dt_masks_events_button_released(), DT_ZOOM_1, DT_ZOOM_FIT, DT_ZOOM_FREE, dt_iop_module_t::enabled, dt_develop_t::form_visible, darktable_t::gui, dt_develop_t::gui_module, dt_develop_t::height, darktable_t::lib, mouse_in_actionarea(), dt_gui_gtk_t::ppd, dt_lib_t::primary_sample, dt_lib_t::proxy, and dt_develop_t::width.
|
static |
void connect_button_press_release | ( | GtkWidget * | w, |
GtkWidget * | p | ||
) |
References _quickbutton_press_release().
Referenced by gui_init().
|
static |
References _get_final_size_with_iso_12646(), dt_bauhaus_slider_get(), dt_conf_set_int(), dt_control_queue_redraw_center(), dt_dev_invalidate_zoom, and dt_dev_refresh_ui_images.
Referenced by gui_init().
|
static |
References dt_bauhaus_slider_get(), dt_conf_set_int(), and dt_control_queue_redraw_center().
Referenced by gui_init().
References _register_modules_drag_n_drop(), _scroll_on_focus(), _view_darkroom_filmstrip_activate_callback(), dt_gui_gtk_t::accels, darktable_t::bauhaus, darktable, dt_view_t::data, dt_bauhaus_t::default_value_changed_callback, dt_accels_attach_scroll_handler(), dt_accels_connect_accels(), dt_accels_connect_active_group(), dt_bauhaus_value_changed_default_callback(), dt_conf_get_int(), dt_conf_get_string_const(), dt_control_set_dev_closeup(), dt_control_set_dev_zoom(), dt_control_set_dev_zoom_x(), dt_control_set_dev_zoom_y(), DT_DEBUG_CONTROL, DT_DEBUG_CONTROL_SIGNAL_CONNECT, DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_dev_check_zoom_bounds(), dt_dev_modulegroups_set(), dt_dev_pop_history_items(), dt_dev_undo_end_record(), dt_dev_undo_start_record(), dt_get_wtime(), dt_gui_refocus_center(), dt_image_check_camera_missing_sample(), dt_iop_color_picker_init(), dt_iop_gui_init(), dt_iop_gui_set_expander(), dt_iop_gui_update_expanded(), dt_iop_is_hidden(), dt_iop_request_focus(), dt_lua_async_call_alien, dt_lua_event_trigger_wrapper(), dt_masks_change_form_gui(), dt_masks_init_form_gui(), dt_print(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_selection_clear(), DT_SIGNAL_DEVELOP_INITIALIZE, DT_SIGNAL_VIEWMANAGER_THUMBTABLE_ACTIVATE, dt_thumbtable_show(), dt_thumbtable_update_parent(), dt_ui_center(), dt_undo_clear(), DT_UNDO_DEVELOP, DT_UNDO_TAGS, dt_view_active_images_add(), dt_view_active_images_reset(), dt_view_image_info_update(), DT_ZOOM_FIT, dt_develop_t::exit, FALSE, dt_develop_t::form_gui, dt_masks_form_gui_t::formid, darktable_t::gui, dt_develop_t::gui_module, dt_develop_t::history_mutex, dt_image_t::id, dt_develop_t::image_storage, dt_develop_t::iop, LUA_ASYNC_DONE, LUA_ASYNC_TYPENAME, dt_masks_form_gui_t::pipe_hash, darktable_t::selection, darktable_t::signals, dt_ui_t::thumbtable_filmstrip, dt_gui_gtk_t::ui, and darktable_t::undo.
void expose | ( | dt_view_t * | self, |
cairo_t * | cri, | ||
int32_t | width, | ||
int32_t | height, | ||
int32_t | pointerx, | ||
int32_t | pointery | ||
) |
References _colormanage_ui_color(), _darkroom_pickers_draw(), _get_filtering_level(), _write_snapshot_data(), dt_dev_pixelpipe_t::backbuf_height, dt_dev_pixelpipe_t::backbuf_mutex, dt_dev_pixelpipe_t::backbuf_scale, dt_dev_pixelpipe_t::backbuf_width, dt_dev_pixelpipe_t::backbuf_zoom_x, dt_dev_pixelpipe_t::backbuf_zoom_y, darktable_t::bauhaus, dt_develop_t::border_size, darktable_t::color_profiles, dt_lib_t::colorpicker, darktable, dt_view_t::data, darktable_t::develop, dt_lib_t::display_samples, dt_cairo_image_surface_create(), dt_cairo_image_surface_create_for_data(), dt_conf_get_int(), dt_control_get_dev_closeup(), dt_control_get_dev_zoom(), dt_control_get_dev_zoom_x(), dt_control_get_dev_zoom_y(), dt_dev_get_zoom_scale(), dt_guides_draw(), dt_iop_color_picker_is_visible(), dt_lib_get_module(), dt_lib_gui_get_expanded(), dt_masks_events_post_expose(), DT_PIXEL_APPLY_DPI, DT_PROFILE_GAMUTCHECK, DT_PROFILE_NORMAL, dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_develop_t::enabled, dt_iop_module_t::enabled, FALSE, dt_develop_t::filename, dt_develop_t::form_visible, darktable_t::gui, dt_develop_t::gui_module, height, dt_image_t::id, dt_develop_t::image_storage, IOP_FLAGS_GUIDES_SPECIAL_DRAW, dt_develop_t::iso_12646, darktable_t::lib, dt_lib_t::live_samples, dt_colorspaces_t::mode, mutex, O_BINARY, dt_dev_pixelpipe_t::output_backbuf, dt_dev_pixelpipe_t::output_backbuf_height, dt_dev_pixelpipe_t::output_backbuf_width, dt_dev_pixelpipe_t::output_imgid, dt_bauhaus_t::pango_font_desc, dt_develop_t::pipe, dt_gui_gtk_t::ppd, dt_develop_t::preview_pipe, dt_lib_t::primary_sample, dt_develop_t::proxy, dt_lib_t::proxy, dt_develop_t::request, dt_lib_t::selected_sample, dt_develop_t::snapshot, TRUE, UNKNOWN_IMAGE, and width.
Referenced by mouse_moved().
let's fill the encapsulating widgets
let's fill the encapsulating widgets
let's fill the encapsulating widgets
let's fill the encapsulating widgets
References _darkroom_ui_apply_style_popupmenu(), _display_quickbutton_clicked(), _gamut_quickbutton_clicked(), _guides_quickbutton_clicked(), _guides_view_changed(), _iso_12646_quickbutton_clicked(), _lib_darkroom_get_layout(), _overexposed_quickbutton_clicked(), _rawoverexposed_quickbutton_clicked(), _softproof_quickbutton_clicked(), _switch_to_next_picture(), _switch_to_prev_picture(), _update_softproof_gamut_checking(), darktable_t::bauhaus, dt_develop_t::border_size, dt_develop_t::button, darktable_t::color_profiles, dt_develop_t::colorscheme, colorscheme_callback(), connect_button_press_release(), dt_view_manager_t::darkroom, darktable, dt_view_t::data, dt_develop_t::display, display_borders_callback(), display_brightness_callback(), dt_accels_new_darkroom_action, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_new(), DT_BAUHAUS_COMBOBOX_NEW_FULL, dt_bauhaus_combobox_set(), dt_bauhaus_combobox_set_entries_ellipsis(), dt_bauhaus_slider_new_with_range(), dt_bauhaus_slider_set(), dt_bauhaus_slider_set_format(), dt_bauhaus_widget_set_label(), DT_COLORSPACE_FILE, dt_conf_get_int(), DT_DEBUG_CONTROL_SIGNAL_CONNECT, dt_get_help_url(), dt_gui_add_help_link(), DT_GUI_MODULE, dt_guides_popover(), dt_loc_get_datadir(), dt_loc_get_user_config_dir(), DT_PIXEL_APPLY_DPI, DT_SIGNAL_VIEWMANAGER_VIEW_CHANGED, DT_VIEW_DARKROOM, dt_view_manager_module_toolbox_add(), dtgtk_button_new(), dtgtk_cairo_paint_bulb(), dtgtk_cairo_paint_display(), dtgtk_cairo_paint_gamut_check(), dtgtk_cairo_paint_grid(), dtgtk_cairo_paint_overexposed(), dtgtk_cairo_paint_rawoverexposed(), dtgtk_cairo_paint_softproof(), dtgtk_cairo_paint_styles(), dtgtk_togglebutton_new(), dt_colorspaces_color_profile_t::filename, dt_develop_t::floating_window, dt_develop_t::gamut_button, dt_view_manager_t::get_layout, dt_view_manager_t::guides_popover, dt_view_manager_t::guides_toggle, dt_develop_t::iso_12646, dt_develop_t::lower, lower_callback(), dt_develop_t::mode, mode_callback(), dt_colorspaces_color_profile_t::name, dt_colorspaces_color_profile_t::out_pos, dt_develop_t::overexposed, PATH_MAX, dt_develop_t::profile, dt_colorspaces_t::profiles, dt_view_manager_t::proxy, dt_develop_t::rawoverexposed, rawoverexposed_colorscheme_callback(), rawoverexposed_mode_callback(), rawoverexposed_threshold_callback(), darktable_t::signals, dt_develop_t::softproof_button, dt_colorspaces_t::softproof_filename, softproof_profile_callback(), dt_colorspaces_t::softproof_type, dt_develop_t::threshold, tooltip, TRUE, dt_colorspaces_color_profile_t::type, dt_develop_t::upper, upper_callback(), and darktable_t::view_manager.
References dt_view_manager_t::darkroom, darktable, dt_view_t::data, dt_dev_init(), dt_lua_event_add(), dt_lua_event_multiinstance_destroy(), dt_lua_event_multiinstance_register(), dt_lua_event_multiinstance_trigger(), dt_lua_gtk_wrap, dt_lua_module_entry_get_type(), dt_lua_type_member_common(), dt_lua_type_register_const_type(), darktable_t::lua_state, dt_view_t::module_name, dt_view_manager_t::proxy, dt_view_manager_t::view, and darktable_t::view_manager.
int key_pressed | ( | dt_view_t * | self, |
GdkEventKey * | event | ||
) |
References _unregister_modules_drag_n_drop(), _view_darkroom_filmstrip_activate_callback(), dt_gui_gtk_t::accels, dt_develop_t::allforms, dt_develop_t::alliop, dt_dev_pixelpipe_t::busy_mutex, dt_lib_t::colorpicker, darktable, dt_view_t::data, darktable_t::develop, dt_accels_detach_scroll_handler(), dt_accels_disconnect_active_group(), dt_atomic_set_int(), dt_conf_set_int(), dt_conf_set_string(), DT_DEBUG_CONTROL, DT_DEBUG_CONTROL_SIGNAL_DISCONNECT, dt_dev_history_auto_save(), dt_dev_history_free_history(), dt_dev_modulegroups_get(), dt_dev_pixelpipe_cleanup_nodes(), dt_get_wtime(), dt_iop_cleanup_module(), dt_iop_color_picker_cleanup(), dt_iop_color_picker_reset(), dt_iop_gui_cleanup_module(), dt_iop_is_hidden(), dt_masks_change_form_gui(), dt_masks_clear_form_gui(), dt_masks_free_form(), dt_print(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_selection_select_single(), dt_thumbtable_hide(), dt_thumbtable_refresh_thumbnail, dt_ui_center(), dt_view_active_images_get_first(), dt_view_active_images_reset(), dt_develop_t::exit, FALSE, dt_develop_t::floating_window, dt_develop_t::form_gui, dt_develop_t::forms, darktable_t::gui, dt_develop_t::gui_module, dt_develop_t::history_mutex, dt_image_t::id, dt_develop_t::image_storage, dt_develop_t::iop, darktable_t::lib, dt_iop_module_t::op, dt_develop_t::overexposed, dt_lib_t::picker_proxy, dt_develop_t::pipe, dt_develop_t::preview_pipe, dt_develop_t::profile, dt_lib_t::proxy, dt_develop_t::rawoverexposed, darktable_t::selection, dt_dev_pixelpipe_t::shutdown, darktable_t::signals, dt_ui_t::thumbtable_filmstrip, dt_ui_t::thumbtable_lighttable, TRUE, dt_gui_gtk_t::ui, and void().
Referenced by _event_dnd_received(), and _name_editing_done().
|
static |
References dt_develop_t::button, dt_bauhaus_slider_get(), dt_dev_pixelpipe_resync_main(), dt_dev_refresh_ui_images, dt_develop_t::enabled, FALSE, dt_develop_t::lower, and dt_develop_t::overexposed.
Referenced by gui_init().
|
static |
References dt_develop_t::button, dt_bauhaus_combobox_get(), dt_dev_invalidate, dt_dev_refresh_ui_images, dt_develop_t::enabled, FALSE, dt_develop_t::mode, and dt_develop_t::overexposed.
Referenced by gui_init().
References dt_view_t::data, dt_masks_events_mouse_enter(), and dt_develop_t::gui_module.
References _is_in_frame(), dt_view_t::height, and dt_view_t::width.
Referenced by button_pressed(), button_released(), mouse_moved(), and scrolled().
References _is_in_frame(), darktable, dt_view_t::data, double(), dt_control_get_dev_closeup(), darktable_t::gui, dt_view_t::height, dt_dev_pixelpipe_t::output_backbuf_height, dt_dev_pixelpipe_t::output_backbuf_width, dt_develop_t::pipe, dt_gui_gtk_t::ppd, and dt_view_t::width.
Referenced by button_pressed(), and mouse_moved().
References _do_delayed_history_commit(), _magic_schwalm_offset(), dt_colorpicker_sample_t::box, dt_control_t::button_down, dt_control_t::button_down_which, dt_control_t::button_x, dt_control_t::button_y, dt_lib_t::colorpicker, darktable_t::control, darktable, dt_view_t::data, dt_control_change_cursor(), dt_control_get_dev_closeup(), dt_control_get_dev_zoom(), dt_control_get_dev_zoom_x(), dt_control_get_dev_zoom_y(), dt_control_navigation_redraw(), dt_control_queue_redraw_center(), dt_control_set_dev_zoom_x(), dt_control_set_dev_zoom_y(), dt_dev_check_zoom_bounds(), dt_dev_get_pointer_zoom_pos(), dt_dev_get_processed_size(), dt_dev_get_zoom_scale(), dt_dev_invalidate_zoom, dt_dev_refresh_ui_images, dt_iop_color_picker_is_visible(), DT_LIB_COLORPICKER_SIZE_BOX, DT_LIB_COLORPICKER_SIZE_POINT, dt_masks_events_mouse_moved(), dt_develop_t::form_visible, dt_develop_t::gui_module, darktable_t::lib, MAX, MIN, mouse_in_actionarea(), mouse_in_imagearea(), dt_develop_t::pipe, dt_colorpicker_sample_t::point, dt_lib_t::primary_sample, dt_dev_pixelpipe_t::processed_height, dt_dev_pixelpipe_t::processed_width, dt_lib_t::proxy, and dt_colorpicker_sample_t::size.
const char * name | ( | const dt_view_t * | self | ) |
|
static |
|
static |
References dt_develop_t::button, dt_bauhaus_combobox_get(), dt_dev_pixelpipe_resync_main(), dt_dev_refresh_ui_images, dt_develop_t::enabled, FALSE, dt_develop_t::mode, and dt_develop_t::rawoverexposed.
Referenced by gui_init().
|
static |
References dt_develop_t::button, dt_bauhaus_slider_get(), dt_dev_pixelpipe_resync_main(), dt_dev_refresh_ui_images, dt_develop_t::enabled, FALSE, dt_develop_t::rawoverexposed, and dt_develop_t::threshold.
Referenced by gui_init().
References _do_delayed_history_commit(), _is_scroll_captured_by_widget(), _magic_schwalm_offset(), darktable, dt_view_t::data, dt_control_get_dev_closeup(), dt_control_get_dev_zoom(), dt_control_get_dev_zoom_x(), dt_control_get_dev_zoom_y(), dt_control_navigation_redraw(), dt_control_queue_redraw_center(), dt_control_set_dev_closeup(), dt_control_set_dev_zoom(), dt_control_set_dev_zoom_scale(), dt_control_set_dev_zoom_x(), dt_control_set_dev_zoom_y(), dt_dev_check_zoom_bounds(), dt_dev_get_processed_size(), dt_dev_get_zoom_scale(), dt_dev_invalidate_zoom, dt_dev_refresh_ui_images, dt_masks_events_mouse_scrolled(), dt_modifier_is(), DT_ZOOM_1, DT_ZOOM_FIT, DT_ZOOM_FREE, dt_iop_module_t::enabled, FALSE, dt_develop_t::form_visible, darktable_t::gui, dt_develop_t::gui_module, dt_develop_t::height, mouse_in_actionarea(), dt_gui_gtk_t::ppd, TRUE, and dt_develop_t::width.
|
static |
References darktable_t::color_profiles, darktable, dt_bauhaus_combobox_get(), dt_bauhaus_combobox_get_text(), DT_COLORSPACE_FILE, DT_COLORSPACE_SRGB, DT_COLORSPACES_PROFILE_TYPE_SOFTPROOF, DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_dev_pixelpipe_resync_main(), dt_dev_refresh_ui_images, DT_SIGNAL_CONTROL_PROFILE_USER_CHANGED, FALSE, dt_colorspaces_color_profile_t::filename, dt_colorspaces_color_profile_t::out_pos, profile_changed(), dt_colorspaces_t::profiles, darktable_t::signals, dt_colorspaces_t::softproof_filename, dt_colorspaces_t::softproof_type, TRUE, and dt_colorspaces_color_profile_t::type.
Referenced by gui_init().
int try_enter | ( | dt_view_t * | self | ) |
|
static |
References dt_develop_t::button, dt_bauhaus_slider_get(), dt_dev_pixelpipe_resync_main(), dt_dev_refresh_ui_images, dt_develop_t::enabled, FALSE, dt_develop_t::overexposed, and dt_develop_t::upper.
Referenced by gui_init().
uint32_t view | ( | const dt_view_t * | self | ) |
References DT_VIEW_DARKROOM.
Referenced by _add_selected_metadata(), _add_tag_button_clicked(), _attached_key_pressed(), _changes_tooltip_callback(), _click_on_metadata_list(), _click_on_view(), _click_on_view_attached(), _click_on_view_dictionary(), _current_view_cb(), _detach_selected_tag(), _dictionary_key_pressed(), _discarded_files_popup(), _dt_ctl_switch_mode_to_by_view(), _event_dnd_begin(), _init_treeview(), _menuitem_preferences(), _needs_recompute(), _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(), _pop_menu_dictionary_set_as_tag(), _pop_menu_view(), _sample_tooltip_callback(), _select_next_user_attached_tag(), _select_previous_user_attached_tag(), _show_iter_on_view(), _show_keyword_on_view(), _show_tag_on_view(), _switch_to_next_picture(), _switch_to_prev_picture(), _unselect_all_in_view(), _update_attached_count(), append_views(), available_in_lighttable_callback(), dt_ctl_switch_mode_to_by_view(), dt_lib_export_metadata_configuration_dialog(), dt_lib_init_module(), dt_lib_is_visible_in_view(), dt_lib_load_module(), dt_view_manager_gui_init(), dt_view_manager_init(), dt_view_unload_module(), entry_activated(), gui_init(), gui_init(), row_activated_with_event(), and views_member().
|
static |
Referenced by _register_modules_drag_n_drop().
|
static |
drag and drop module list
Referenced by _register_modules_drag_n_drop().