![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"
#include "common/darktable.h"
#include "common/exif.h"
#include "common/image.h"
#include "common/image_cache.h"
#include "common/imageio.h"
#include "common/imageio_module.h"
#include "common/utility.h"
#include "common/variables.h"
#include "control/conf.h"
#include "control/control.h"
#include "dtgtk/button.h"
#include "dtgtk/paint.h"
#include "gui/gtk.h"
#include "gui/gtkentry.h"
#include "imageio/storage/imageio_storage_api.h"
#include <glib.h>
#include <glib/gstdio.h>
#include <stdio.h>
#include <stdlib.h>
Data Structures | |
struct | disk_t |
struct | dt_imageio_disk_t |
Typedefs | |
typedef enum dt_disk_onconflict_actions_t | dt_disk_onconflict_actions_t |
typedef struct disk_t | disk_t |
typedef struct dt_imageio_disk_t | dt_imageio_disk_t |
Enumerations | |
enum | dt_disk_onconflict_actions_t { DT_EXPORT_ONCONFLICT_UNIQUEFILENAME = 0 , DT_EXPORT_ONCONFLICT_OVERWRITE = 1 , DT_EXPORT_ONCONFLICT_SKIP = 2 } |
typedef enum dt_disk_onconflict_actions_t dt_disk_onconflict_actions_t |
typedef struct dt_imageio_disk_t dt_imageio_disk_t |
char * ask_user_confirmation | ( | dt_imageio_module_storage_t * | self | ) |
|
static |
References darktable, dt_ui_main_window(), dt_util_str_replace(), disk_t::entry, darktable_t::gui, dt_imageio_module_storage_t::gui_data, and dt_gui_gtk_t::ui.
Referenced by gui_init().
|
static |
References dt_conf_set_string().
Referenced by gui_init().
void free_params | ( | dt_imageio_module_storage_t * | self, |
dt_imageio_module_data_t * | params | ||
) |
References dt_variables_params_destroy(), and dt_imageio_disk_t::vp.
void * get_params | ( | dt_imageio_module_storage_t * | self | ) |
void gui_cleanup | ( | dt_imageio_module_storage_t * | self | ) |
References dt_imageio_module_storage_t::gui_data.
void gui_init | ( | dt_imageio_module_storage_t * | self | ) |
References darktable_t::bauhaus, button_clicked(), CPF_NONE, darktable, dt_accels_disconnect_on_text_input(), dt_bauhaus_combobox_add(), dt_bauhaus_combobox_new(), dt_bauhaus_combobox_set(), dt_bauhaus_widget_set_label(), dt_conf_get_int(), dt_conf_get_string_const(), dt_gtkentry_get_default_path_compl_list(), dt_gtkentry_setup_completion(), DT_GUI_MODULE, dtgtk_button_new(), dtgtk_cairo_paint_directory(), disk_t::entry, entry_changed_callback(), FALSE, dt_imageio_module_storage_t::gui_data, disk_t::onsave_action, onsave_action_toggle_callback(), TRUE, and dt_imageio_module_storage_t::widget.
void gui_reset | ( | dt_imageio_module_storage_t * | self | ) |
void init | ( | dt_imageio_module_storage_t * | self | ) |
References darktable, dt_lua_register_module_member, and darktable_t::lua_state.
void * legacy_params | ( | dt_imageio_module_storage_t * | self, |
const void *const | old_params, | ||
const size_t | old_params_size, | ||
const int | old_version, | ||
const int | new_version, | ||
size_t * | new_size | ||
) |
const char * name | ( | const struct dt_imageio_module_storage_t * | self | ) |
|
static |
References dt_bauhaus_combobox_get(), and dt_conf_set_int().
Referenced by gui_init().
size_t params_size | ( | dt_imageio_module_storage_t * | self | ) |
int set_params | ( | dt_imageio_module_storage_t * | self, |
const void * | params, | ||
const int | size | ||
) |
int store | ( | dt_imageio_module_storage_t * | self, |
dt_imageio_module_data_t * | sdata, | ||
const int32_t | imgid, | ||
dt_imageio_module_format_t * | format, | ||
dt_imageio_module_data_t * | fdata, | ||
const int | num, | ||
const int | total, | ||
const gboolean | high_quality, | ||
const gboolean | export_masks, | ||
dt_colorspaces_color_profile_type_t | icc_type, | ||
const gchar * | icc_filename, | ||
dt_iop_color_intent_t | icc_intent, | ||
dt_export_metadata_t * | metadata | ||
) |
References darktable, dt_control_log(), DT_EXPORT_ONCONFLICT_SKIP, DT_EXPORT_ONCONFLICT_UNIQUEFILENAME, dt_image_full_path(), dt_imageio_export(), DT_MAX_PATH_FOR_PARAMS, dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_util_fix_path(), dt_variables_expand(), dt_variables_set_max_width_height(), FALSE, dt_variables_params_t::filename, dt_imageio_disk_t::filename, dt_variables_params_t::imgid, dt_variables_params_t::jobcode, dt_imageio_module_data_t::max_height, dt_imageio_module_data_t::max_width, dt_imageio_disk_t::onsave_action, PATH_MAX, darktable_t::plugin_threadsafe, dt_variables_params_t::sequence, TRUE, and dt_imageio_disk_t::vp.
Referenced by _attach_selected_tag(), _create_main_row(), _detach_selected_tag(), _discarded_files_popup(), _for_each_accel_create_treeview_row(), _for_each_path_create_treeview_row(), _init_treeview(), _menuitem_preferences(), _pop_menu_attached_attach_to_all(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_delete_tag(), _pop_menu_dictionary_edit_tag(), _select_toggled_callback(), _shortcut_edited(), _tag_name_changed(), _tag_name_changed(), _toggled_callback(), _update_attached_count(), _update_layout(), ask_and_delete(), dt_accels_search(), dt_accels_window(), dt_control_crawler_show_image_list(), and dt_gui_preferences_enum().