![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/darktable.h"
#include "common/history.h"
#include "common/styles.h"
#include "control/control.h"
#include "develop/imageop.h"
#include "gui/gtk.h"
#include "gui/hist_dialog.h"
#include "gui/styles.h"
#include "gui/draw.h"
Typedefs | |
typedef enum _style_items_columns_t | _styles_columns_t |
Enumerations | |
enum | _style_items_columns_t { DT_HIST_ITEMS_COL_ENABLED = 0 , DT_HIST_ITEMS_COL_ISACTIVE , DT_HIST_ITEMS_COL_NAME , DT_HIST_ITEMS_COL_NUM , DT_HIST_ITEMS_NUM_COLS } |
Functions | |
static gboolean | _gui_hist_is_copy_module_order_set (dt_history_copy_item_t *d) |
static GList * | _gui_hist_get_active_items (dt_history_copy_item_t *d) |
static void | _gui_hist_set_items (dt_history_copy_item_t *d, gboolean active) |
static void | _gui_hist_copy_response (GtkDialog *dialog, gint response_id, dt_history_copy_item_t *g) |
static void | _gui_hist_item_toggled (GtkCellRendererToggle *cell, gchar *path_str, gpointer data) |
static gboolean | _gui_is_set (GList *selops, unsigned int num) |
void | tree_on_row_activated (GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *col, gpointer userdata) |
int | dt_gui_hist_dialog_new (dt_history_copy_item_t *d, int32_t imgid, gboolean iscopy) |
typedef enum _style_items_columns_t _styles_columns_t |
|
static |
References _gui_hist_get_active_items(), _gui_hist_is_copy_module_order_set(), _gui_hist_set_items(), FALSE, and TRUE.
Referenced by dt_gui_hist_dialog_new().
|
static |
References DT_HIST_ITEMS_COL_ENABLED, DT_HIST_ITEMS_COL_NUM, FALSE, dt_history_copy_item_t::items, and model.
Referenced by _gui_hist_copy_response().
|
static |
References DT_HIST_ITEMS_COL_ENABLED, DT_HIST_ITEMS_COL_NUM, FALSE, dt_history_copy_item_t::items, model, and TRUE.
Referenced by _gui_hist_copy_response().
|
static |
References DT_HIST_ITEMS_COL_ENABLED, FALSE, dt_history_copy_item_t::items, model, and TRUE.
Referenced by dt_gui_hist_dialog_new().
|
static |
References DT_HIST_ITEMS_COL_ENABLED, dt_history_copy_item_t::items, and model.
Referenced by _gui_hist_copy_response().
|
static |
Referenced by dt_gui_hist_dialog_new().
int dt_gui_hist_dialog_new | ( | dt_history_copy_item_t * | d, |
int32_t | imgid, | ||
gboolean | iscopy | ||
) |
shows a dialog for creating a new style, w if not null is a widget to change the sensitive state depending on the dialog response.
References _gui_hist_copy_response(), _gui_hist_item_toggled(), _gui_is_set(), dt_history_copy_item_t::copy_iop_order, darktable, dt_control_log(), dt_draw_paint_to_pixbuf(), DT_HIST_ITEMS_COL_ENABLED, DT_HIST_ITEMS_COL_ISACTIVE, DT_HIST_ITEMS_COL_NAME, DT_HIST_ITEMS_COL_NUM, DT_HIST_ITEMS_NUM_COLS, dt_history_get_items(), dt_history_item_free(), dt_history_module_skip_copy(), dt_iop_get_module_flags(), dt_iop_order_string(), dt_ioppr_get_iop_order_version(), dt_osx_disallow_fullscreen(), DT_PIXEL_APPLY_DPI, dt_ui_main_window(), dtgtk_cairo_paint_switch(), dtgtk_cairo_paint_switch_inactive(), dt_history_item_t::enabled, FALSE, flags, darktable_t::gui, IOP_FLAGS_HIDDEN, dt_history_copy_item_t::items, items, dt_history_item_t::name, dt_history_item_t::num, dt_history_item_t::op, dt_history_copy_item_t::selops, tree_on_row_activated(), TRUE, and dt_gui_gtk_t::ui.
Referenced by dt_history_copy_parts(), and dt_history_paste_parts_on_list().
void tree_on_row_activated | ( | GtkTreeView * | treeview, |
GtkTreePath * | path, | ||
GtkTreeViewColumn * | col, | ||
gpointer | userdata | ||
) |
References DT_HIST_ITEMS_COL_ENABLED, FALSE, model, and TRUE.
Referenced by dt_gui_hist_dialog_new().