|
Blender V5.0
|
#include "BLI_colorspace.hh"#include "BLI_listbase.h"#include "BLI_string.h"#include "BKE_context.hh"#include "BKE_image.hh"#include "BKE_main.hh"#include "BKE_movieclip.h"#include "BKE_report.hh"#include "DNA_windowmanager_enums.h"#include "DNA_windowmanager_types.h"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "IMB_colormanagement.hh"#include "DEG_depsgraph.hh"#include "UI_interface_c.hh"#include "UI_interface_icons.hh"#include "UI_interface_layout.hh"#include "BLT_translation.hh"#include "ED_image.hh"#include "ED_render.hh"#include "RE_pipeline.h"#include "SEQ_prefetch.hh"#include "SEQ_relations.hh"#include "WM_api.hh"#include "WM_types.hh"#include "wm_files.hh"Go to the source code of this file.
Functions | |
Set Working Color Space Operator | |
| static const EnumPropertyItem * | working_space_itemf (bContext *, PointerRNA *, PropertyRNA *, bool *r_free) |
| static bool | wm_set_working_space_check_safe (bContext *C, wmOperator *op) |
| static wmOperatorStatus | wm_set_working_color_space_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | wm_set_working_color_space_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| void | WM_OT_set_working_color_space (wmOperatorType *ot) |
Functions for handling file colorspaces.
Definition in file wm_files_colorspace.cc.
| void WM_OT_set_working_color_space | ( | wmOperatorType * | ot | ) |
Definition at line 186 of file wm_files_colorspace.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_dummy_NULL_items, wm_set_working_color_space_exec(), wm_set_working_color_space_invoke(), and working_space_itemf().
Referenced by wm_operatortypes_register().
|
static |
Definition at line 89 of file wm_files_colorspace.cc.
References BKE_image_partial_update_mark_full_update(), BKE_image_signal(), BKE_movieclip_clear_cache(), BKE_movieclip_free_gputexture(), C, blender::seq::cache_cleanup(), Main::colorspace, CTX_data_main(), DEG_id_tag_update(), ED_render_engine_changed(), ID_RECALC_SOURCE, IMA_SIGNAL_COLORMANAGE, Main::images, IMB_colormanagement_working_space_convert(), IMB_colormanagement_working_space_get_indexed_name(), IMB_colormanagement_working_space_set_from_name(), LISTBASE_FOREACH, Main::movieclips, NC_SCENE, NC_WINDOW, ND_NODES, ND_RENDER_OPTIONS, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::seq::prefetch_stop_all(), wmOperator::ptr, RE_FreeAllPersistentData(), RE_FreeAllRenderResults(), RE_FreeInteractiveCompositorRenders(), RNA_boolean_get(), RNA_enum_get(), MainColorspace::scene_linear_name, blender::colorspace::scene_linear_to_xyz, MainColorspace::scene_linear_to_xyz, Main::scenes, STREQ, STRNCPY(), WM_main_add_notifier(), wm_set_working_space_check_safe(), and blender::colorspace::xyz_to_scene_linear.
Referenced by WM_OT_set_working_color_space().
|
static |
Definition at line 152 of file wm_files_colorspace.cc.
References C, Main::colorspace, CTX_data_main(), IFACE_, IMB_colormanagement_working_space_get_default(), IMB_colormanagement_working_space_get_indexed_name(), IMB_colormanagement_working_space_get_named_index(), OPERATOR_CANCELLED, wmOperator::ptr, RNA_enum_get(), RNA_enum_set(), MainColorspace::scene_linear_name, STREQ, WM_operator_props_popup_confirm_ex(), and wm_set_working_space_check_safe().
Referenced by WM_OT_set_working_color_space().
|
static |
Definition at line 67 of file wm_files_colorspace.cc.
References BKE_report(), C, CTX_data_main(), CTX_data_scene(), CTX_wm_manager(), ED_image_should_save_modified(), wmOperator::reports, RPT_, RPT_WARNING, WM_JOB_TYPE_ANY, and WM_jobs_test().
Referenced by wm_set_working_color_space_exec(), and wm_set_working_color_space_invoke().
|
static |
Definition at line 54 of file wm_files_colorspace.cc.
References IMB_colormanagement_working_space_items_add(), and RNA_enum_item_end().
Referenced by WM_OT_set_working_color_space().