Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
grouping.h File Reference
#include <glib.h>
#include <stdint.h>
+ Include dependency graph for grouping.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int32_t dt_grouping_get_image_group (const int32_t image_id)
 
void dt_grouping_add_to_group (int32_t group_id, int32_t image_id)
 
int dt_grouping_remove_from_group (int32_t image_id)
 
int dt_grouping_change_representative (int32_t image_id)
 
GList * dt_grouping_get_group_images (const int32_t imgid)
 
void dt_grouping_add_grouped_images (GList **images)
 

Function Documentation

◆ dt_grouping_add_grouped_images()

◆ dt_grouping_add_to_group()

◆ dt_grouping_change_representative()

int dt_grouping_change_representative ( const int32_t  image_id)

make an image the representative of the group it is in. returns the new group_id.

make an image the representative of the group it is in

References darktable, darktable_t::db, dt_database_get(), DT_DEBUG_SQLITE3_BIND_INT, DT_DEBUG_SQLITE3_PREPARE_V2, dt_image_cache_get(), dt_image_cache_read_release(), DT_IMAGE_CACHE_SAFE, dt_image_cache_write_release(), dt_image_t::group_id, and darktable_t::image_cache.

Referenced by _event_grouping_release(), and make_group_leader().

◆ dt_grouping_get_group_images()

◆ dt_grouping_get_image_group()

int32_t dt_grouping_get_image_group ( const int32_t  image_id)

◆ dt_grouping_remove_from_group()

int dt_grouping_remove_from_group ( const int32_t  image_id)