![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"
#include "control/control.h"
#include "common/image_cache.h"
#include "views/view.h"
#include <gtk/gtk.h>
Functions | |
void | _close_preview_popup (GtkWidget *dialog, gint response_id, gpointer data) |
static gboolean | _thumb_draw_image (GtkWidget *widget, cairo_t *cr, gpointer user_data) |
void | dt_preview_window_spawn (const int32_t imgid) |
void _close_preview_popup | ( | GtkWidget * | dialog, |
gint | response_id, | ||
gpointer | data | ||
) |
Referenced by dt_preview_window_spawn().
|
static |
References darktable, dt_control_draw_busy_msg(), DT_DEBUG_LIGHTTABLE, dt_get_wtime(), dt_print(), dt_view_image_get_surface(), DT_VIEW_SURFACE_OK, darktable_t::gui, height, dt_gui_gtk_t::ppd, TRUE, and width.
Referenced by dt_preview_window_spawn().
void dt_preview_window_spawn | ( | const int32_t | imgid | ) |
References _close_preview_popup(), _thumb_draw_image(), darktable, dt_image_cache_get(), dt_image_cache_read_release(), dt_osx_disallow_fullscreen(), dt_ui_main_window(), FALSE, dt_image_t::filename, darktable_t::gui, darktable_t::image_cache, name, TRUE, and dt_gui_gtk_t::ui.
Referenced by _preview_window_open().