![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "system/macros.h"#include "system/mem_alloc.h"#include "common/module_versioning.h"#include "common/paths.h"#include <glib/gstdio.h>#include "common/image.h"#include "imageio/imageio_core.h"#include "imageio/imageio_module.h"#include "metadata/metadata.h"#include "common/utility.h"#include "common/variables.h"#include "common/conf.h"#include "control/user_message.h"#include "widgets/button.h"#include "widgets/paint.h"#include "gui/application.h"#include "widgets/gtkentry.h"#include "imageio/storage/imageio_storage_api.h"#include <stdio.h>#include <stdlib.h>#include "widgets/label.h"#include "widgets/widget_settings.h"
Include dependency graph for gallery.c:Go to the source code of this file.
Data Structures | |
| struct | gallery_t |
| struct | dt_imageio_gallery_t |
| struct | pair_t |
Typedefs | |
| typedef struct gallery_t | gallery_t |
| typedef struct dt_imageio_gallery_t | dt_imageio_gallery_t |
| typedef struct pair_t | pair_t |
| typedef struct dt_imageio_gallery_t dt_imageio_gallery_t |
|
static |
Definition at line 138 of file gallery.c.
References d, dt_free, dt_gui_main_window(), dt_util_str_replace(), and dt_imageio_module_storage_t::gui_data.
Referenced by gui_init().
|
static |
Definition at line 169 of file gallery.c.
References dt_conf_set_string().
Referenced by gui_init().
| void finalize_store | ( | dt_imageio_module_storage_t * | self, |
| dt_imageio_module_data_t * | dd | ||
| ) |
Definition at line 442 of file gallery.c.
References d, darktable_package_string, dt_copy_resource_file(), dt_free, DT_PATH_MAX, f, IS_NULL_PTR, and p.
| void free_params | ( | dt_imageio_module_storage_t * | self, |
| dt_imageio_module_data_t * | params | ||
| ) |
Definition at line 610 of file gallery.c.
References d, dt_free, dt_variables_params_destroy(), and IS_NULL_PTR.
| void * get_params | ( | dt_imageio_module_storage_t * | self | ) |
Definition at line 594 of file gallery.c.
References d, dt_conf_get_string_const(), dt_variables_params_init(), and dt_imageio_gallery_t::vp.
| void gui_cleanup | ( | dt_imageio_module_storage_t * | self | ) |
Definition at line 227 of file gallery.c.
References dt_free, and dt_imageio_module_storage_t::gui_data.
| void gui_init | ( | dt_imageio_module_storage_t * | self | ) |
Definition at line 179 of file gallery.c.
References button_clicked(), CPF_NONE, d, dt_accels_disconnect_on_text_input(), dt_conf_get_string_const(), dt_gtkentry_get_default_path_compl_list(), dt_gtkentry_setup_completion(), DT_GUI_BOX_SPACING, dt_ui_label_new(), dtgtk_button_new(), dtgtk_cairo_paint_directory(), entry_changed_callback(), FALSE, dt_imageio_module_storage_t::gui_data, title_changed_callback(), TRUE, and dt_imageio_module_storage_t::widget.
| void gui_reset | ( | dt_imageio_module_storage_t * | self | ) |
Definition at line 232 of file gallery.c.
References d, dt_conf_set_string(), dt_confgen_get(), DT_DEFAULT, and dt_imageio_module_storage_t::gui_data.
| void init | ( | dt_imageio_module_storage_t * | self | ) |
| 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 | ) |
| size_t params_size | ( | dt_imageio_module_storage_t * | self | ) |
Definition at line 585 of file gallery.c.
References DT_MAX_PATH_FOR_PARAMS.
| int set_params | ( | dt_imageio_module_storage_t * | self, |
| const void * | params, | ||
| const int | size | ||
| ) |
Definition at line 618 of file gallery.c.
References d, dt_conf_set_string(), g, dt_imageio_module_storage_t::gui_data, and 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 | ||
| ) |
Definition at line 246 of file gallery.c.
References d, description(), dt_control_log(), dt_free, dt_free_gpointer(), dt_image_full_path(), dt_imageio_export(), DT_META_CALCULATED, DT_META_METADATA, dt_metadata_get(), DT_PATH_MAX, dt_util_fix_path(), dt_variables_expand(), dt_variables_set_max_width_height(), FALSE, dt_export_metadata_t::flags, dt_imageio_module_data_t::height, dt_imageio_module_data_t::max_height, dt_imageio_module_data_t::max_width, sort_pos(), TRUE, and dt_imageio_module_data_t::width.
| int supported | ( | dt_imageio_module_storage_t * | storage, |
| dt_imageio_module_format_t * | format | ||
| ) |
|
static |
Definition at line 174 of file gallery.c.
References dt_conf_set_string().
Referenced by gui_init().