283#define dt_thumbtable_refresh_thumbnail(table, imgid, reinit) DT_DEBUG_TRACE_WRAPPER(DT_DEBUG_LIGHTTABLE, dt_thumbtable_refresh_thumbnail_real, (table), (imgid), (reinit))
369 gtk_widget_queue_draw(table->
grid);
372#define dt_thumbtable_redraw(table) DT_DEBUG_TRACE_WRAPPER(DT_DEBUG_LIGHTTABLE, dt_thumbtable_redraw_real, (table))
384 gtk_widget_show(table->
grid);
399 gtk_widget_hide(table->
grid);
const dt_colormatrix_t dt_aligned_pixel_t out
static gboolean enable(dt_image_t *image)
struct _GtkWidget GtkWidget
unsigned __int64 uint64_t
Cache entry for a single thumbnail.
gboolean collection_inited
dt_thumbtable_mode_t mode
int last_h_scrollbar_height
GtkAdjustment * v_scrollbar
dt_thumbtable_zoom_t zoom
int last_v_scrollbar_width
GtkWidget * scroll_window
dt_thumbtable_cache_t * lut
dt_thumbnail_t * drag_thumb
GtkAdjustment * h_scrollbar
dt_thumbnail_overlay_t overlays
gboolean reset_collection
GtkWidget * parent_overlay
gboolean draw_group_borders
void dt_thumbtable_set_zoom(dt_thumbtable_t *table, dt_thumbtable_zoom_t level)
int dt_thumbtable_scroll_to_selection(dt_thumbtable_t *table)
Scroll to show selected content.
int dt_thumbtable_scroll_to_imgid(dt_thumbtable_t *table, int32_t imgid)
Scroll the view to show a specific image.
gboolean dt_thumbtable_get_focus_peaking(dt_thumbtable_t *table)
void dt_thumbtable_update(dt_thumbtable_t *table)
void dt_thumbtable_offset_zoom(dt_thumbtable_t *table, const double delta_x, const double delta_y)
void dt_thumbtable_set_active_rowid(dt_thumbtable_t *table)
Update internal active row tracking.
dt_thumbtable_mode_t
Display modes for the thumbnail table.
@ DT_THUMBTABLE_MODE_NONE
@ DT_THUMBTABLE_MODE_FILMSTRIP
@ DT_THUMBTABLE_MODE_FILEMANAGER
void dt_thumbtable_apply_grid_configuration(dt_thumbtable_t *table)
Apply grid configuration changes with proper event synchronization.
void dt_thumbtable_configure(dt_thumbtable_t *table)
void dt_thumbtable_cleanup(dt_thumbtable_t *table)
static void dt_thumbtable_redraw_real(dt_thumbtable_t *table)
gboolean dt_thumbtable_get_focus_regions(dt_thumbtable_t *table)
void dt_thumbtable_set_focus_peaking(dt_thumbtable_t *table, gboolean enable)
void dt_thumbtable_event_dnd_received(GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *selection_data, guint target_type, guint time, gpointer user_data)
Handle drag-and-drop data received.
void dt_thumbtable_invert_selection(dt_thumbtable_t *table)
Invert the current selection.
dt_thumbtable_zoom_t
Zoom levels for thumbnail display.
@ DT_THUMBTABLE_ZOOM_TWICE
@ DT_THUMBTABLE_ZOOM_FULL
@ DT_THUMBTABLE_ZOOM_HALF
gboolean dt_thumbtable_get_thumbnail_info(dt_thumbtable_t *table, int32_t imgid, dt_image_t *out)
static void dt_thumbtable_show(dt_thumbtable_t *table)
Show the thumbnail table widget.
void dt_thumbtable_stop(dt_thumbtable_t *table)
void dt_thumbtable_set_focus_regions(dt_thumbtable_t *table, gboolean enable)
int dt_thumbtable_scroll_to_active_rowid(dt_thumbtable_t *table)
Scroll to show the active row.
gboolean dt_thumbtable_get_draw_group_borders(dt_thumbtable_t *table)
void dt_thumbtable_dispatch_over(dt_thumbtable_t *table, GdkEventType type, int32_t imgid)
Update the mouse-over image ID with conflict resolution.
gboolean dt_thumbtable_key_pressed_grid(GtkWidget *self, GdkEventKey *event, gpointer user_data)
void dt_thumbtable_set_overlays_mode(dt_thumbtable_t *table, dt_thumbnail_overlay_t over)
Set the overlay display mode for thumbnails.
void dt_thumbtable_refresh_thumbnail_real(dt_thumbtable_t *table, int32_t imgid, gboolean reinit)
void dt_thumbtable_select_all(dt_thumbtable_t *table)
Select all images in the current grid.
void dt_thumbtable_reset_collection(dt_thumbtable_t *table)
gboolean dt_thumbtable_key_released_grid(GtkWidget *self, GdkEventKey *event, gpointer user_data)
dt_thumbtable_zoom_t dt_thumbtable_get_zoom(dt_thumbtable_t *table)
void dt_thumbtable_set_parent(dt_thumbtable_t *table, dt_thumbtable_mode_t mode)
void dt_thumbtable_queue_update(dt_thumbtable_t *table)
dt_thumbtable_t * dt_thumbtable_new(dt_thumbtable_mode_t mode)
Create a new thumbnail table widget.
void dt_thumbtable_set_draw_group_borders(dt_thumbtable_t *table, gboolean enable)
void dt_thumbtable_select_range(dt_thumbtable_t *table, const int rowid)
Select a range of images in the collection.
static void dt_thumbtable_hide(dt_thumbtable_t *table)
Hide the thumbnail table widget.
void dt_thumbtable_update_parent(dt_thumbtable_t *table)