Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
view_api.h File Reference
#include "common/module_api.h"
#include "gui/gtk.h"
+ Include dependency graph for view_api.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 OPTIONAL (const char *, name, const struct dt_view_t *self)
 
 OPTIONAL (uint32_t, view, const struct dt_view_t *self)
 
 DEFAULT (uint32_t, flags,)
 
 OPTIONAL (void, init, struct dt_view_t *self)
 
 OPTIONAL (void, gui_init, struct dt_view_t *self)
 
 OPTIONAL (void, cleanup, struct dt_view_t *self)
 
 OPTIONAL (void, expose, struct dt_view_t *self, cairo_t *cr, int32_t width, int32_t height, int32_t pointerx, int32_t pointery)
 
 OPTIONAL (int, try_enter, struct dt_view_t *self)
 
 OPTIONAL (void, enter, struct dt_view_t *self)
 
 OPTIONAL (void, leave, struct dt_view_t *self)
 
 OPTIONAL (void, reset, struct dt_view_t *self)
 
 OPTIONAL (void, mouse_enter, struct dt_view_t *self)
 
 OPTIONAL (void, mouse_leave, struct dt_view_t *self)
 
 OPTIONAL (void, mouse_moved, struct dt_view_t *self, double x, double y, double pressure, int which)
 
 OPTIONAL (int, button_released, struct dt_view_t *self, double x, double y, int which, uint32_t state)
 
 OPTIONAL (int, button_pressed, struct dt_view_t *self, double x, double y, double pressure, int which, int type, uint32_t state)
 
 OPTIONAL (int, key_pressed, struct dt_view_t *self, GdkEventKey *event)
 
 OPTIONAL (void, configure, struct dt_view_t *self, int width, int height)
 
 OPTIONAL (int, scrolled, struct dt_view_t *self, double x, double y, int up, int state)
 
 OPTIONAL (void, scrollbar_changed, struct dt_view_t *self, double x, double y)
 

Function Documentation

◆ DEFAULT()

DEFAULT ( uint32_t  ,
flags   
)

◆ OPTIONAL() [1/19]

OPTIONAL ( const char *  ,
name  ,
const struct dt_view_t self 
)

◆ OPTIONAL() [2/19]

OPTIONAL ( int  ,
button_pressed  ,
struct dt_view_t self,
double  x,
double  y,
double  pressure,
int  which,
int  type,
uint32_t  state 
)

◆ OPTIONAL() [3/19]

OPTIONAL ( int  ,
button_released  ,
struct dt_view_t self,
double  x,
double  y,
int  which,
uint32_t  state 
)

◆ OPTIONAL() [4/19]

OPTIONAL ( int  ,
key_pressed  ,
struct dt_view_t self,
GdkEventKey *  event 
)

◆ OPTIONAL() [5/19]

OPTIONAL ( int  ,
scrolled  ,
struct dt_view_t self,
double  x,
double  y,
int  up,
int  state 
)

◆ OPTIONAL() [6/19]

OPTIONAL ( int  ,
try_enter  ,
struct dt_view_t self 
)

◆ OPTIONAL() [7/19]

OPTIONAL ( uint32_t  ,
view  ,
const struct dt_view_t self 
)

◆ OPTIONAL() [8/19]

OPTIONAL ( void  ,
cleanup  ,
struct dt_view_t self 
)

◆ OPTIONAL() [9/19]

OPTIONAL ( void  ,
configure  ,
struct dt_view_t self,
int  width,
int  height 
)

◆ OPTIONAL() [10/19]

OPTIONAL ( void  ,
enter  ,
struct dt_view_t self 
)

◆ OPTIONAL() [11/19]

OPTIONAL ( void  ,
expose  ,
struct dt_view_t self,
cairo_t *  cr,
int32_t  width,
int32_t  height,
int32_t  pointerx,
int32_t  pointery 
)

◆ OPTIONAL() [12/19]

OPTIONAL ( void  ,
gui_init  ,
struct dt_view_t self 
)

◆ OPTIONAL() [13/19]

OPTIONAL ( void  ,
init  ,
struct dt_view_t self 
)

◆ OPTIONAL() [14/19]

OPTIONAL ( void  ,
leave  ,
struct dt_view_t self 
)

◆ OPTIONAL() [15/19]

OPTIONAL ( void  ,
mouse_enter  ,
struct dt_view_t self 
)

◆ OPTIONAL() [16/19]

OPTIONAL ( void  ,
mouse_leave  ,
struct dt_view_t self 
)

◆ OPTIONAL() [17/19]

OPTIONAL ( void  ,
mouse_moved  ,
struct dt_view_t self,
double  x,
double  y,
double  pressure,
int  which 
)

◆ OPTIONAL() [18/19]

OPTIONAL ( void  ,
reset  ,
struct dt_view_t self 
)

◆ OPTIONAL() [19/19]

OPTIONAL ( void  ,
scrollbar_changed  ,
struct dt_view_t self,
double  x,
double  y 
)