44 printf(
"%s: property not found: %s.%s\n",
53 view_transform_ptr.
data);
60 col->prop(&view_transform_ptr,
"exposure",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
61 col->prop(&view_transform_ptr,
"gamma",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
64 col->prop(&view_transform_ptr,
"use_curve_mapping",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
67 col, &view_transform_ptr,
"curve_mapping",
'c',
true,
false,
false,
false);
71 col->prop(&view_transform_ptr,
"use_white_balance",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
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);
void uiTemplateCurveMapping(uiLayout *layout, PointerRNA *ptr, blender::StringRefNull propname, int type, bool levels, bool brush, bool neg_slope, bool tone)
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)