45 printf(
"%s: property not found: %s.%s\n",
54 view_transform_ptr.
data);
61 col->prop(&view_transform_ptr,
"exposure",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
62 col->prop(&view_transform_ptr,
"gamma",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
65 col->prop(&view_transform_ptr,
"use_curve_mapping",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
68 col, &view_transform_ptr,
"curve_mapping",
'c',
true,
false,
false,
false,
false);
72 col->prop(&view_transform_ptr,
"use_white_balance",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
75 &view_transform_ptr,
"white_balance_temperature",
UI_ITEM_NONE, std::nullopt, ICON_NONE);
76 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, bool presets)
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)