24 printf(
"%s: property not found: %s.%s\n",
44 printf(
"%s: property not found: %s.%s\n",
53 view_transform_ptr.
data);
61 col->prop(&view_transform_ptr,
"gamma",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
67 col, &view_transform_ptr,
"curve_mapping",
'c',
true,
false,
false,
false);
74 &view_transform_ptr,
"white_balance_temperature",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
75 col->prop(&view_transform_ptr,
"white_balance_tint",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
@ COLORMANAGE_VIEW_USE_WHITE_BALANCE
@ COLORMANAGE_VIEW_USE_CURVES
void uiTemplateCurveMapping(uiLayout *layout, PointerRNA *ptr, blender::StringRefNull propname, int type, bool levels, bool brush, bool neg_slope, bool tone)
constexpr const char * c_str() const
void uiTemplateColorspaceSettings(uiLayout *layout, PointerRNA *ptr, const StringRefNull propname)
void uiTemplateColormanagedViewSettings(uiLayout *layout, bContext *, PointerRNA *ptr, const StringRefNull propname)
PropertyRNA * RNA_struct_find_property(PointerRNA *ptr, const char *identifier)
PointerRNA RNA_property_pointer_get(PointerRNA *ptr, PropertyRNA *prop)
const char * RNA_struct_identifier(const StructRNA *type)
uiLayout & column(bool align)
void prop(PointerRNA *ptr, PropertyRNA *prop, int index, int value, eUI_Item_Flag flag, std::optional< blender::StringRef > name_opt, int icon, std::optional< blender::StringRef > placeholder=std::nullopt)