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

Go to the source code of this file.

Data Structures

struct  dt_gui_module_t
 The dt_gui_module_t type is the intersection between a dt_lib_module_t and a dt_iop_module_t structure. It acts as an abstract class from which we can connect to the common fields of both structures, for the sake of blindly connecting bauhaus widgets without inheriting modules. Indeed, modules need to inheritate the bauhaus API to instanciate its widgets. But then, if the bauhaus API also inheritates modules, the circular dependency becomes a mess. This allows to reference parent modules in bauhaus widget without inheriting their API, and without caring if the parent is a dt_iop_module_t or a dt_lib_module_t. More...
 

Macros

#define DT_GUI_MODULE(x)   ((dt_gui_module_t *)x)
 

Typedefs

typedef struct dt_gui_module_t dt_gui_module_t
 

Macro Definition Documentation

◆ DT_GUI_MODULE

#define DT_GUI_MODULE (   x)    ((dt_gui_module_t *)x)

Typedef Documentation

◆ dt_gui_module_t