Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
print.c File Reference
#include "common/cups_print.h"
#include "common/paths.h"
#include "common/printing.h"
#include "caches/image_cache.h"
#include "common/module_versioning.h"
#include "common/selection.h"
#include "control/control.h"
#include "develop/develop.h"
#include "gui/dtgtk/thumbtable.h"
#include "gui/drag_and_drop.h"
#include "gui/application.h"
#include "views/view.h"
#include "views/view_api.h"
#include <gdk/gdkkeysyms.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "widgets/widget_settings.h"
#include "control/signal.h"
Include dependency graph for print.c:

Go to the source code of this file.

Data Structures

struct  dt_print_t

Typedefs

typedef struct dt_print_t dt_print_t

Functions

const char * name (const dt_view_t *self)
uint32_t view (const dt_view_t *self)
static void _film_strip_activated (const int32_t imgid, void *data)
static void _view_print_filmstrip_activate_callback (gpointer instance, int32_t imgid, gpointer user_data)
static void _view_print_filmstrip_drag_begin_callback (gpointer instance, int32_t imgid, gpointer user_data)
static void _view_print_settings (const dt_view_t *view, dt_print_info_t *pinfo, dt_images_box *imgs)
static void _drag_and_drop_received (GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *selection_data, guint target_type, guint time, gpointer data)
static gboolean _drag_motion_received (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, guint time, gpointer data)
void init (dt_view_t *self)
void cleanup (dt_view_t *self)
static void expose_print_page (dt_view_t *self, cairo_t *cr, int32_t width, int32_t height, int32_t pointerx, int32_t pointery)
static void _print_setup_initial_image (dt_print_t *prt)
void expose (dt_view_t *self, cairo_t *cri, int32_t width_i, int32_t height_i, int32_t pointerx, int32_t pointery)
void mouse_moved (dt_view_t *self, double x, double y, double pressure, int which)
int key_pressed (dt_view_t *self, GdkEventKey *event)
int try_enter (dt_view_t *self)
void enter (dt_view_t *self)
void leave (dt_view_t *self)

Typedef Documentation

◆ dt_print_t

typedef struct dt_print_t dt_print_t

this is the view for the print module.

Function Documentation

◆ _drag_and_drop_received()

void _drag_and_drop_received ( GtkWidget * widget,
GdkDragContext * context,
gint x,
gint y,
GtkSelectionData * selection_data,
guint target_type,
guint time,
gpointer data )
static

◆ _drag_motion_received()

gboolean _drag_motion_received ( GtkWidget * widget,
GdkDragContext * dc,
gint x,
gint y,
guint time,
gpointer data )
static

◆ _film_strip_activated()

◆ _print_setup_initial_image()

◆ _view_print_filmstrip_activate_callback()

void _view_print_filmstrip_activate_callback ( gpointer instance,
int32_t imgid,
gpointer user_data )
static

Definition at line 94 of file print.c.

References _film_strip_activated(), and instance.

Referenced by enter(), and leave().

◆ _view_print_filmstrip_drag_begin_callback()

void _view_print_filmstrip_drag_begin_callback ( gpointer instance,
int32_t imgid,
gpointer user_data )
static

◆ _view_print_settings()

void _view_print_settings ( const dt_view_t * view,
dt_print_info_t * pinfo,
dt_images_box * imgs )
static

◆ cleanup()

◆ enter()

◆ expose()

◆ expose_print_page()

◆ init()

◆ key_pressed()

int key_pressed ( dt_view_t * self,
GdkEventKey * event )

Definition at line 421 of file print.c.

References dt_ctl_switch_mode_to(), dt_gui_get_ui(), FALSE, and TRUE.

◆ leave()

◆ mouse_moved()

◆ name()

const char * name ( const dt_view_t * self)

Definition at line 71 of file print.c.

◆ try_enter()

◆ view()

uint32_t view ( const dt_view_t * self)

Definition at line 76 of file print.c.

References DT_VIEW_PRINT.