![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "develop/imageop_gui.h"
#include "develop/imageop.h"
#include "bauhaus/bauhaus.h"
#include "dtgtk/button.h"
#include "common/darktable.h"
#include "gui/gtk.h"
#include <assert.h>
#include <gmodule.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <time.h>
Data Structures | |
struct | dt_module_param_t |
Typedefs | |
typedef struct dt_module_param_t | dt_module_param_t |
Functions | |
static void | _iop_toggle_callback (GtkWidget *togglebutton, dt_module_param_t *data) |
static void | _add_widget_to_module_list (dt_iop_module_t *self, GtkWidget *widget) |
GtkWidget * | dt_bauhaus_slider_from_params (dt_iop_module_t *self, const char *param) |
GtkWidget * | dt_bauhaus_combobox_from_params (dt_iop_module_t *self, const char *param) |
GtkWidget * | dt_bauhaus_toggle_from_params (dt_iop_module_t *self, const char *param) |
GtkWidget * | dt_iop_togglebutton_new (dt_iop_module_t *self, const char *section, const gchar *label, const gchar *ctrl_label, GCallback callback, gboolean local, guint accel_key, GdkModifierType mods, DTGTKCairoPaintIconFunc paint, GtkWidget *box) |
GtkWidget * | dt_iop_button_new (dt_iop_module_t *self, const gchar *label, GCallback callback, gboolean local, guint accel_key, GdkModifierType mods, DTGTKCairoPaintIconFunc paint, gint paintflags, GtkWidget *box) |
gboolean | dt_mask_scroll_increases (int up) |
typedef struct dt_module_param_t dt_module_param_t |
|
static |
References dt_gui_module_t::widget_list.
Referenced by dt_bauhaus_toggle_from_params(), dt_iop_button_new(), and dt_iop_togglebutton_new().
|
static |
References darktable, dt_iop_gui_changed(), darktable_t::gui, dt_module_param_t::param, and dt_gui_gtk_t::reset.
Referenced by dt_bauhaus_toggle_from_params().
GtkWidget * dt_bauhaus_combobox_from_params | ( | dt_iop_module_t * | self, |
const char * | param | ||
) |
References darktable_t::bauhaus, darktable, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_add_full(), DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, dt_bauhaus_combobox_new(), DT_BAUHAUS_SPACE, DT_BAUHAUS_WIDGET, dt_bauhaus_widget_set_field(), dt_bauhaus_widget_set_label(), DT_GUI_MODULE, DT_INTROSPECTION_TYPE_BOOL, DT_INTROSPECTION_TYPE_ENUM, DT_INTROSPECTION_TYPE_INT, DT_INTROSPECTION_TYPE_UINT, dt_util_str_replace(), f(), FALSE, dt_iop_module_t::params, dt_iop_module_t::so, TRUE, dt_bauhaus_widget_t::use_default_callback, and dt_iop_module_t::widget.
Referenced by gui_init(), and gui_init().
GtkWidget * dt_bauhaus_slider_from_params | ( | dt_iop_module_t * | self, |
const char * | param | ||
) |
References darktable_t::bauhaus, darktable, dt_iop_module_t::default_params, dt_bauhaus_slider_new(), dt_bauhaus_slider_new_with_range_and_feedback(), DT_BAUHAUS_SPACE, DT_BAUHAUS_WIDGET, dt_bauhaus_widget_set_field(), dt_bauhaus_widget_set_label(), DT_GUI_MODULE, DT_INTROSPECTION_TYPE_FLOAT, DT_INTROSPECTION_TYPE_INT, DT_INTROSPECTION_TYPE_USHORT, dt_util_str_replace(), f(), FALSE, MAX, dt_iop_module_t::params, dt_iop_module_t::so, TRUE, dt_bauhaus_widget_t::use_default_callback, and dt_iop_module_t::widget.
Referenced by gui_init(), and gui_init().
GtkWidget * dt_bauhaus_toggle_from_params | ( | dt_iop_module_t * | self, |
const char * | param | ||
) |
References _add_widget_to_module_list(), _iop_toggle_callback(), DT_BAUHAUS_SPACE, DT_INTROSPECTION_TYPE_BOOL, dt_util_str_replace(), f(), FALSE, dt_module_param_t::param, dt_iop_module_t::params, dt_iop_module_t::so, and dt_iop_module_t::widget.
Referenced by gui_init(), and gui_init().
GtkWidget * dt_iop_button_new | ( | dt_iop_module_t * | self, |
const gchar * | label, | ||
GCallback | callback, | ||
gboolean | local, | ||
guint | accel_key, | ||
GdkModifierType | mods, | ||
DTGTKCairoPaintIconFunc | paint, | ||
gint | paintflags, | ||
GtkWidget * | box | ||
) |
References _add_widget_to_module_list(), dtgtk_button_new(), and TRUE.
Referenced by gui_init().
GtkWidget * dt_iop_togglebutton_new | ( | dt_iop_module_t * | self, |
const char * | section, | ||
const gchar * | label, | ||
const gchar * | ctrl_label, | ||
GCallback | callback, | ||
gboolean | local, | ||
guint | accel_key, | ||
GdkModifierType | mods, | ||
DTGTKCairoPaintIconFunc | paint, | ||
GtkWidget * | box | ||
) |
References _add_widget_to_module_list(), dtgtk_togglebutton_new(), FALSE, and tooltip.
Referenced by dt_iop_gui_init_blendif(), dt_iop_gui_init_blending(), dt_iop_gui_init_masks(), gui_init(), and gui_init().
gboolean dt_mask_scroll_increases | ( | int | up | ) |
References dt_conf_get_bool().
Referenced by dt_masks_events_mouse_scrolled(), and scrolled().