![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/collection.h"#include "common/selection.h"#include "common/darktable.h"#include "control/conf.h"#include "control/control.h"#include "develop/develop.h"#include "gui/gtk.h"#include "dtgtk/button.h"#include "libs/lib.h"#include "libs/lib_api.h"#include "bauhaus/bauhaus.h"
Include dependency graph for filter.c:Data Structures | |
| struct | dt_lib_tool_filter_t |
Macros | |
| #define | NB_ITEMS (sizeof(items) / sizeof(dt_collection_sort_t)) |
Typedefs | |
| typedef struct dt_lib_tool_filter_t | dt_lib_tool_filter_t |
Variables | |
| const dt_collection_sort_t | items [] |
| static const char * | _sort_names [] |
| const dt_collection_filter_flag_t | colors [6] |
| const dt_collection_filter_flag_t | ratings [7] |
| #define NB_ITEMS (sizeof(items) / sizeof(dt_collection_sort_t)) |
| typedef struct dt_lib_tool_filter_t dt_lib_tool_filter_t |
|
static |
References _lib_filter_update_query(), _show_popover_menu(), _update_altered_filters(), darktable_t::collection, COLLECTION_FILTER_ALTERED, darktable, dt_collection_get_filter_flags(), DT_COLLECTION_PROP_COLORLABEL, dt_collection_set_filter_flags(), DTGTK_BUTTON, dtgtk_button_get_active(), dtgtk_button_set_active(), flags, and TRUE.
Referenced by gui_init().
|
static |
References _lib_filter_update_query(), _show_popover_menu(), _update_colors_filter(), darktable_t::collection, colors, d, darktable, dt_lib_module_t::data, dt_collection_get_filter_flags(), DT_COLLECTION_PROP_COLORLABEL, dt_collection_set_filter_flags(), DT_COLORLABELS_LAST, DTGTK_BUTTON, dtgtk_button_get_active(), dtgtk_button_set_active(), flags, i, and TRUE.
Referenced by gui_init().
References darktable_t::collection, dt_gui_gtk_t::culling_mode, darktable, DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_UNDEF, dt_collection_update_query(), dt_control_set_keyboard_over_id(), dt_control_set_mouse_over_id(), dt_culling_mode_to_selection(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_selection_get_first_id(), DT_SIGNAL_SELECTION_CHANGED, dt_thumbtable_reset_collection(), darktable_t::gui, darktable_t::selection, darktable_t::signals, dt_ui_t::thumbtable_lighttable, and dt_gui_gtk_t::ui.
Referenced by gui_init().
|
static |
Referenced by gui_init().
References CPF_DIRECTION_RIGHT, DTGTK_BUTTON, and dtgtk_button_set_active().
Referenced by _update_altered_filters(), _update_colors_filter(), and _update_rating_filter().
|
static |
References p.
Referenced by _text_entry_changed_wait().
|
static |
References i, items, and NB_ITEMS.
Referenced by _lib_filter_images_order_change(), and gui_init().
| gboolean _focus_search_action | ( | GtkAccelGroup * | accel_group, |
| GObject * | accelerable, | ||
| guint | keyval, | ||
| GdkModifierType | modifier, | ||
| gpointer | data | ||
| ) |
References d, dt_lib_module_t::data, and TRUE.
Referenced by gui_init().
|
static |
References _text_entry_changed_wait(), d, dt_lib_module_t::data, and dt_get_wtime().
Referenced by _text_entry_changed().
|
static |
References _filter_get_items(), d, dt_lib_module_t::data, and DT_COLLECTION_ORDER_FLAG.
Referenced by gui_cleanup(), and gui_init().
|
static |
References _lib_filter_set_tag_order(), _lib_filter_update_query(), darktable_t::collection, CPF_DIRECTION_DOWN, CPF_DIRECTION_UP, darktable, DT_COLLECTION_PROP_SORT, dt_collection_set_sort(), DT_COLLECTION_SORT_NONE, dtgtk_cairo_paint_sortby(), and dtgtk_togglebutton_set_paint().
Referenced by gui_init().
|
static |
References darktable_t::collection, d, darktable, dt_lib_module_t::data, dt_tag_set_tag_order_by_id(), items, and dt_collection_t::tagid.
Referenced by _lib_filter_reverse_button_changed(), and _lib_filter_sort_combobox_changed().
References _lib_filter_set_tag_order(), _lib_filter_update_query(), darktable_t::collection, darktable, DT_COLLECTION_PROP_SORT, dt_collection_set_sort(), and items.
Referenced by gui_init().
|
static |
References darktable_t::collection, COLLECTION_QUERY_FULL, darktable, DT_COLLECTION_CHANGE_RELOAD, dt_collection_set_query_flags(), and dt_collection_update_query().
Referenced by _altered_clicked(), _colorlabel_clicked(), _lib_filter_reverse_button_changed(), _lib_filter_sort_combobox_changed(), _rating_clicked(), _select_all_callback(), _select_none_callback(), _text_entry_changed_wait(), and _unaltered_clicked().
|
static |
References _lib_filter_update_query(), _show_popover_menu(), _update_rating_filter(), darktable_t::collection, d, darktable, dt_lib_module_t::data, dt_collection_get_filter_flags(), DT_COLLECTION_PROP_RATING, dt_collection_set_filter_flags(), dt_modifier_is(), DTGTK_BUTTON, dtgtk_button_get_active(), dtgtk_button_set_active(), FALSE, flags, i, ratings, and TRUE.
Referenced by gui_init().
|
static |
References darktable_t::collection, darktable, DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_UNDEF, and dt_collection_update_query().
Referenced by gui_init().
|
static |
References _reset_text_filter(), darktable_t::collection, darktable, DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_SORT, and dt_collection_update_query().
Referenced by gui_init().
|
static |
References darktable_t::collection, d, darktable, dt_lib_module_t::data, and dt_collection_set_text_filter().
Referenced by _reset_text_entry().
|
static |
|
static |
References dt_gui_add_class(), and dt_gui_remove_class().
Referenced by _text_entry_changed_wait().
|
static |
show a context menu on right click allowing to reset filters
References d, dt_lib_module_t::data, dt_gui_menu_popup(), and TRUE.
Referenced by _altered_clicked(), _colorlabel_clicked(), _rating_clicked(), and _unaltered_clicked().
|
static |
References _launch_text_query().
Referenced by gui_init().
|
static |
References _encode_text_filter(), _lib_filter_update_query(), _set_widget_dimmed(), darktable_t::collection, d, darktable, dt_lib_module_t::data, dt_collection_get_text_filter(), DT_COLLECTION_PROP_SORT, dt_collection_set_text_filter(), dt_free, dt_get_wtime(), FALSE, and TRUE.
Referenced by _launch_text_query().
|
static |
References _lib_filter_update_query(), _show_popover_menu(), _update_altered_filters(), darktable_t::collection, COLLECTION_FILTER_UNALTERED, darktable, dt_collection_get_filter_flags(), DT_COLLECTION_PROP_COLORLABEL, dt_collection_set_filter_flags(), DTGTK_BUTTON, dtgtk_button_get_active(), dtgtk_button_set_active(), flags, and TRUE.
Referenced by gui_init().
|
static |
References _dtgtk_button_set_active(), darktable_t::collection, COLLECTION_FILTER_ALTERED, COLLECTION_FILTER_UNALTERED, d, darktable, dt_lib_module_t::data, dt_collection_get_filter_flags(), and flags.
Referenced by _altered_clicked(), _select_all_callback(), _select_none_callback(), _unaltered_clicked(), and gui_init().
|
static |
References _dtgtk_button_set_active(), darktable_t::collection, colors, d, darktable, dt_lib_module_t::data, dt_collection_get_filter_flags(), DT_COLORLABELS_LAST, flags, and i.
Referenced by _colorlabel_clicked(), _select_all_callback(), _select_none_callback(), and gui_init().
|
static |
References _dtgtk_button_set_active(), darktable_t::bauhaus, darktable_t::collection, dt_bauhaus_t::color_fg, d, darktable, dt_lib_module_t::data, dt_collection_get_filter_flags(), DTGTK_BUTTON, flags, i, and ratings.
Referenced by _rating_clicked(), _select_all_callback(), _select_none_callback(), and gui_init().
Referenced by gui_init().
| uint32_t container | ( | dt_lib_module_t * | self | ) |
References DT_UI_CONTAINER_PANEL_TOP_SECOND_ROW.
| int expandable | ( | dt_lib_module_t * | self | ) |
| void gui_cleanup | ( | dt_lib_module_t * | self | ) |
| void gui_init | ( | dt_lib_module_t * | self | ) |
References _altered_clicked(), _colorlabel_clicked(), _culling_mode(), _decode_text_filter(), _filter_get_items(), _focus_search_action(), _lib_filter_images_order_change(), _lib_filter_reverse_button_changed(), _lib_filter_sort_combobox_changed(), _rating_clicked(), _refresh_collection_callback(), _reset_text_entry(), _select_all_callback(), _select_none_callback(), _sort_names, _text_entry_changed(), _unaltered_clicked(), _update_altered_filters(), _update_colors_filter(), _update_rating_filter(), _widget_align_left(), dt_gui_gtk_t::accels, darktable_t::collection, CPF_DIRECTION_DOWN, CPF_DIRECTION_UP, d, darktable, dt_lib_module_t::data, dt_collection_params_t::descending, dt_accels_build_path(), dt_accels_disconnect_on_text_input(), dt_accels_new_lighttable_action, dt_accels_new_widget_shortcut(), dt_collection_get_sort_descending(), dt_collection_get_sort_field(), dt_collection_get_text_filter(), DT_COLORLABELS_BLUE, DT_COLORLABELS_GREEN, DT_COLORLABELS_LAST, DT_COLORLABELS_PURPLE, DT_COLORLABELS_RED, DT_COLORLABELS_YELLOW, DT_DEBUG_CONTROL_SIGNAL_CONNECT, dt_free, dt_gui_add_class(), DT_SIGNAL_IMAGES_ORDER_CHANGE, dtgtk_button_new(), dtgtk_cairo_paint_altered(), dtgtk_cairo_paint_label_sel(), dtgtk_cairo_paint_refresh(), dtgtk_cairo_paint_reject(), dtgtk_cairo_paint_sortby(), dtgtk_cairo_paint_star(), dtgtk_cairo_paint_unaltered(), dtgtk_cairo_paint_unratestar(), DTGTK_TOGGLEBUTTON, dtgtk_togglebutton_new(), dtgtk_togglebutton_set_paint(), FALSE, darktable_t::gui, i, dt_accels_t::lighttable_accels, NB_ITEMS, dt_collection_t::params, darktable_t::signals, TRUE, and dt_lib_module_t::widget.
| const char * name | ( | struct dt_lib_module_t * | self | ) |
| int position | ( | ) |
| const char ** views | ( | dt_lib_module_t * | self | ) |
References v.
|
static |
Referenced by gui_init().
| const dt_collection_filter_flag_t colors[6] |
Referenced by _colorlabel_clicked(), _process_vectorscope(), _update_colors_filter(), dt_colorlabels_get_labels(), dt_colorlabels_set_labels(), lin_interpolate(), vng_interpolate(), and wavelet_denoise().
| const dt_collection_sort_t items[] |
Referenced by _filter_get_items(), _gui_styles_dialog_run(), _gui_styles_select_all_items(), _lib_filter_set_tag_order(), _lib_filter_sort_combobox_changed(), _lib_masks_get_selected(), _tree_delete_shape(), _tree_difference(), _tree_duplicate_shape(), _tree_exclusion(), _tree_group(), _tree_intersection(), _tree_inverse(), _tree_movedown(), _tree_moveup(), _tree_restrict_select(), _tree_selection_change(), _tree_union(), dt_gui_hist_dialog_new(), dt_history_get_items_as_string(), dt_styles_get_item_list_as_string(), dt_util_glist_to_str(), dt_util_glist_uniq(), style_getnumber(), and style_length().
| const dt_collection_filter_flag_t ratings[7] |
Referenced by _pop_undo(), _rating_clicked(), and _update_rating_filter().