82 #include "RNA_prototypes.h"
100 #define TEMPLATE_SEARCH_TEXTBUT_MIN_WIDTH (UI_UNIT_X * 6)
101 #define TEMPLATE_SEARCH_TEXTBUT_HEIGHT UI_UNIT_Y
160 const char *
const tip,
161 const bool use_previews,
163 const bool live_icon)
177 const bool use_preview_icon = use_big_size || (
id && (
GS(
id->
name) !=
ID_SCR));
189 if (use_preview_icon) {
198 if ((idfrom && idfrom->lib) || !editable) {
221 if ((idfrom && idfrom->lib) || !editable) {
234 const int preview_rows,
235 const int preview_cols,
238 static char search[256];
250 if (preview_rows > 0 && preview_cols > 0) {
251 const int w = 4 *
U.widget_unit * preview_cols * scale;
252 const int h = 5 *
U.widget_unit * preview_rows * scale;
255 uiDefBut(block,
UI_BTYPE_LABEL, 0,
"", 10, 26,
w, h,
NULL, 0, 0, 0, 0,
NULL);
392 const bool use_lib_prefix = template_ui->
preview || iconid;
397 int name_prefix_offset;
399 if (!use_lib_prefix) {
408 name_prefix_offset)) {
420 const bool UNUSED(is_first))
438 for (
int i = 0; i < filtered_amount; i++) {
475 for (
int i = 0; i < filtered_amount; i++) {
492 const bool UNUSED(is_first))
524 tooltip_data.
name = active_id->
name + 2;
527 TIP_(
"Choose %s data-block to be assigned to this user"),
531 sizeof(tooltip_data.
hint),
532 TIP_(
"Source library: %s\n%s"),
545 void (*id_search_update_fn)(
566 active_item_ptr.
data,
590 memset(r_ptr, 0,
sizeof(*r_ptr));
595 *r_ptr = template_ui->
ptr;
596 *r_prop = template_ui->
prop;
602 const int parent_level,
604 int *r_parent_level_best)
610 if (parent_level > *r_parent_level_best) {
611 *r_parent_level_best = parent_level;
612 *r_collection_parent_best = collection;
616 if (iter->collection->id.lib != collection->
id.
lib &&
ID_IS_LINKED(iter->collection)) {
620 iter->collection, parent_level + 1, r_collection_parent_best, r_parent_level_best);
625 Collection *root_collection,
ID *target_id,
const bool do_parents)
642 if (iter->collection->id.lib != root_collection->
id.
lib &&
ID_IS_LINKED(root_collection)) {
645 if (
ID_IS_LINKED(iter->collection) && iter->collection->id.lib != target_id->
lib) {
657 iter->collection, target_id,
false);
664 const char *undo_push_label;
665 if (r_undo_push_label ==
NULL) {
666 r_undo_push_label = &undo_push_label;
677 *r_undo_push_label =
"Make Library Override Hierarchy Editable";
681 *r_undo_push_label =
"Clear Library Override Hierarchy";
700 object_active = (
Object *)owner_id;
702 if (object_active !=
NULL) {
708 object_active =
NULL;
713 object_active =
NULL;
721 if (collection_active !=
NULL) {
727 collection_active =
NULL;
730 int parent_level_best = -1;
733 collection_active, 0, &collection_parent_best, &parent_level_best);
734 collection_active = collection_parent_best;
739 collection_active =
NULL;
742 if (collection_active ==
NULL && object_active !=
NULL &&
753 int parent_level_best = -1;
756 collection_iter, 0, &collection_parent_best, &parent_level_best);
757 collection_active = collection_parent_best;
767 if (collection_active !=
NULL &&
770 if (object_active !=
NULL) {
774 bmain,
scene, view_layer,
NULL,
id, &collection_active->
id,
NULL, &id_override,
false);
791 if (collection_active !=
NULL &&
794 if (object_active !=
NULL) {
798 bmain,
scene, view_layer,
NULL,
id, &collection_active->
id,
NULL, &id_override,
false);
801 if (object_active !=
NULL) {
823 if (object_active !=
NULL) {
824 if (collection_active !=
NULL &&
827 if (object_active !=
NULL) {
835 &collection_active->
id,
843 bmain,
scene, view_layer,
NULL,
id, &object_active->
id,
NULL, &id_override,
false);
862 if (id_override !=
NULL) {
864 *r_undo_push_label =
"Make Library Override Hierarchy";
884 const char **r_undo_push_label)
890 C, bmain, owner_id,
id, r_undo_push_label);
892 if (id_override !=
NULL) {
915 const char *undo_push_label =
NULL;
925 RNA_warning(
"warning, id event %d shouldn't come here", event);
932 memset(&idptr, 0,
sizeof(idptr));
941 undo_push_label =
"Delete Data-Block";
944 undo_push_label =
"Unlink Data-Block";
956 undo_push_label =
"Fake User";
974 undo_push_label =
"Make Local";
977 if (undo_push_label !=
NULL) {
995 undo_push_label =
"Make Local";
1002 (template_ui->
ptr.
type == &RNA_LayerObjects));
1017 undo_push_label =
"Make Single User";
1026 if (undo_push_label !=
NULL) {
1036 return N_(
"Browse Scene to be linked");
1038 return N_(
"Browse Object to be linked");
1040 return N_(
"Browse Mesh Data to be linked");
1042 return N_(
"Browse Curve Data to be linked");
1044 return N_(
"Browse Metaball Data to be linked");
1046 return N_(
"Browse Material to be linked");
1048 return N_(
"Browse Texture to be linked");
1050 return N_(
"Browse Image to be linked");
1052 return N_(
"Browse Line Style Data to be linked");
1054 return N_(
"Browse Lattice Data to be linked");
1056 return N_(
"Browse Light Data to be linked");
1058 return N_(
"Browse Camera Data to be linked");
1060 return N_(
"Browse World Settings to be linked");
1062 return N_(
"Choose Screen layout");
1064 return N_(
"Browse Text to be linked");
1066 return N_(
"Browse Speaker Data to be linked");
1068 return N_(
"Browse Sound to be linked");
1070 return N_(
"Browse Armature data to be linked");
1072 return N_(
"Browse Action to be linked");
1074 return N_(
"Browse Node Tree to be linked");
1076 return N_(
"Browse Brush to be linked");
1078 return N_(
"Browse Particle Settings to be linked");
1080 return N_(
"Browse Grease Pencil Data to be linked");
1082 return N_(
"Browse Movie Clip to be linked");
1084 return N_(
"Browse Mask to be linked");
1086 return N_(
"Browse Palette Data to be linked");
1088 return N_(
"Browse Paint Curve Data to be linked");
1090 return N_(
"Browse Cache Files to be linked");
1092 return N_(
"Browse Workspace to be linked");
1094 return N_(
"Browse LightProbe to be linked");
1096 return N_(
"Browse Curves Data to be linked");
1098 return N_(
"Browse Point Cloud Data to be linked");
1100 return N_(
"Browse Volume Data to be linked");
1102 return N_(
"Browse Simulation to be linked");
1114 return N_(
"Browse ID data to be linked");
1131 "WORKSPACE_OT_scene_pin_toggle",
1141 #ifdef WITH_INTERNATIONAL
1150 # define template_id_context(type) 0
1157 const char *
const newop,
1158 const bool editable,
1160 const bool use_tab_but,
1210 (
id && !use_tab_but) ? ICON_DUPLICATE : ICON_ADD,
1224 (
id && !use_tab_but) ? ICON_DUPLICATE : ICON_ADD,
1240 if ((idfrom && idfrom->
lib) || !editable) {
1244 #ifndef WITH_INTERNATIONAL
1258 const char *unlinkop,
1260 const bool live_icon,
1261 const bool hide_buttons)
1304 const bool user_alert = (
id->us <= 0);
1342 ICON_LIBRARY_DATA_INDIRECT,
1352 TIP_(
"Indirect library data-block, cannot be made local, "
1353 "Shift + Click to create a library override hierarchy"));
1359 ICON_LIBRARY_DATA_DIRECT,
1369 TIP_(
"Direct linked library data-block, click to make local, "
1370 "Shift + Click to create a library override"));
1385 ICON_LIBRARY_DATA_OVERRIDE,
1395 TIP_(
"Library override of linked data-block, click to make fully local, "
1396 "Shift + Click to clear the library override and toggle if it can be edited"));
1421 TIP_(
"Display number of users of this data (click to make a single-user copy)"));
1446 ICON_ASSET_MANAGER - 1,
1454 (hide_buttons ==
false)) {
1485 "FILE_OT_unpack_item",
1492 TIP_(
"Packed File, click to unpack"));
1507 (
id) ?
"" :
IFACE_(
"Open"),
1521 (
id) ?
"" :
IFACE_(
"Open"),
1536 if ((idfrom && idfrom->
lib) || !editable) {
1543 if (
id && (flag &
UI_ID_DELETE) && (hide_buttons ==
false)) {
1578 TIP_(
"Unlink data-block "
1579 "(Shift + Click to set users to zero, data will then not be saved)"));
1590 if ((idfrom && idfrom->
lib) || !editable) {
1634 ID *
id = link->data;
1636 const int but_width = name_width +
UI_UNIT_X;
1668 if (active_ptr.
type) {
1688 const char *propname,
1691 const char *unlinkop,
1701 const bool live_icon,
1702 const bool hide_buttons)
1713 template_ui->
prop = prop;
1716 template_ui->
scale = scale;
1734 template_ui->
idcode = idcode;
1740 if (template_ui->
idlb) {
1767 const char *propname,
1770 const char *unlinkop,
1772 const bool live_icon,
1797 const char *propname,
1800 const char *unlinkop,
1826 const char *propname,
1829 const char *unlinkop,
1833 const bool hide_buttons)
1857 const char *propname,
1877 scale < 0.5f ? 0.5f : scale,
1885 const char *propname,
1917 const char *propname,
1918 const char *proptypename,
1946 uiItemL(row, text, ICON_NONE);
2025 const bool editable,
2026 const bool live_icon)
2060 const char *
const operator_name,
2063 const bool editable)
2065 if (!operator_name) {
2081 const char *unlinkop)
2090 if (active_ptr.
type) {
2110 const char *
const searchpropname)
2114 if (searchptr && !searchptr->
data) {
2118 if (!searchptr && !searchpropname) {
2121 else if (!searchptr && searchpropname) {
2122 RNA_warning(
"searchpropname defined (%s) but searchptr is missing", searchpropname);
2124 else if (searchptr && !searchpropname) {
2125 RNA_warning(
"searchptr defined (%s) but searchpropname is missing",
2129 RNA_warning(
"search collection property not found: %s.%s",
2134 RNA_warning(
"search collection property is not a collection type: %s.%s",
2141 RNA_warning(
"search collection items from %s.%s are not of type %s",
2154 const char *
const propname,
2156 const char *
const searchpropname)
2172 return template_search;
2178 const char *propname,
2180 const char *searchpropname,
2182 const char *unlinkop)
2185 ptr, propname, searchptr, searchpropname);
2186 if (template_search !=
NULL) {
2195 const char *propname,
2197 const char *searchpropname,
2199 const char *unlinkop,
2204 ptr, propname, searchptr, searchpropname);
2206 if (template_search !=
NULL) {
2227 const char *propname,
2242 uiItemR(row,
ptr, propname, 0, text, ICON_RNA);
2271 if (!panels_match) {
2274 for (
int i = 0; md; i++, md = md->
next) {
2301 panel = panel->
next;
2309 panel = panel->
next;
2323 #define CONSTRAINT_TYPE_PANEL_PREFIX "OBJECT_PT_"
2324 #define CONSTRAINT_BONE_TYPE_PANEL_PREFIX "BONE_PT_"
2351 RNA_enum_set(&props_ptr,
"owner", constraint_from_bone ? 1 : 0);
2417 if (use_bone_constraints) {
2420 else if (ob !=
NULL) {
2430 if (!panels_match) {
2433 for (
int i = 0; con; i++, con = con->
next) {
2447 panel_id_func(con, panel_idname);
2481 panel = panel->
next;
2489 panel = panel->
next;
2494 #undef CONSTRAINT_TYPE_PANEL_PREFIX
2495 #undef CONSTRAINT_BONE_TYPE_PANEL_PREFIX
2521 if (!panels_match) {
2524 for (
int i = 0; md; i++, md = md->
next) {
2551 panel = panel->
next;
2559 panel = panel->
next;
2566 #define ERROR_LIBDATA_MESSAGE TIP_("Can't edit external library data")
2592 if (!panels_match) {
2595 for (
int i = 0; fx; i++, fx = fx->
next) {
2617 panel = panel->
next;
2625 panel = panel->
next;
2642 #ifdef USE_OP_RESET_BUT
2645 void *
UNUSED(arg_dummy2))
2703 uiItemM(row,
"WM_MT_operator_presets",
NULL, ICON_NONE);
2749 #ifdef USE_OP_RESET_BUT
2773 TIP_(
"Reset operator defaults"));
2809 bool *r_has_advanced)
2814 C, macro_op, layout, label_align, layout_flags, r_has_advanced);
2820 C, op, layout, label_align, layout_flags);
2822 if (r_has_advanced) {
2823 *r_has_advanced =
true;
2892 "SCREEN_OT_repeat_last",
2902 int layout_flags = 0;
2907 bool has_advanced =
false;
2917 uiItemO(layout,
IFACE_(
"More..."), ICON_NONE,
"SCREEN_OT_redo_last");
2929 #define ERROR_LIBDATA_MESSAGE TIP_("Can't edit external library data")
2957 "CONSTRAINT_OT_apply");
2963 "CONSTRAINT_OT_copy");
2968 "CONSTRAINT_OT_copy_to_selected");
2975 "CONSTRAINT_OT_move_to_index",
2990 "CONSTRAINT_OT_move_to_index",
3030 uiItemR(row, &
ptr,
"name", 0,
"", ICON_NONE);
3033 uiItemR(row, &
ptr,
"enabled", 0,
"", ICON_NONE);
3042 uiItemO(sub,
"", ICON_X,
"CONSTRAINT_OT_delete");
3099 const char *preview_id)
3103 short *pr_texture =
NULL;
3110 RNA_warning(
"Expected ID of type material, texture, light, world or line style");
3120 pr_texture = &((
Material *)parent)->pr_texture;
3123 pr_texture = &((
World *)parent)->pr_texture;
3126 pr_texture = &((
Light *)parent)->pr_texture;
3142 if (!preview_id || (preview_id[0] ==
'\0')) {
3146 preview_id = _preview_id;
3208 if (pid && show_buttons) {
3228 uiItemR(
col, &material_ptr,
"use_preview_world", 0,
"", ICON_WORLD);
3333 uiItemR(row, &texture_ptr,
"use_preview_alpha", 0,
NULL, ICON_NONE);
3371 for (
int a = 0;
a < coba->
tot;
a++) {
3372 data_tmp[
a] = coba->
data[coba->
tot - (
a + 1)];
3374 for (
int a = 0;
a < coba->
tot;
a++) {
3375 data_tmp[
a].
pos = 1.0f - data_tmp[
a].
pos;
3376 coba->
data[
a] = data_tmp[
a];
3380 coba->
cur = coba->
tot - (coba->
cur + 1);
3387 if (coba->
tot > 1) {
3388 const int tot = evenly ? coba->
tot - 1 : coba->
tot;
3389 const float gap = 1.0f / tot;
3391 for (
int a = 0;
a < coba->
tot;
a++) {
3395 ED_undo_push(
C, evenly ?
"Distribute Stops Evenly" :
"Distribute Stops from Left");
3454 IFACE_(
"Flip Color Ramp"),
3469 IFACE_(
"Distribute Stops from Left"),
3484 IFACE_(
"Distribute Stops Evenly"),
3496 uiItemO(layout,
IFACE_(
"Eyedropper"), ICON_EYEDROPPER,
"UI_OT_eyedropper_colorramp");
3502 IFACE_(
"Reset Color Ramp"),
3526 if (coba->
tot > 1) {
3527 if (coba->
cur > 0) {
3571 const float xs = butr->
xmin;
3572 const float ys = butr->
ymin;
3597 TIP_(
"Add a new color stop to the color ramp"));
3614 TIP_(
"Delete the active position"));
3635 uiItemR(row, &
ptr,
"color_mode", 0,
"", ICON_NONE);
3637 uiItemR(row, &
ptr,
"hue_interpolation", 0,
"", ICON_NONE);
3640 uiItemR(row, &
ptr,
"interpolation", 0,
"", ICON_NONE);
3683 (
float)(
MAX2(0, coba->
tot - 1)),
3686 TIP_(
"Choose active color stop"));
3693 uiItemR(row, &
ptr,
"color", 0,
"", ICON_NONE);
3710 (
float)(
MAX2(0, coba->
tot - 1)),
3713 TIP_(
"Choose active color stop"));
3720 uiItemR(row, &
ptr,
"color", 0,
"", ICON_NONE);
3725 if (but->rnapoin.data !=
ptr.
data) {
3728 if (!but->rnaprop) {
3733 if (
STREQ(prop_identifier,
"position")) {
3737 if (
STREQ(prop_identifier,
"color")) {
3837 const int x = (
a % 8) *
w;
3838 const int y = -(
a / 8) * h;
3840 const int icon = item[
a].
icon;
3841 const int value = item[
a].
value;
3895 const char *propname,
3898 float icon_scale_popup)
3915 int icon = ICON_NONE;
3922 cb_args->
prop = prop;
3991 block,
UI_BTYPE_HISTOGRAM, 0,
"", 0, 0,
UI_UNIT_X * 10, hist->
height, hist, 0, 0, 0, 0,
"");
4167 if (cumap->
curr.
xmin - d < cumap->clipr.xmin) {
4184 if (cumap->
curr.
ymin - d < cumap->clipr.ymin) {
4406 IFACE_(
"Extend Horizontal"),
4421 IFACE_(
"Extend Extrapolated"),
4554 if (labeltype ==
'v') {
4561 block,
UI_BTYPE_ROW, 0,
"X", 0, 0, dx, dx, &cumap->
cur, 0.0, 0.0, 0.0, 0.0,
"");
4566 block,
UI_BTYPE_ROW, 0,
"Y", 0, 0, dx, dx, &cumap->
cur, 0.0, 1.0, 0.0, 0.0,
"");
4571 block,
UI_BTYPE_ROW, 0,
"Z", 0, 0, dx, dx, &cumap->
cur, 0.0, 2.0, 0.0, 0.0,
"");
4575 else if (labeltype ==
'c') {
4582 block,
UI_BTYPE_ROW, 0,
"C", 0, 0, dx, dx, &cumap->
cur, 0.0, 3.0, 0.0, 0.0,
"");
4587 block,
UI_BTYPE_ROW, 0,
"R", 0, 0, dx, dx, &cumap->
cur, 0.0, 0.0, 0.0, 0.0,
"");
4592 block,
UI_BTYPE_ROW, 0,
"G", 0, 0, dx, dx, &cumap->
cur, 0.0, 1.0, 0.0, 0.0,
"");
4597 block,
UI_BTYPE_ROW, 0,
"B", 0, 0, dx, dx, &cumap->
cur, 0.0, 2.0, 0.0, 0.0,
"");
4601 else if (labeltype ==
'h') {
4608 block,
UI_BTYPE_ROW, 0,
"H", 0, 0, dx, dx, &cumap->
cur, 0.0, 0.0, 0.0, 0.0,
"");
4613 block,
UI_BTYPE_ROW, 0,
"S", 0, 0, dx, dx, &cumap->
cur, 0.0, 1.0, 0.0, 0.0,
"");
4618 block,
UI_BTYPE_ROW, 0,
"V", 0, 0, dx, dx, &cumap->
cur, 0.0, 2.0, 0.0, 0.0,
"");
4626 if (labeltype ==
'h') {
4670 const int icon = (cumap->
flag &
CUMA_DO_CLIP) ? ICON_CLIPUV_HLT : ICON_CLIPUV_DEHLT;
4676 if (brush && neg_slope) {
4684 else if (neg_slope) {
4700 block,
UI_BTYPE_CURVE, 0,
"", 0, 0,
size, 8.0f *
UI_UNIT_X, cumap, 0.0f, 1.0f, -1, 0,
"");
4706 bool point_last_or_first =
false;
4707 for (i = 0; i < cm->
totpoint; i++) {
4709 cmp = &cm->
curve[i];
4714 point_last_or_first =
true;
4745 TIP_(
"Auto Handle"));
4765 TIP_(
"Vector Handle"));
4774 ICON_HANDLE_AUTOCLAMPED,
4784 TIP_(
"Auto Clamped"));
4839 TIP_(
"Delete points"));
4841 if (point_last_or_first) {
4866 TIP_(
"Reset Black/White point and curves"));
4875 const char *propname,
4973 IFACE_(
"Cornice Molding"),
5125 if (profile->
view_rect.
xmin - d < profile->clip_rect.xmin) {
5142 if (profile->
view_rect.
ymin - d < profile->clip_rect.ymin) {
5241 "Reapply and update the preset, removing changes");
5294 ICON_ARROW_LEFTRIGHT,
5304 TIP_(
"Reverse Path"));
5308 const int icon = (profile->
flag &
PROF_USE_CLIP) ? ICON_CLIPUV_HLT : ICON_CLIPUV_DEHLT;
5322 TIP_(
"Toggle Profile Clipping"));
5335 const int path_height = path_width;
5354 float *selection_x, *selection_y;
5355 bool point_last_or_first =
false;
5357 for (i = 0; i < profile->
path_len; i++) {
5360 selection_x = &
point->x;
5361 selection_y = &
point->y;
5366 selection_x = &
point->h1_loc[0];
5367 selection_y = &
point->h1_loc[1];
5371 selection_x = &
point->h2_loc[0];
5372 selection_y = &
point->h2_loc[1];
5376 point_last_or_first =
true;
5422 if (point_last_or_first) {
5442 if (point_last_or_first) {
5460 TIP_(
"Delete points"));
5462 if (point_last_or_first) {
5467 uiItemR(layout,
ptr,
"use_sample_straight_edges", 0,
NULL, ICON_NONE);
5468 uiItemR(layout,
ptr,
"use_sample_even_lengths", 0,
NULL, ICON_NONE);
5517 #define WHEEL_SIZE (5 * U.widget_unit)
5521 const char *propname,
5524 bool lock_luminosity,
5536 float softmin, softmax, step, precision;
5544 switch (
U.color_picker_type) {
5564 switch (
U.color_picker_type) {
5575 but = &hsv_but->
but;
5607 if (lock_luminosity) {
5615 switch (
U.color_picker_type) {
5742 const char *propname,
5768 "PALETTE_OT_color_add",
5778 "PALETTE_OT_color_delete",
5789 "PALETTE_OT_color_move",
5802 "PALETTE_OT_color_move",
5821 int row_cols = 0, col_id = 0;
5823 if (row_cols >= cols_per_row) {
5866 "UI_OT_eyedropper_color",
5898 for (
int i = 0; i < tot; i++) {
5911 const char *propname,
5913 const char *used_propname,
5916 const int cols_per_group = 5;
5931 const int cols = (layers / 2) + (layers % 2);
5932 const int groups = ((cols / 2) < cols_per_group) ? (1) : (cols / cols_per_group);
5935 if (used_ptr && used_propname) {
5938 RNA_warning(
"used layers property not found: %s.%s",
5951 for (
int group = 0; group < groups; group++) {
5954 for (
int row = 0; row < 2; row++) {
5957 int layer = groups * cols_per_group * row + cols_per_group * group;
5960 for (
int col = 0; (
col < cols_per_group) && (layer < layers);
col++, layer++) {
5962 const int butlay = 1 << layer;
5964 if (active_layer & butlay) {
5965 icon = ICON_LAYER_ACTIVE;
5968 icon = ICON_LAYER_USED;
5986 #define B_STOPRENDER 1
5987 #define B_STOPCAST 2
5988 #define B_STOPANIM 3
5989 #define B_STOPCOMPO 4
5991 #define B_STOPCLIP 6
5992 #define B_STOPFILE 7
5993 #define B_STOPOTHER 8
6039 char elapsed_str[32];
6040 char remaining_str[32] =
"Unknown";
6045 const double remaining = (elapsed / (
double)progress) - elapsed;
6050 "Time Remaining: %s\n"
6062 int handle_event, icon = 0;
6082 icon = ICON_SEQUENCE;
6088 icon = ICON_SEQUENCE;
6093 icon = ICON_SEQUENCE;
6098 icon = ICON_TRACKER;
6103 icon = ICON_TRACKER;
6108 icon = ICON_TRACKER;
6113 icon = ICON_TRACKER;
6118 icon = ICON_FILEBROWSER;
6128 icon = ICON_RENDERLAYERS;
6146 icon = ICON_MOD_DYNAMICPAINT;
6151 icon = ICON_PHYSICS;
6156 icon = ICON_MOD_FLUIDSIM;
6161 icon = ICON_MOD_OCEAN;
6242 TIP_(
"Stop this job"));
6261 TIP_(
"Stop animation playback"));
6286 if (!rti || rti->
widthfac == 0.0f || !report) {
6345 "SCREEN_OT_info_log_show",
6352 TIP_(
"Click to see the remaining reports in text block: 'Recent Reports'"));
6359 "SCREEN_OT_info_log_show",
6366 "Show in Info Log");
6387 for (
int i = 0; i < 3; i++) {
6396 if (msg || (msg_drag ==
NULL)) {
6397 uiItemL(row, msg ? msg :
"", (ICON_MOUSE_LMB + i));
6401 uiItemL(row, msg_drag, (ICON_MOUSE_LMB_DRAG + i));
6418 uiItemL(layout, status_info_txt, ICON_NONE);
6427 uiItemL(layout, status_info_txt, ICON_NONE);
6487 static char compat_error_msg[256];
6488 char writer_ver_str[12];
6490 writer_ver_str,
sizeof(writer_ver_str), bmain->
versionfile, -1);
6492 TIP_(
"File saved by newer Blender\n(%s), expect loss of data"),
6547 uiItemL(layout, title, ICON_NONE);
6580 "UI_OT_unset_property_button",
6608 for (; but; but = but->
next) {
6635 #ifdef WITH_HEADLESS
6641 for (
int j = 0; j <
ARRAY_SIZE(icon_mod) && icon_mod[j]; j++) {
6642 uiItemL(layout,
"", icon_mod[j]);
6647 else if (text_fallback) {
6649 uiItemL(layout, event_text, ICON_NONE);
6674 uiItemR(layout, &colorspace_settings_ptr,
"name", 0,
IFACE_(
"Color Space"), ICON_NONE);
6680 const char *propname)
6694 uiItemR(
col, &view_transform_ptr,
"view_transform", 0,
IFACE_(
"View"), ICON_NONE);
6698 uiItemR(
col, &view_transform_ptr,
"exposure", 0,
NULL, ICON_NONE);
6702 uiItemR(
col, &view_transform_ptr,
"use_curve_mapping", 0,
NULL, ICON_NONE);
6705 col, &view_transform_ptr,
"curve_mapping",
'c',
true,
false,
false,
false);
6747 const char *propname,
6784 block,
UI_BTYPE_NODE_SOCKET, 0,
"", 0, 0,
UI_UNIT_X,
UI_UNIT_Y,
NULL, 0, 0, 0, 0,
"");
6805 uiItemR(layout, fileptr,
"velocity_name", 0,
NULL, ICON_NONE);
6806 uiItemR(layout, fileptr,
"velocity_unit", 0,
NULL, ICON_NONE);
6833 uiItemL(row,
TIP_(
"Only Alembic Procedurals supported"), ICON_INFO);
6835 else if (!engine_supports_procedural) {
6842 "The Cycles Alembic Procedural is only available with the experimental feature set"),
6847 row,
TIP_(
"The active render engine does not have an Alembic Procedural"), ICON_INFO);
6853 uiItemR(row, fileptr,
"use_render_procedural", 0,
NULL, ICON_NONE);
6855 const bool use_render_procedural =
RNA_boolean_get(fileptr,
"use_render_procedural");
6860 uiItemR(row, fileptr,
"use_prefetch", 0,
NULL, ICON_NONE);
6864 uiItemR(sub, fileptr,
"prefetch_cache_size", 0,
NULL, ICON_NONE);
6879 uiItemR(row, fileptr,
"is_sequence", 0,
NULL, ICON_NONE);
6884 uiItemR(sub, fileptr,
"override_frame", 0,
"", ICON_NONE);
6887 uiItemR(subsub, fileptr,
"frame", 0,
"", ICON_NONE);
6891 uiItemR(row, fileptr,
"frame_offset", 0,
NULL, ICON_NONE);
6902 const char *
UNUSED(active_propname),
6935 "UI_UL_cache_file_layers",
6936 "cache_file_layers",
6949 uiItemO(
col,
"", ICON_ADD,
"cachefile.layer_add");
6950 uiItemO(
col,
"", ICON_REMOVE,
"cachefile.layer_remove");
6955 uiItemO(
col,
"", ICON_TRIA_UP,
"cachefile.layer_move");
6956 uiItemO(
col,
"", ICON_TRIA_DOWN,
"cachefile.layer_move");
6971 printf(
"%s: expected pointer property for %s.%s\n",
6985 const char *propname)
7005 "CACHEFILE_OT_open",
7022 uiItemR(row, &fileptr,
"filepath", 0,
NULL, ICON_NONE);
7024 uiItemO(sub,
"", ICON_FILE_REFRESH,
"cachefile.reload");
7028 uiItemR(row, &fileptr,
"scale", 0,
IFACE_(
"Manual Scale"), ICON_NONE);
7034 uiItemR(row, &fileptr,
"forward_axis", 0,
"Forward Axis", ICON_NONE);
7037 uiItemR(row, &fileptr,
"up_axis", 0,
"Up Axis", ICON_NONE);
7058 "WM_OT_open_mainfile",
Blender kernel action and pose functionality.
void BKE_blender_version_blendfile_string_from_values(char *str_buff, const size_t str_buff_len, const short file_version, const short file_subversion)
#define FOREACH_SCENE_OBJECT_END
bool BKE_collection_has_object_recursive(struct Collection *collection, struct Object *ob)
bool BKE_collection_has_collection(const struct Collection *parent, const struct Collection *collection)
bool BKE_scene_collections_object_remove(struct Main *bmain, struct Scene *scene, struct Object *object, bool free_us)
#define FOREACH_SCENE_OBJECT_BEGIN(scene, _instance)
void BKE_colorband_init(struct ColorBand *coba, bool rangetype)
bool BKE_colorband_element_remove(struct ColorBand *coba, int index)
struct CBData * BKE_colorband_element_add(struct ColorBand *coba, float position)
void BKE_colorband_update_sort(struct ColorBand *coba)
const bConstraintTypeInfo * BKE_constraint_typeinfo_from_type(int type)
struct WorkSpace * CTX_wm_workspace(const bContext *C)
struct ScrArea * CTX_wm_area(const bContext *C)
struct Scene * CTX_data_scene(const bContext *C)
struct SpaceProperties * CTX_wm_space_properties(const bContext *C)
struct RenderEngineType * CTX_data_engine_type(const bContext *C)
struct wmWindowManager * CTX_wm_manager(const bContext *C)
struct ViewLayer * CTX_data_view_layer(const bContext *C)
struct Collection * CTX_data_collection(const bContext *C)
struct Object * CTX_data_active_object(const bContext *C)
struct bScreen * CTX_wm_screen(const bContext *C)
struct ReportList * CTX_wm_reports(const bContext *C)
struct ARegion * CTX_wm_region(const bContext *C)
struct Depsgraph * CTX_data_depsgraph_pointer(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
struct SpaceFile * CTX_wm_space_file(const bContext *C)
struct wmWindow * CTX_wm_window(const bContext *C)
@ PROF_UPDATE_REMOVE_DOUBLES
void BKE_curveprofile_update(struct CurveProfile *profile, int update_flags)
void BKE_curveprofile_reset_view(struct CurveProfile *profile)
void BKE_curveprofile_remove_by_flag(struct CurveProfile *profile, short flag)
void BKE_curveprofile_reset(struct CurveProfile *profile)
void BKE_curveprofile_reverse(struct CurveProfile *profile)
void BKE_gpencil_modifierType_panel_id(GpencilModifierType type, char *r_idname)
const GpencilModifierTypeInfo * BKE_gpencil_modifier_get_info(GpencilModifierType type)
struct IDProperty * IDP_New(char type, const IDPropertyTemplate *val, const char *name) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
const char * BKE_idtype_idcode_to_name(short idcode)
const char * BKE_idtype_idcode_to_translation_context(short idcode)
#define BKE_idtype_idcode_is_localizable
void BKE_id_newptr_and_tag_clear(struct ID *id)
bool BKE_id_copy_is_allowed(const struct ID *id)
void BKE_id_full_name_ui_prefix_get(char name[MAX_ID_FULL_NAME_UI], const struct ID *id, bool add_lib_hint, char separator_char, int *r_prefix_len)
void id_us_min(struct ID *id)
#define MAX_ID_FULL_NAME_UI
void BKE_main_id_flag_listbase(struct ListBase *lb, int flag, bool value)
bool id_single_user(struct bContext *C, struct ID *id, struct PointerRNA *ptr, struct PropertyRNA *prop)
void id_us_plus(struct ID *id)
void id_us_clear_real(struct ID *id)
bool BKE_lib_id_make_local(struct Main *bmain, struct ID *id, int flags)
void BKE_id_ordered_list(struct ListBase *ordered_lb, const struct ListBase *lb)
void id_fake_user_clear(struct ID *id)
IDOverrideLibrary * BKE_lib_override_library_get(struct Main *bmain, struct ID *id, struct ID *owner_id_hint, struct ID **r_owner_id)
void BKE_lib_override_library_make_local(struct ID *id)
bool BKE_lib_override_library_create(struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, struct Library *owner_library, struct ID *id_root_reference, struct ID *id_hierarchy_root_reference, struct ID *id_instance_hint, struct ID **r_id_root_override, const bool do_fully_editable)
void BKE_lib_override_library_id_reset(struct Main *bmain, struct ID *id_root, bool do_reset_system_override)
Blender kernel freestyle line style functionality.
struct ListBase * which_libbase(struct Main *bmain, short type)
const ModifierTypeInfo * BKE_modifier_get_info(ModifierType type)
void BKE_modifier_type_panel_id(ModifierType type, char *r_idname)
General operations, lookup, etc. for blender objects.
bool BKE_packedfile_id_check(const struct ID *id)
Report * BKE_reports_last_displayable(ReportList *reports)
bool BKE_scene_uses_blender_eevee(const struct Scene *scene)
bool BKE_scene_uses_cycles(const struct Scene *scene)
bool BKE_scene_uses_cycles_experimental_features(struct Scene *scene)
void BKE_shaderfxType_panel_id(ShaderFxType type, char *r_idname)
const ShaderFxTypeInfo * BKE_shaderfx_get_info(ShaderFxType type)
float BLF_width(int fontid, const char *str, size_t str_len) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
void BLI_kdtree_nd_() free(KDTree *tree)
#define LISTBASE_FOREACH(type, var, list)
#define LISTBASE_FOREACH_BACKWARD(type, var, list)
#define LISTBASE_FOREACH_INDEX(type, var, list, index_var)
void void BLI_freelistN(struct ListBase *listbase) ATTR_NONNULL(1)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void * BLI_findstring(const struct ListBase *listbase, const char *id, int offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
int BLI_listbase_count(const struct ListBase *listbase) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
MINLINE int min_ii(int a, int b)
MINLINE int max_ii(int a, int b)
void rgba_float_to_uchar(unsigned char r_col[4], const float col_f[4])
MINLINE float len_v3(const float a[3]) ATTR_WARN_UNUSED_RESULT
const char * BLI_path_basename(const char *path) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
BLI_INLINE float BLI_rctf_size_x(const struct rctf *rct)
BLI_INLINE float BLI_rctf_size_y(const struct rctf *rct)
size_t size_t char * BLI_sprintfN(const char *__restrict format,...) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) ATTR_MALLOC ATTR_PRINTF_FORMAT(1
#define SNPRINTF(dst, format,...)
size_t BLI_snprintf_rlen(char *__restrict dst, size_t maxncpy, const char *__restrict format,...) ATTR_NONNULL(1
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
size_t BLI_snprintf(char *__restrict dst, size_t maxncpy, const char *__restrict format,...) ATTR_NONNULL(1
void BLI_string_search_add(StringSearch *search, const char *str, void *user_data, int weight)
void BLI_string_search_free(StringSearch *search)
StringSearch * BLI_string_search_new(void)
int BLI_string_search_query(StringSearch *search, const char *query, void ***r_data)
size_t BLI_timecode_string_from_time_simple(char *str, size_t maxncpy, double time_seconds) ATTR_NONNULL()
#define POINTER_FROM_INT(i)
#define POINTER_AS_INT(i)
external readfile function prototypes.
bool BLO_has_bfile_extension(const char *str)
#define BLT_I18NCONTEXT_ID_FREESTYLELINESTYLE
#define BLT_I18NCONTEXT_ID_WINDOWMANAGER
#define BLT_I18NCONTEXT_ID_WORLD
#define BLT_I18NCONTEXT_ID_ACTION
#define BLT_I18NCONTEXT_ID_TEXT
#define BLT_I18NCONTEXT_ID_VOLUME
#define BLT_I18NCONTEXT_ID_BRUSH
#define BLT_I18NCONTEXT_ID_SIMULATION
#define BLT_I18NCONTEXT_ID_NODETREE
#define BLT_I18NCONTEXT_ID_CURVES
#define BLT_I18NCONTEXT_ID_IMAGE
#define BLT_I18NCONTEXT_ID_SPEAKER
#define BLT_I18NCONTEXT_ID_WORKSPACE
#define BLT_I18NCONTEXT_ID_CURVE_LEGACY
#define BLT_I18NCONTEXT_ID_LATTICE
#define BLT_I18NCONTEXT_ID_GPENCIL
#define BLT_I18NCONTEXT_ID_LIGHT
#define BLT_I18NCONTEXT_ID_POINTCLOUD
#define BLT_I18NCONTEXT_ID_METABALL
#define BLT_I18NCONTEXT_ID_SOUND
#define BLT_I18NCONTEXT_ID_PARTICLESETTINGS
#define BLT_I18NCONTEXT_ID_LIGHTPROBE
#define CTX_IFACE_(context, msgid)
#define BLT_I18NCONTEXT_DEFAULT
#define BLT_I18NCONTEXT_ID_SCREEN
#define BLT_I18NCONTEXT_ID_OBJECT
#define BLT_I18NCONTEXT_OPERATOR_DEFAULT
#define BLT_I18NCONTEXT_ID_ARMATURE
#define BLT_I18N_MSGID_MULTI_CTXT(msgid,...)
#define CTX_TIP_(context, msgid)
#define BLT_I18NCONTEXT_ID_SCENE
#define BLT_I18NCONTEXT_ID_MATERIAL
#define BLT_I18NCONTEXT_ID_MESH
#define BLT_I18NCONTEXT_ID_CAMERA
#define BLT_I18NCONTEXT_ID_TEXTURE
typedef double(DMatrix)[4][4]
void DEG_relations_tag_update(struct Main *bmain)
struct ID * DEG_get_evaluated_id(const struct Depsgraph *depsgraph, struct ID *id)
#define ID_IS_OVERRIDE_LIBRARY_REAL(_id)
#define ID_IS_OVERRIDABLE_LIBRARY(_id)
#define ID_IS_OVERRIDABLE_LIBRARY_HIERARCHY(_id)
#define ID_IS_LINKED(_id)
#define ID_REAL_USERS(id)
#define ID_IS_OVERRIDE_LIBRARY(_id)
@ IDOVERRIDE_LIBRARY_FLAG_SYSTEM_DEFINED
Object groups, one object can be in many groups at once.
@ CUMA_EXTEND_EXTRAPOLATE
@ COLORMANAGE_VIEW_USE_CURVES
@ CONSTRAINT_TYPE_KINEMATIC
Object is a sort of wrapper for general info.
@ WORKSPACE_USE_PIN_SCENE
void(* uiListPanelIDFromDataFunc)(void *data_link, char *r_idname)
void ED_file_path_button(struct bScreen *screen, const struct SpaceFile *sfile, struct FileSelectParams *params, struct uiBlock *block)
const char * ED_info_statusbar_string(struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer)
const char * ED_info_statusbar_string_ex(struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, const char statusbar_flag)
void ED_object_constraint_active_set(struct Object *ob, struct bConstraint *con)
struct ListBase * ED_object_constraint_list_from_constraint(struct Object *ob, struct bConstraint *con, struct bPoseChannel **r_pchan)
void ED_object_single_user(struct Main *bmain, struct Scene *scene, struct Object *ob)
struct Object * ED_object_active_context(const struct bContext *C)
struct ListBase * ED_object_pose_constraint_list(const struct bContext *C)
void ED_preview_draw(const struct bContext *C, void *idp, void *parentp, void *slot, rcti *rect)
bScreen * ED_screen_animation_no_scrub(const struct wmWindowManager *wm)
void ED_region_tag_redraw(struct ARegion *region)
int ED_area_header_switchbutton(const struct bContext *C, struct uiBlock *block, int yco)
void ED_undo_operator_repeat_cb_evt(struct bContext *C, void *arg_op, int arg_unused)
void ED_undo_push(struct bContext *C, const char *str)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum query
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
Read Guarded memory(de)allocation.
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Sky Generate a procedural sky texture Noise Generate fractal Perlin noise Wave Generate procedural bands or rings with noise Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a point
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a color
Platform independent time functions.
#define RNA_STRUCT_BEGIN(sptr, prop)
short RNA_type_to_ID_code(const StructRNA *type)
#define RNA_STRUCT_BEGIN_SKIP_RNA_TYPE(sptr, prop)
#define RNA_warning(format,...)
int UI_text_colorid_from_report_type(int type)
void uiItemS_ex(uiLayout *layout, float factor)
void UI_but_flag_disable(uiBut *but, int flag)
@ UI_PROP_BUTS_ANY_FAILED_CHECK
@ UI_PROP_BUTS_NONE_ADDED
uiBut * uiDefIconTextBut(uiBlock *block, int type, int retval, int icon, const char *str, int x, int y, short width, short height, void *poin, float min, float max, float a1, float a2, const char *tip)
uiLayout * uiLayoutRowWithHeading(uiLayout *layout, bool align, const char *heading)
uiBut * uiDefButBitI(uiBlock *block, int type, int bit, int retval, const char *str, int x, int y, short width, short height, int *poin, float min, float max, float a1, float a2, const char *tip)
void uiLayoutSetActive(uiLayout *layout, bool active)
uiBut * uiDefIconTextButR_prop(uiBlock *block, int type, int retval, int icon, const char *str, int x, int y, short width, short height, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, float min, float max, float a1, float a2, const char *tip)
eUIEmbossType UI_block_emboss_get(uiBlock *block)
int UI_searchbox_size_x(void)
uiBlock * uiLayoutGetBlock(uiLayout *layout)
void UI_fontstyle_set(const struct uiFontStyle *fs)
const struct uiStyle * UI_style_get_dpi(void)
uiBut * uiDefIconBut(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, void *poin, float min, float max, float a1, float a2, const char *tip)
void UI_block_theme_style_set(uiBlock *block, char theme_style)
int UI_searchbox_size_y(void)
void uiLayoutSetEnabled(uiLayout *layout, bool enabled)
void UI_panel_context_pointer_set(struct Panel *panel, const char *name, struct PointerRNA *ptr)
uiLayout * uiLayoutColumn(uiLayout *layout, bool align)
int UI_icon_from_report_type(int type)
uiBut * uiDefButO(uiBlock *block, int type, const char *opname, wmOperatorCallContext opcontext, const char *str, int x, int y, short width, short height, const char *tip)
uiBut * uiDefBut(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, void *poin, float min, float max, float a1, float a2, const char *tip)
uiBut * uiDefButF(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, float *poin, float min, float max, float a1, float a2, const char *tip)
uiBut * uiDefIconButI(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, int *poin, float min, float max, float a1, float a2, const char *tip)
void UI_block_lock_clear(uiBlock *block)
void UI_block_bounds_set_normal(struct uiBlock *block, int addval)
void UI_but_func_tooltip_set(uiBut *but, uiButToolTipFunc func, void *arg, uiFreeArgFunc free_arg)
struct PointerRNA * UI_but_operator_ptr_get(uiBut *but)
void uiItemL(uiLayout *layout, const char *name, int icon)
const struct uiStyle * UI_style_get(void)
uiBut * uiDefAutoButR(uiBlock *block, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, const char *name, int icon, int x, int y, int width, int height)
@ UI_BLOCK_THEME_STYLE_POPUP
uiBut * uiDefIconButR(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, struct PointerRNA *ptr, const char *propname, int index, float min, float max, float a1, float a2, const char *tip)
void uiLayoutSetRedAlert(uiLayout *layout, bool redalert)
void UI_but_func_search_set(uiBut *but, uiButSearchCreateFn search_create_fn, uiButSearchUpdateFn search_update_fn, void *arg, bool free_arg, uiFreeArgFunc search_arg_free_fn, uiButHandleFunc search_exec_fn, void *active)
uiBut * uiDefIconButR_prop(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, float min, float max, float a1, float a2, const char *tip)
uiBut * UI_context_active_but_get(const struct bContext *C)
struct PointerRNA * UI_panel_custom_data_get(const struct Panel *panel)
bool UI_search_item_add(uiSearchItems *items, const char *name, void *poin, int iconid, int but_flag, uint8_t name_prefix_offset)
uiBut * uiDefIconBlockBut(uiBlock *block, uiBlockCreateFunc func, void *arg, int retval, int icon, int x, int y, short width, short height, const char *tip)
uiLayout * uiLayoutAbsolute(uiLayout *layout, bool align)
void uiLayoutSetScaleX(uiLayout *layout, float scale)
struct ARegion * UI_tooltip_create_from_search_item_generic(struct bContext *C, const struct ARegion *searchbox_region, const struct rcti *item_rect, const uiSearchItemTooltipData *item_tooltip_data)
int UI_icon_colorid_from_report_type(int type)
void UI_panel_custom_data_set(struct Panel *panel, struct PointerRNA *custom_data)
struct Panel * UI_panel_add_instanced(const struct bContext *C, struct ARegion *region, struct ListBase *panels, const char *panel_idname, struct PointerRNA *custom_data)
void UI_but_drawflag_enable(uiBut *but, int flag)
uiLayout * uiLayoutBox(uiLayout *layout)
void UI_but_func_search_set_tooltip(uiBut *but, uiButSearchTooltipFn tooltip_fn)
void uiLayoutSetAlignment(uiLayout *layout, char alignment)
uiBlock * uiLayoutAbsoluteBlock(uiLayout *layout)
@ UI_TEMPLATE_OP_PROPS_HIDE_ADVANCED
@ UI_TEMPLATE_OP_PROPS_SHOW_EMPTY
@ UI_TEMPLATE_OP_PROPS_SHOW_TITLE
@ UI_TEMPLATE_OP_PROPS_COMPACT
@ UI_TEMPLATE_OP_PROPS_NO_SPLIT_LAYOUT
void uiLayoutSetPropSep(uiLayout *layout, bool is_sep)
void(* uiButSearchUpdateFn)(const struct bContext *C, void *arg, const char *str, uiSearchItems *items, bool is_first)
void UI_but_number_step_size_set(uiBut *but, float step_size)
void UI_block_func_handle_set(uiBlock *block, uiBlockHandleFunc func, void *arg)
void uiItemS(uiLayout *layout)
@ UI_BUT_LABEL_ALIGN_NONE
uiLayout * uiLayoutRow(uiLayout *layout, bool align)
uiLayout * uiLayoutColumnFlow(uiLayout *layout, int number, bool align)
void uiItemFullO_ptr(uiLayout *layout, struct wmOperatorType *ot, const char *name, int icon, struct IDProperty *properties, wmOperatorCallContext context, int flag, struct PointerRNA *r_opptr)
void UI_panels_free_instanced(const struct bContext *C, struct ARegion *region)
bool UI_panel_list_matches_data(struct ARegion *region, struct ListBase *data, uiListPanelIDFromDataFunc panel_idname_func)
void UI_but_drag_set_id(uiBut *but, struct ID *id)
uiBut * uiDefIconButS(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, short *poin, float min, float max, float a1, float a2, const char *tip)
void uiLayoutSetUnitsX(uiLayout *layout, float unit)
uiBut * uiDefButR(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, struct PointerRNA *ptr, const char *propname, int index, float min, float max, float a1, float a2, const char *tip)
void UI_block_emboss_set(uiBlock *block, eUIEmbossType emboss)
uiBut * uiDefButS(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, short *poin, float min, float max, float a1, float a2, const char *tip)
uiBut * uiDefIconTextButO(uiBlock *block, int type, const char *opname, wmOperatorCallContext opcontext, int icon, const char *str, int x, int y, short width, short height, const char *tip)
void uiLayoutSetKeepAspect(uiLayout *layout, bool keepaspect)
int UI_icon_from_keymap_item(const struct wmKeyMapItem *kmi, int r_icon_mod[4])
void UI_block_func_set(uiBlock *block, uiButHandleFunc func, void *arg1, void *arg2)
struct ARegion *(* uiButSearchTooltipFn)(struct bContext *C, struct ARegion *region, const struct rcti *item_rect, void *arg, void *active)
uiBut * uiDefBlockButN(uiBlock *block, uiBlockCreateFunc func, void *argN, const char *str, int x, int y, short width, short height, const char *tip)
uiLayout * UI_block_layout(uiBlock *block, int dir, int type, int x, int y, int size, int em, int padding, const struct uiStyle *style)
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
void(* uiButHandleFunc)(struct bContext *C, void *arg1, void *arg2)
void UI_block_bounds_set_text(uiBlock *block, int addval)
void UI_but_func_set(uiBut *but, uiButHandleFunc func, void *arg1, void *arg2)
uiBut * uiDefButR_prop(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, float min, float max, float a1, float a2, const char *tip)
void UI_block_align_begin(uiBlock *block)
uiBut * uiDefBlockBut(uiBlock *block, uiBlockCreateFunc func, void *arg, const char *str, int x, int y, short width, short height, const char *tip)
uiBut * uiDefIconMenuBut(uiBlock *block, uiMenuCreateFunc func, void *arg, int icon, int x, int y, short width, short height, const char *tip)
void uiLayoutSetEmboss(uiLayout *layout, eUIEmbossType emboss)
int uiLayoutGetWidth(uiLayout *layout)
void uiItemO(uiLayout *layout, const char *name, int icon, const char *opname)
void uiLayoutSetContextPointer(uiLayout *layout, const char *name, struct PointerRNA *ptr)
void uiItemEnumO_value(uiLayout *layout, const char *name, int icon, const char *opname, const char *propname, int value)
uiBlock * UI_block_begin(const struct bContext *C, struct ARegion *region, const char *name, eUIEmbossType emboss)
void uiLayoutSetPropDecorate(uiLayout *layout, bool is_sep)
uiLayout * uiLayoutSplit(uiLayout *layout, float percentage, bool align)
void uiItemFullO(uiLayout *layout, const char *opname, const char *name, int icon, struct IDProperty *properties, wmOperatorCallContext context, int flag, struct PointerRNA *r_opptr)
void uiTemplateList(uiLayout *layout, struct bContext *C, const char *listtype_name, const char *list_id, struct PointerRNA *dataptr, const char *propname, struct PointerRNA *active_dataptr, const char *active_propname, const char *item_dyntip_propname, int rows, int maxrows, int layout_type, int columns, enum uiTemplateListFlags flags)
eAutoPropButsReturn uiDefAutoButsRNA(uiLayout *layout, struct PointerRNA *ptr, bool(*check_prop)(struct PointerRNA *ptr, struct PropertyRNA *prop, void *user_data), void *user_data, struct PropertyRNA *prop_activate_init, eButLabelAlign label_align, bool compact)
void UI_block_func_butmenu_set(uiBlock *block, uiMenuHandleFunc func, void *arg)
void UI_but_number_precision_set(uiBut *but, float precision)
void uiItemDecoratorR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int index)
uiBut * uiDefButI(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, int *poin, float min, float max, float a1, float a2, const char *tip)
uiLayout * uiItemL_respect_property_split(uiLayout *layout, const char *text, int icon)
void uiTemplateTextureShow(uiLayout *layout, const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop)
struct PointerRNA * UI_but_extra_operator_icon_add(uiBut *but, const char *opname, wmOperatorCallContext opcontext, int icon)
uiBut * uiDefSearchBut(uiBlock *block, void *arg, int retval, int icon, int maxlen, int x, int y, short width, short height, float a1, float a2, const char *tip)
void UI_block_direction_set(uiBlock *block, char direction)
void UI_but_focus_on_enter_event(struct wmWindow *win, uiBut *but)
void UI_but_func_drawextra_set(uiBlock *block, void(*func)(const struct bContext *C, void *, void *, void *, struct rcti *rect), void *arg1, void *arg2)
void UI_block_layout_set_current(uiBlock *block, uiLayout *layout)
void uiItemMenuF(uiLayout *layout, const char *name, int icon, uiMenuCreateFunc func, void *arg)
void uiItemFullR(uiLayout *layout, struct PointerRNA *ptr, struct PropertyRNA *prop, int index, int value, int flag, const char *name, int icon)
void UI_but_funcN_set(uiBut *but, uiButHandleNFunc funcN, void *argN, void *arg2)
void UI_block_flag_enable(uiBlock *block, int flag)
void uiLayoutSetOperatorContext(uiLayout *layout, wmOperatorCallContext opcontext)
void UI_block_funcN_set(uiBlock *block, uiButHandleNFunc funcN, void *argN, void *arg2)
void UI_block_lock_set(uiBlock *block, bool val, const char *lockstr)
@ UI_TEMPLATE_ID_FILTER_AVAILABLE
@ UI_TEMPLATE_ID_FILTER_ALL
void UI_but_flag_enable(uiBut *but, int flag)
@ UI_TEMPLATE_LIST_FLAG_NONE
uiBlock *(* uiBlockCreateFunc)(struct bContext *C, struct ARegion *region, void *arg1)
int UI_fontstyle_string_width(const struct uiFontStyle *fs, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
void uiItemM(uiLayout *layout, const char *menuname, const char *name, int icon)
uiBut * uiDefIconButO(uiBlock *block, int type, const char *opname, wmOperatorCallContext opcontext, int icon, int x, int y, short width, short height, const char *tip)
@ UI_BLOCK_MOVEMOUSE_QUIT
void UI_block_align_end(uiBlock *block)
int UI_icon_from_library(const struct ID *id)
void UI_GetThemeColorType4ubv(int colorid, int spacetype, unsigned char col[4])
@ WM_JOB_TYPE_DPAINT_BAKE
@ WM_JOB_TYPE_SEQ_BUILD_PROXY
@ WM_JOB_TYPE_OBJECT_BAKE
@ WM_JOB_TYPE_SEQ_DRAW_THUMBNAIL
@ WM_JOB_TYPE_CLIP_BUILD_PROXY
@ WM_JOB_TYPE_CLIP_PREFETCH
@ WM_JOB_TYPE_SEQ_BUILD_PREVIEW
@ WM_JOB_TYPE_OBJECT_SIM_OCEAN
@ WM_JOB_TYPE_CLIP_SOLVE_CAMERA
@ WM_JOB_TYPE_FILESEL_READDIR
@ WM_JOB_TYPE_CLIP_TRACK_MARKERS
@ WM_JOB_TYPE_OBJECT_SIM_FLUID
@ WM_JOB_TYPE_OBJECT_BAKE_TEXTURE
#define ND_SHADING_PREVIEW
#define ND_LIB_OVERRIDE_CHANGED
@ WM_OP_INVOKE_REGION_WIN
#define ND_SPACE_OUTLINER
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
static btDbvtVolume bounds(btDbvtNode **leaves, int count)
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
btSequentialImpulseConstraintSolverMt int btPersistentManifold int btTypedConstraint ** constraints
SyclQueue void void size_t num_bytes void
bool RE_engine_supports_alembic_procedural(const RenderEngineType *render_type, Scene *scene)
DO_INLINE void filter(lfVector *V, fmatrix3x3 *S)
void ui_def_but_icon(uiBut *but, const int icon, const int flag)
int ui_but_align_opposite_to_area_align_get(const ARegion *region)
int ui_id_icon_get(const bContext *C, ID *id, const bool big)
void ui_rna_collection_search_update_fn(const struct bContext *C, void *arg, const char *str, uiSearchItems *items, bool is_first)
struct ARegion * ui_searchbox_create_generic(struct bContext *C, struct ARegion *butregion, uiButSearch *search_but)
ColorPicker * ui_block_colorpicker_create(struct uiBlock *block)
#define UI_MENU_WIDTH_MIN
void uiTemplateIconView(uiLayout *layout, PointerRNA *ptr, const char *propname, bool show_labels, float icon_scale, float icon_scale_popup)
static void ui_template_palette_menu(bContext *UNUSED(C), uiLayout *layout, void *UNUSED(but_p))
static void set_constraint_expand_flag(const bContext *UNUSED(C), Panel *panel, short expand_flag)
ID * ui_template_id_liboverride_hierarchy_make(bContext *C, Main *bmain, ID *owner_id, ID *id, const char **r_undo_push_label)
void uiTemplateColorspaceSettings(uiLayout *layout, PointerRNA *ptr, const char *propname)
struct TemplateID TemplateID
void uiTemplateStatusInfo(uiLayout *layout, bContext *C)
uiListType * UI_UL_cache_file_layers()
static uiBlock * id_search_menu(bContext *C, ARegion *region, void *arg_litem)
static void curvemap_buttons_update(bContext *C, void *arg1_v, void *cumap_v)
void uiTemplateWaveform(uiLayout *layout, PointerRNA *ptr, const char *propname)
static void template_keymap_item_properties(uiLayout *layout, const char *title, PointerRNA *ptr)
static void colorband_buttons_layout(uiLayout *layout, uiBlock *block, ColorBand *coba, const rctf *butr, RNAUpdateCb *cb, int expand)
static void draw_constraint_header(uiLayout *layout, Object *ob, bConstraint *con)
static void cache_file_layer_item(uiList *UNUSED(ui_list), bContext *UNUSED(C), uiLayout *layout, PointerRNA *UNUSED(dataptr), PointerRNA *itemptr, int UNUSED(icon), PointerRNA *UNUSED(active_dataptr), const char *UNUSED(active_propname), int UNUSED(index), int UNUSED(flt_flag))
#define template_id_context(type)
static bool id_search_add(const bContext *C, TemplateID *template_ui, uiSearchItems *items, ID *id)
static uiBlock * curvemap_clipping_func(bContext *C, ARegion *region, void *cumap_v)
#define TEMPLATE_SEARCH_TEXTBUT_HEIGHT
void uiTemplateIcon(uiLayout *layout, int icon_value, float icon_scale)
static void bone_constraint_panel_id(void *md_link, char *r_name)
static void colorband_add_cb(bContext *C, void *cb_v, void *coba_v)
static void CurveProfile_buttons_zoom_out(bContext *C, void *profile_v, void *UNUSED(arg))
void uiTemplateRunningJobs(uiLayout *layout, bContext *C)
@ CB_FUNC_DISTRIBUTE_EVENLY
static void id_search_cb_tagged(const bContext *C, void *arg_template, const char *str, uiSearchItems *items)
static void curvemap_tools_dofunc(bContext *C, void *cumap_v, int event)
static uiBlock * CurveProfile_buttons_presets(bContext *C, ARegion *region, void *profile_v)
void uiTemplateShaderFx(uiLayout *UNUSED(layout), bContext *C)
void uiTemplateLayers(uiLayout *layout, PointerRNA *ptr, const char *propname, PointerRNA *used_ptr, const char *used_propname, int active_layer)
static uiBlock * curvemap_tools_posslope_func(bContext *C, ARegion *region, void *cumap_v)
static void id_search_cb_objects_from_scene(const bContext *C, void *arg_template, const char *str, uiSearchItems *items, const bool UNUSED(is_first))
void uiTemplateCacheFileProcedural(uiLayout *layout, const bContext *C, PointerRNA *fileptr)
static void do_running_jobs(bContext *C, void *UNUSED(arg), int event)
void uiTemplateConstraintHeader(uiLayout *layout, PointerRNA *ptr)
void uiTemplateCurveMapping(uiLayout *layout, PointerRNA *ptr, const char *propname, int type, bool levels, bool brush, bool neg_slope, bool tone)
struct IconViewMenuArgs IconViewMenuArgs
static void constraint_active_func(bContext *UNUSED(C), void *ob_v, void *con_v)
static uiBlock * curvemap_tools_func(bContext *C, ARegion *region, CurveMapping *cumap, bool show_extend, int reset_mode)
void uiTemplateCacheFileLayers(uiLayout *layout, const bContext *C, PointerRNA *fileptr)
static void template_search_exec_fn(bContext *C, void *arg_template, void *item)
static eAutoPropButsReturn template_operator_property_buts_draw_single(const bContext *C, wmOperator *op, uiLayout *layout, const eButLabelAlign label_align, int layout_flags)
static void rna_update_cb(bContext *C, void *arg_cb, void *UNUSED(arg))
void uiTemplateIDBrowse(uiLayout *layout, bContext *C, PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, int filter, const char *text)
bool uiTemplateCacheFilePointer(PointerRNA *ptr, const char *propname, PointerRNA *r_file_ptr)
void uiTemplateVectorscope(uiLayout *layout, PointerRNA *ptr, const char *propname)
#define TEMPLATE_SEARCH_TEXTBUT_MIN_WIDTH
static uiBlock * CurveProfile_tools_func(bContext *C, ARegion *region, CurveProfile *profile)
static void ui_template_id(uiLayout *layout, const bContext *C, PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, const char *menu, const char *text, int flag, int prv_rows, int prv_cols, int filter, bool use_tabs, float scale, const bool live_icon, const bool hide_buttons)
void uiTemplateReportsBanner(uiLayout *layout, bContext *C)
static bool constraint_panel_is_bone(Panel *panel)
void uiTemplateAnyID(uiLayout *layout, PointerRNA *ptr, const char *propname, const char *proptypename, const char *text)
static int template_search_textbut_width(PointerRNA *ptr, PropertyRNA *name_prop)
static uiBlock * ui_icon_view_menu_cb(bContext *C, ARegion *region, void *arg_litem)
static void colorband_update_cb(bContext *UNUSED(C), void *bt_v, void *coba_v)
static void template_id_workspace_pin_extra_icon(const TemplateID *template_ui, uiBut *but)
struct uiTemplateOperatorPropertyPollParam uiTemplateOperatorPropertyPollParam
static void curvemap_tools_handle_auto_clamped(bContext *C, void *cumap_v, void *UNUSED(arg))
void uiTemplateGpencilModifiers(uiLayout *UNUSED(layout), bContext *C)
void UI_context_active_but_prop_get_templateID(bContext *C, PointerRNA *r_ptr, PropertyRNA **r_prop)
void uiTemplateFileSelectPath(uiLayout *layout, bContext *C, FileSelectParams *params)
void uiTemplateColorRamp(uiLayout *layout, PointerRNA *ptr, const char *propname, bool expand)
static void CurveProfile_buttons_reset(bContext *C, void *arg1_v, void *profile_v)
void uiTemplatePreview(uiLayout *layout, bContext *C, ID *id, bool show_buttons, ID *parent, MTex *slot, const char *preview_id)
static uiBlock * CurveProfile_presets_func(bContext *C, ARegion *region, CurveProfile *profile)
void uiTemplateCryptoPicker(uiLayout *layout, PointerRNA *ptr, const char *propname, int icon)
void uiTemplateNodeSocket(uiLayout *layout, bContext *UNUSED(C), float color[4])
static void CurveProfile_buttons_delete(bContext *C, void *cb_v, void *profile_v)
void uiTemplateOperatorPropertyButs(const bContext *C, uiLayout *layout, wmOperator *op, eButLabelAlign label_align, short flag)
static void template_id_liboverride_hierarchy_collections_tag_recursive(Collection *root_collection, ID *target_id, const bool do_parents)
@ UIPROFILE_FUNC_RESET_VIEW
static uiBlock * CurveProfile_buttons_tools(bContext *C, ARegion *region, void *profile_v)
void uiTemplatePalette(uiLayout *layout, PointerRNA *ptr, const char *propname, bool UNUSED(colors))
void uiTemplateGpencilColorPreview(uiLayout *layout, bContext *C, PointerRNA *ptr, const char *propname, int rows, int cols, float scale, int filter)
static void CurveProfile_clipping_toggle(bContext *C, void *cb_v, void *profile_v)
static void template_search_buttons(const bContext *C, uiLayout *layout, TemplateSearch *template_search, const char *newop, const char *unlinkop)
static void CurveProfile_buttons_update(bContext *C, void *arg1_v, void *profile_v)
struct ComponentMenuArgs ComponentMenuArgs
void uiTemplateCacheFileVelocity(uiLayout *layout, PointerRNA *fileptr)
static void template_ID_set_property_exec_fn(bContext *C, void *arg_template, void *item)
static void colorband_tools_dofunc(bContext *C, void *coba_v, int event)
void uiTemplateColormanagedViewSettings(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr, const char *propname)
static uiBlock * component_menu(bContext *C, ARegion *region, void *args_v)
static void template_ID(const bContext *C, uiLayout *layout, TemplateID *template_ui, StructRNA *type, int flag, const char *newop, const char *openop, const char *unlinkop, const char *text, const bool live_icon, const bool hide_buttons)
static void curvemap_tools_handle_vector(bContext *C, void *cumap_v, void *UNUSED(arg))
static void template_ID_tabs(const bContext *C, uiLayout *layout, TemplateID *template, StructRNA *type, int flag, const char *newop, const char *menu)
static const char * template_id_browse_tip(const StructRNA *type)
void uiTemplateIDPreview(uiLayout *layout, bContext *C, PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, int rows, int cols, int filter, const bool hide_buttons)
static void template_operator_property_buts_draw_recursive(const bContext *C, wmOperator *op, uiLayout *layout, const eButLabelAlign label_align, int layout_flags, bool *r_has_advanced)
static uiBlock * colorband_tools_func(bContext *C, ARegion *region, void *coba_v)
static void curvemap_buttons_zoom_in(bContext *C, void *cumap_v, void *UNUSED(arg))
static void curvemap_buttons_reset(bContext *C, void *cb_v, void *cumap_v)
static void colorband_distribute_cb(bContext *C, ColorBand *coba, bool evenly)
void uiTemplateIDTabs(uiLayout *layout, bContext *C, PointerRNA *ptr, const char *propname, const char *newop, const char *menu, int filter)
void uiTemplatePathBuilder(uiLayout *layout, PointerRNA *ptr, const char *propname, PointerRNA *UNUSED(root_ptr), const char *text)
static void keymap_item_modified(bContext *UNUSED(C), void *kmi_p, void *UNUSED(unused))
static bool id_search_allows_id(TemplateID *template_ui, const int flag, ID *id, const char *query)
static void object_constraint_panel_id(void *md_link, char *r_name)
void uiTemplateOperatorRedoProperties(uiLayout *layout, const bContext *C)
static void id_search_cb(const bContext *C, void *arg_template, const char *str, uiSearchItems *items, const bool UNUSED(is_first))
static void colorband_flip_cb(bContext *C, ColorBand *coba)
static char * progress_tooltip_func(bContext *UNUSED(C), void *argN, const char *UNUSED(tip))
static uiBlock * template_common_search_menu(const bContext *C, ARegion *region, uiButSearchUpdateFn search_update_fn, void *search_arg, uiButHandleFunc search_exec_fn, void *active_item, uiButSearchTooltipFn item_tooltip_fn, const int preview_rows, const int preview_cols, float scale)
int uiTemplateRecentFiles(uiLayout *layout, int rows)
static void template_search_add_button_name(uiBlock *block, PointerRNA *active_ptr, const StructRNA *type)
bool uiTemplateEventFromKeymapItem(struct uiLayout *layout, const char *text, const struct wmKeyMapItem *kmi, bool text_fallback)
static void CurveProfile_presets_dofunc(bContext *C, void *profile_v, int event)
void uiTemplateCurveProfile(uiLayout *layout, PointerRNA *ptr, const char *propname)
void uiTemplateModifiers(uiLayout *UNUSED(layout), bContext *C)
static bool ui_layout_operator_buts_poll_property(struct PointerRNA *UNUSED(ptr), struct PropertyRNA *prop, void *user_data)
void uiTemplateColorPicker(uiLayout *layout, PointerRNA *ptr, const char *propname, bool value_slider, bool lock, bool lock_luminosity, bool cubic)
static uiBut * template_id_def_new_but(uiBlock *block, const ID *id, const TemplateID *template_ui, StructRNA *type, const char *const newop, const bool editable, const bool id_open, const bool use_tab_but, int but_height)
void uiTemplateHistogram(uiLayout *layout, PointerRNA *ptr, const char *propname)
struct RNAUpdateCb RNAUpdateCb
static void curvemap_buttons_zoom_out(bContext *C, void *cumap_v, void *UNUSED(unused))
static void gpencil_modifier_panel_id(void *md_link, char *r_name)
static void curvemap_buttons_delete(bContext *C, void *cb_v, void *cumap_v)
void uiTemplateInputStatus(uiLayout *layout, struct bContext *C)
void uiTemplateSearchPreview(uiLayout *layout, bContext *C, PointerRNA *ptr, const char *propname, PointerRNA *searchptr, const char *searchpropname, const char *newop, const char *unlinkop, const int rows, const int cols)
static PropertyRNA * template_search_get_searchprop(PointerRNA *targetptr, PropertyRNA *targetprop, PointerRNA *searchptr, const char *const searchpropname)
static void template_id_cb(bContext *C, void *arg_litem, void *arg_event)
static int template_search_textbut_height(void)
static bool ui_layout_operator_properties_only_booleans(const bContext *C, wmWindowManager *wm, wmOperator *op, int layout_flags)
static uiBlock * curvemap_tools_negslope_func(bContext *C, ARegion *region, void *cumap_v)
#define CONSTRAINT_BONE_TYPE_PANEL_PREFIX
static void template_search_add_button_searchmenu(const bContext *C, uiLayout *layout, uiBlock *block, TemplateSearch *template_search, const bool editable, const bool live_icon)
static ARegion * template_ID_search_menu_item_tooltip(bContext *C, ARegion *region, const rcti *item_rect, void *arg, void *active)
static void constraint_reorder(bContext *C, Panel *panel, int new_index)
void uiTemplateKeymapItemProperties(uiLayout *layout, PointerRNA *ptr)
static void handle_layer_buttons(bContext *C, void *arg1, void *arg2)
void uiTemplateSearch(uiLayout *layout, bContext *C, PointerRNA *ptr, const char *propname, PointerRNA *searchptr, const char *searchpropname, const char *newop, const char *unlinkop)
#define CONSTRAINT_TYPE_PANEL_PREFIX
static uiBlock * curvemap_brush_tools_func(bContext *C, ARegion *region, void *cumap_v)
static uiBlock * template_search_menu(bContext *C, ARegion *region, void *arg_template)
@ UICURVE_FUNC_HANDLE_VECTOR
@ UICURVE_FUNC_HANDLE_AUTO
@ UICURVE_FUNC_EXTEND_EXP
@ UICURVE_FUNC_HANDLE_AUTO_ANIM
@ UICURVE_FUNC_EXTEND_HOZ
@ UICURVE_FUNC_RESET_VIEW
static void shaderfx_panel_id(void *fx_v, char *r_idname)
struct TemplateSearch TemplateSearch
void uiTemplateConstraints(uiLayout *UNUSED(layout), bContext *C, bool use_bone_constraints)
static void CurveProfile_buttons_layout(uiLayout *layout, PointerRNA *ptr, RNAUpdateCb *cb)
static void curvemap_buttons_layout(uiLayout *layout, PointerRNA *ptr, char labeltype, bool levels, bool brush, bool neg_slope, bool tone, RNAUpdateCb *cb)
void uiTemplateCacheFile(uiLayout *layout, const bContext *C, PointerRNA *ptr, const char *propname)
static void modifier_panel_id(void *md_link, char *r_name)
ID * UI_context_active_but_get_tab_ID(bContext *C)
static uiBlock * curvemap_brush_tools_negslope_func(bContext *C, ARegion *region, void *cumap_v)
static void CurveProfile_buttons_zoom_in(bContext *C, void *profile_v, void *UNUSED(arg))
void UI_template_fix_linking(void)
static void curvemap_buttons_setclip(bContext *UNUSED(C), void *cumap_v, void *UNUSED(arg))
void uiTemplateCacheFileTimeSettings(uiLayout *layout, PointerRNA *fileptr)
void uiTemplateID(uiLayout *layout, const bContext *C, PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, int filter, const bool live_icon, const char *text)
static short get_constraint_expand_flag(const bContext *UNUSED(C), Panel *panel)
static TemplateSearch * template_search_setup(PointerRNA *ptr, const char *const propname, PointerRNA *searchptr, const char *const searchpropname)
static void template_add_button_search_menu(const bContext *C, uiLayout *layout, uiBlock *block, PointerRNA *ptr, PropertyRNA *prop, uiBlockCreateFunc block_func, void *block_argN, const char *const tip, const bool use_previews, const bool editable, const bool live_icon)
static void do_preview_buttons(bContext *C, void *arg, int event)
static void template_id_liboverride_hierarchy_make(bContext *C, Main *bmain, TemplateID *template_ui, PointerRNA *idptr, const char **r_undo_push_label)
static void curvemap_buttons_redraw(bContext *C, void *UNUSED(arg1), void *UNUSED(arg2))
#define ERROR_LIBDATA_MESSAGE
static void curvemap_tools_handle_auto(bContext *C, void *cumap_v, void *UNUSED(arg))
static void constraint_ops_extra_draw(bContext *C, uiLayout *layout, void *con_v)
static void colorband_del_cb(bContext *C, void *cb_v, void *coba_v)
static void CurveProfile_tools_dofunc(bContext *C, void *profile_v, int event)
static void template_search_add_button_operator(uiBlock *block, const char *const operator_name, const wmOperatorCallContext opcontext, const int icon, const bool editable)
static void CurveProfile_buttons_reverse(bContext *C, void *cb_v, void *profile_v)
void uiTemplateComponentMenu(uiLayout *layout, PointerRNA *ptr, const char *propname, const char *name)
static void template_id_liboverride_hierarchy_collection_root_find_recursive(Collection *collection, const int parent_level, Collection **r_collection_parent_best, int *r_parent_level_best)
void uiTemplateHeader(uiLayout *layout, bContext *C)
void(* MEM_freeN)(void *vmemh)
void *(* MEM_dupallocN)(const void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
void *(* MEM_mallocN)(size_t len, const char *str)
static void area(int d1, int d2, int e1, int e2, float weights[2])
bool active
all scheduled work for the GPU.
void split(const std::string &s, const char delim, std::vector< std::string > &tokens)
const char * RNA_struct_identifier(const StructRNA *type)
bool RNA_property_editable(PointerRNA *ptr, PropertyRNA *prop)
void RNA_property_boolean_set_index(PointerRNA *ptr, PropertyRNA *prop, int index, bool value)
bool RNA_struct_is_a(const StructRNA *type, const StructRNA *srna)
void RNA_property_float_get_array(PointerRNA *ptr, PropertyRNA *prop, float *values)
void RNA_pointer_create(ID *id, StructRNA *type, void *data, PointerRNA *r_ptr)
void RNA_string_set(PointerRNA *ptr, const char *name, const char *value)
PointerRNA RNA_pointer_get(PointerRNA *ptr, const char *name)
void RNA_id_pointer_create(ID *id, PointerRNA *r_ptr)
bool RNA_struct_is_ID(const StructRNA *type)
const char * RNA_property_identifier(const PropertyRNA *prop)
void RNA_property_float_ui_range(PointerRNA *ptr, PropertyRNA *prop, float *softmin, float *softmax, float *step, float *precision)
const char * RNA_struct_ui_description(const StructRNA *type)
void RNA_property_pointer_set(PointerRNA *ptr, PropertyRNA *prop, PointerRNA ptr_value, ReportList *reports)
void RNA_boolean_set(PointerRNA *ptr, const char *name, bool value)
bool RNA_property_is_set(PointerRNA *ptr, PropertyRNA *prop)
const char * RNA_struct_ui_name(const StructRNA *type)
bool RNA_enum_icon_from_value(const EnumPropertyItem *item, int value, int *r_icon)
PropertyType RNA_property_type(PropertyRNA *prop)
void RNA_int_set(PointerRNA *ptr, const char *name, int value)
PointerRNA RNA_property_pointer_get(PointerRNA *ptr, PropertyRNA *prop)
PropertyRNA * RNA_struct_find_property(PointerRNA *ptr, const char *identifier)
void RNA_property_update(bContext *C, PointerRNA *ptr, PropertyRNA *prop)
char * RNA_property_string_get_alloc(PointerRNA *ptr, PropertyRNA *prop, char *fixedbuf, int fixedlen, int *r_len)
StructRNA * RNA_property_pointer_type(PointerRNA *ptr, PropertyRNA *prop)
bool RNA_property_pointer_poll(PointerRNA *ptr, PropertyRNA *prop, PointerRNA *value)
int RNA_property_flag(PropertyRNA *prop)
int RNA_struct_ui_icon(const StructRNA *type)
PropertyRNA * RNA_struct_name_property(const StructRNA *type)
bool RNA_pointer_is_null(const PointerRNA *ptr)
int RNA_property_array_length(PointerRNA *ptr, PropertyRNA *prop)
int RNA_property_enum_get(PointerRNA *ptr, PropertyRNA *prop)
bool RNA_boolean_get(PointerRNA *ptr, const char *name)
void RNA_property_enum_items(bContext *C, PointerRNA *ptr, PropertyRNA *prop, const EnumPropertyItem **r_item, int *r_totitem, bool *r_free)
int RNA_property_tags(PropertyRNA *prop)
void RNA_enum_set(PointerRNA *ptr, const char *name, int value)
bool RNA_property_boolean_get_index(PointerRNA *ptr, PropertyRNA *prop, int index)
const char * RNA_property_ui_description(const PropertyRNA *prop)
const char * RNA_property_ui_name(const PropertyRNA *prop)
float luminosity_lock_value
struct GpencilModifierData * next
void(* panelRegister)(struct ARegionType *region_type)
IDOverrideLibrary * override_library
bool has_forward_compatibility_issues
struct ModifierData * next
void(* panelRegister)(struct ARegionType *region_type)
struct Collection * instance_collection
ListBase greasepencil_modifiers
short(* get_list_data_expand_flag)(const struct bContext *C, struct Panel *pa)
void(* set_list_data_expand_flag)(const struct bContext *C, struct Panel *pa, short expand_flag)
void(* reorder)(struct bContext *C, struct Panel *pa, int new_index)
struct wmTimer * reporttimer
struct ShaderFxData * next
void(* panelRegister)(struct ARegionType *region_type)
uiRNACollectionSearch search_data
struct bConstraint * prev
struct bConstraint * next
struct wmOperator * ui_operator
eButGradientType gradient_type
eButGradientType gradient_type
struct PointerRNA * opptr
struct PropertyRNA * rnaprop
struct PointerRNA rnapoin
char idname[BKE_ST_MAXNAME]
uiListDrawItemFunc draw_item
PropertyRNA * target_prop
PropertyRNA * search_prop
bool(* poll_property)(const struct bContext *C, struct wmOperator *op, const PropertyRNA *prop) ATTR_WARN_UNUSED_RESULT
void(* ui)(struct bContext *, struct wmOperator *)
struct wmOperatorType * type
struct wmEvent * eventstate
double PIL_check_seconds_timer(void)
bool WM_window_modal_keymap_status_draw(bContext *C, wmWindow *win, uiLayout *layout)
const char * WM_window_cursor_keymap_status_get(const wmWindow *win, int button_index, int type_index)
int WM_operator_name_call_ptr(bContext *C, wmOperatorType *ot, wmOperatorCallContext context, PointerRNA *properties, const wmEvent *event)
bool WM_operator_repeat_check(const bContext *UNUSED(C), wmOperator *op)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
int WM_operator_name_call(bContext *C, const char *opstring, wmOperatorCallContext context, PointerRNA *properties, const wmEvent *event)
const char * WM_jobs_name(const wmWindowManager *wm, const void *owner)
bool WM_jobs_is_stopped(const wmWindowManager *wm, const void *owner)
float WM_jobs_progress(const wmWindowManager *wm, const void *owner)
double WM_jobs_starttime(const wmWindowManager *wm, const void *owner)
bool WM_jobs_test(const wmWindowManager *wm, const void *owner, int job_type)
void WM_jobs_stop(wmWindowManager *wm, const void *owner, void *startjob)
const char * WM_key_event_string(const short type, const bool compact)
void WM_keyconfig_update_tag(wmKeyMap *keymap, wmKeyMapItem *kmi)
wmOperatorType * WM_operatortype_find(const char *idname, bool quiet)
const char * WM_operatortype_name(struct wmOperatorType *ot, struct PointerRNA *properties)
void WM_operator_properties_reset(wmOperator *op)
void WM_operator_properties_create_ptr(PointerRNA *ptr, wmOperatorType *ot)
void WM_operator_properties_free(PointerRNA *ptr)
void WM_operator_properties_sanitize(PointerRNA *ptr, const bool no_context)
wmOperator * WM_operator_last_redo(const bContext *C)
WorkSpace * WM_window_get_active_workspace(const wmWindow *win)