![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "gui/actions/menu.h"#include "widgets/accelerators.h"#include "common/selection.h"#include "common/act_on.h"#include "control/jobs/control_jobs.h"#include "common/image.h"#include "system/macros.h"#include "common/grouping.h"#include "metadata/colorlabels.h"#include "metadata/ratings.h"#include "control/redraw.h"#include "common/collection.h"
Include dependency graph for gui/actions/image.c:Go to the source code of this file.
Functions | |
| static gboolean | rotate_counterclockwise_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | rotate_clockwise_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | flip_horizontally_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | flip_vertically_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | reset_rotation_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | group_images_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | ungroup_images_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | _colorlabels_callback (int color) |
| static gboolean | _rating_callback (int value) |
| static gboolean | red_label_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | yellow_label_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | green_label_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | blue_label_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | magenta_label_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | reset_label_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | rating_one_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | rating_two_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | rating_three_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | rating_four_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | rating_five_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | rating_reset_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| static gboolean | rating_reject_callback (GtkAccelGroup *group, GObject *acceleratable, guint keyval, GdkModifierType mods, gpointer user_data) |
| gboolean | _can_be_reoriented () |
| void | append_image (GtkWidget **menus, GList **lists, const dt_menus_t index) |
| gboolean _can_be_reoriented | ( | ) |
Definition at line 218 of file gui/actions/image.c.
References _is_lighttable(), and has_active_images().
Referenced by append_image().
|
static |
Definition at line 123 of file gui/actions/image.c.
References color, dt_act_on_get_images(), dt_colorlabels_toggle_label_on_list(), and TRUE.
Referenced by blue_label_callback(), green_label_callback(), magenta_label_callback(), red_label_callback(), reset_label_callback(), and yellow_label_callback().
|
static |
Definition at line 131 of file gui/actions/image.c.
References dt_act_on_get_images(), dt_ratings_apply_on_list(), TRUE, and value.
Referenced by rating_five_callback(), rating_four_callback(), rating_one_callback(), rating_reject_callback(), rating_reset_callback(), rating_three_callback(), and rating_two_callback().
| void append_image | ( | GtkWidget ** | menus, |
| GList ** | lists, | ||
| const dt_menus_t | index | ||
| ) |
Definition at line 225 of file gui/actions/image.c.
References _can_be_reoriented(), add_menu_separator(), add_sub_menu_entry(), add_sub_menu_separator(), add_sub_sub_menu_entry(), add_top_submenu_entry(), blue_label_callback(), dt_control_refresh_exif(), DT_PRIMARY_MASK, flip_horizontally_callback(), flip_vertically_callback(), GET_ACCEL_WRAPPER, get_last_widget(), green_label_callback(), group_images_callback(), has_active_images(), magenta_label_callback(), rating_five_callback(), rating_four_callback(), rating_one_callback(), rating_reject_callback(), rating_reset_callback(), rating_three_callback(), rating_two_callback(), red_label_callback(), reset_label_callback(), reset_rotation_callback(), rotate_clockwise_callback(), rotate_counterclockwise_callback(), ungroup_images_callback(), and yellow_label_callback().
Referenced by dt_ui_init_global_menu().
|
static |
Definition at line 157 of file gui/actions/image.c.
References _colorlabels_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 44 of file gui/actions/image.c.
References dt_control_flip_images(), DT_IMAGE_TRANSFORM_FLIP_HORIZONTALLY, and TRUE.
Referenced by append_image().
|
static |
Definition at line 50 of file gui/actions/image.c.
References dt_control_flip_images(), DT_IMAGE_TRANSFORM_FLIP_VERTICALLY, and TRUE.
Referenced by append_image().
|
static |
Definition at line 151 of file gui/actions/image.c.
References _colorlabels_callback(), and TRUE.
Referenced by append_image().
|
static |
merges all the selected images into a single group. if there is an expanded group, then they will be joined there, otherwise a new one will be created.
Definition at line 64 of file gui/actions/image.c.
References DT_COLLECTION_CHANGE_RELOAD, dt_collection_get_global(), DT_COLLECTION_PROP_GROUPING, dt_collection_update_query(), dt_grouping_add_to_group(), dt_selection_get_global(), dt_selection_get_list(), selected, TRUE, and UNKNOWN_IMAGE.
Referenced by append_image().
|
static |
Definition at line 163 of file gui/actions/image.c.
References _colorlabels_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 199 of file gui/actions/image.c.
References _rating_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 193 of file gui/actions/image.c.
References _rating_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 175 of file gui/actions/image.c.
References _rating_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 211 of file gui/actions/image.c.
References _rating_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 205 of file gui/actions/image.c.
References _rating_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 187 of file gui/actions/image.c.
References _rating_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 181 of file gui/actions/image.c.
References _rating_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 139 of file gui/actions/image.c.
References _colorlabels_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 169 of file gui/actions/image.c.
References _colorlabels_callback(), and TRUE.
Referenced by append_image().
|
static |
Definition at line 56 of file gui/actions/image.c.
References dt_control_flip_images(), DT_IMAGE_TRANSFORM_RESET, and TRUE.
Referenced by append_image().
|
static |
Definition at line 38 of file gui/actions/image.c.
References dt_control_flip_images(), DT_IMAGE_TRANSFORM_ROTATE_CW, and TRUE.
Referenced by append_image().
|
static |
Definition at line 32 of file gui/actions/image.c.
References dt_control_flip_images(), DT_IMAGE_TRANSFORM_ROTATE_CCW, and TRUE.
Referenced by append_image().
|
static |
removes the selected images from their current group.
Definition at line 95 of file gui/actions/image.c.
References DT_COLLECTION_CHANGE_RELOAD, dt_collection_get_global(), DT_COLLECTION_PROP_GROUPING, dt_collection_update_query(), dt_control_queue_redraw_center(), dt_grouping_remove_from_group(), dt_selection_get_global(), dt_selection_get_list(), IS_NULL_PTR, selected, and TRUE.
Referenced by append_image().
|
static |
Definition at line 145 of file gui/actions/image.c.
References _colorlabels_callback(), and TRUE.
Referenced by append_image().