105 #define TEMPLATE_SEARCH_TEXTBUT_MIN_WIDTH (UI_UNIT_X * 6)
106 #define TEMPLATE_SEARCH_TEXTBUT_HEIGHT UI_UNIT_Y
165 const char *
const tip,
166 const bool use_previews,
168 const bool live_icon)
182 const bool use_preview_icon = use_big_size || (
id && (
GS(
id->
name) !=
ID_SCR));
194 if (use_preview_icon) {
203 if ((idfrom && idfrom->lib) || !editable) {
226 if ((idfrom && idfrom->lib) || !editable) {
239 const int preview_rows,
240 const int preview_cols,
243 static char search[256];
255 if (preview_rows > 0 && preview_cols > 0) {
256 const int w = 4 *
U.widget_unit * preview_cols * scale;
257 const int h = 5 *
U.widget_unit * preview_rows * scale;
260 uiDefBut(block,
UI_BTYPE_LABEL, 0,
"", 10, 26,
w, h,
NULL, 0, 0, 0, 0,
NULL);
397 const bool use_lib_prefix = template_ui->
preview || iconid;
398 const bool has_sep_char = (
id->lib !=
NULL);
402 int name_prefix_offset;
404 if (!use_lib_prefix) {
413 name_prefix_offset)) {
425 const bool UNUSED(is_first))
443 for (
int i = 0; i < filtered_amount; i++) {
480 for (
int i = 0; i < filtered_amount; i++) {
497 const bool UNUSED(is_first))
529 tooltip_data.
name = active_id->
name + 2;
532 TIP_(
"Choose %s data-block to be assigned to this user"),
536 sizeof(tooltip_data.
hint),
537 TIP_(
"Source library: %s\n%s"),
550 void (*id_search_update_fn)(
571 active_item_ptr.
data,
593 memset(r_ptr, 0,
sizeof(*r_ptr));
598 *r_ptr = template_ui->
ptr;
599 *r_prop = template_ui->
prop;
609 const char *undo_push_label =
NULL;
614 RNA_warning(
"warning, id event %d shouldn't come here", event);
621 memset(&idptr, 0,
sizeof(idptr));
630 undo_push_label =
"Delete Data-Block";
642 undo_push_label =
"Fake User";
655 if (override_id !=
NULL) {
670 undo_push_label =
"Make Library Override";
679 undo_push_label =
"Make Local";
682 if (undo_push_label !=
NULL) {
695 undo_push_label =
"Override Data-Block";
716 undo_push_label =
"Make Single User";
725 if (undo_push_label !=
NULL) {
735 return N_(
"Browse Scene to be linked");
737 return N_(
"Browse Object to be linked");
739 return N_(
"Browse Mesh Data to be linked");
741 return N_(
"Browse Curve Data to be linked");
743 return N_(
"Browse Metaball Data to be linked");
745 return N_(
"Browse Material to be linked");
747 return N_(
"Browse Texture to be linked");
749 return N_(
"Browse Image to be linked");
751 return N_(
"Browse Line Style Data to be linked");
753 return N_(
"Browse Lattice Data to be linked");
755 return N_(
"Browse Light Data to be linked");
757 return N_(
"Browse Camera Data to be linked");
759 return N_(
"Browse World Settings to be linked");
761 return N_(
"Choose Screen layout");
763 return N_(
"Browse Text to be linked");
765 return N_(
"Browse Speaker Data to be linked");
767 return N_(
"Browse Sound to be linked");
769 return N_(
"Browse Armature data to be linked");
771 return N_(
"Browse Action to be linked");
773 return N_(
"Browse Node Tree to be linked");
775 return N_(
"Browse Brush to be linked");
777 return N_(
"Browse Particle Settings to be linked");
779 return N_(
"Browse Grease Pencil Data to be linked");
781 return N_(
"Browse Movie Clip to be linked");
783 return N_(
"Browse Mask to be linked");
785 return N_(
"Browse Palette Data to be linked");
787 return N_(
"Browse Paint Curve Data to be linked");
789 return N_(
"Browse Cache Files to be linked");
791 return N_(
"Browse Workspace to be linked");
793 return N_(
"Browse LightProbe to be linked");
795 return N_(
"Browse Hair Data to be linked");
797 return N_(
"Browse Point Cloud Data to be linked");
799 return N_(
"Browse Volume Data to be linked");
801 return N_(
"Browse Simulation to be linked");
813 return N_(
"Browse ID data to be linked");
820 #ifdef WITH_INTERNATIONAL
829 # define template_id_context(type) 0
836 const char *
const newop,
839 const bool use_tab_but,
889 (
id && !use_tab_but) ? ICON_DUPLICATE : ICON_ADD,
903 (
id && !use_tab_but) ? ICON_DUPLICATE : ICON_ADD,
919 if ((idfrom && idfrom->
lib) || !editable) {
923 #ifndef WITH_INTERNATIONAL
937 const char *unlinkop,
939 const bool live_icon,
940 const bool hide_buttons)
983 const bool user_alert = (
id->us <= 0);
1018 ICON_LIBRARY_DATA_INDIRECT,
1028 TIP_(
"Indirect library data-block, cannot change"));
1033 (idfrom && idfrom->
lib));
1037 ICON_LIBRARY_DATA_DIRECT,
1047 TIP_(
"Direct linked library data-block, click to make local, "
1048 "Shift + Click to create a library override"));
1062 ICON_LIBRARY_DATA_OVERRIDE,
1072 TIP_(
"Library override of linked data-block, click to make fully local"));
1097 TIP_(
"Display number of users of this data (click to make a single-user copy)"));
1114 (hide_buttons ==
false)) {
1144 "FILE_OT_unpack_item",
1151 TIP_(
"Packed File, click to unpack"));
1166 (
id) ?
"" :
IFACE_(
"Open"),
1180 (
id) ?
"" :
IFACE_(
"Open"),
1195 if ((idfrom && idfrom->
lib) || !editable) {
1202 if (
id && (flag &
UI_ID_DELETE) && (hide_buttons ==
false)) {
1236 TIP_(
"Unlink data-block "
1237 "(Shift + Click to set users to zero, data will then not be saved)"));
1248 if ((idfrom && idfrom->
lib) || !editable) {
1292 ID *
id = link->data;
1294 const int but_width = name_width +
UI_UNIT_X;
1326 if (active_ptr.
type) {
1346 const char *propname,
1349 const char *unlinkop,
1359 const bool live_icon,
1360 const bool hide_buttons)
1371 template_ui->
prop = prop;
1374 template_ui->
scale = scale;
1392 template_ui->
idcode = idcode;
1398 if (template_ui->
idlb) {
1425 const char *propname,
1428 const char *unlinkop,
1430 const bool live_icon,
1455 const char *propname,
1458 const char *unlinkop,
1484 const char *propname,
1487 const char *unlinkop,
1491 const bool hide_buttons)
1515 const char *propname,
1535 scale < 0.5f ? 0.5f : scale,
1546 const char *propname,
1586 const char *propname,
1587 const char *proptypename,
1615 uiItemL(row, text, ICON_NONE);
1694 const bool editable,
1695 const bool live_icon)
1724 const char *
const operator_name,
1725 const int opcontext,
1727 const bool editable)
1729 if (!operator_name) {
1745 const char *unlinkop)
1754 if (active_ptr.
type) {
1774 const char *
const searchpropname)
1778 if (searchptr && !searchptr->
data) {
1782 if (!searchptr && !searchpropname) {
1785 else if (!searchptr && searchpropname) {
1786 RNA_warning(
"searchpropname defined (%s) but searchptr is missing", searchpropname);
1788 else if (searchptr && !searchpropname) {
1789 RNA_warning(
"searchptr defined (%s) but searchpropname is missing",
1793 RNA_warning(
"search collection property not found: %s.%s",
1798 RNA_warning(
"search collection property is not a collection type: %s.%s",
1805 RNA_warning(
"search collection items from %s.%s are not of type %s",
1818 const char *
const propname,
1820 const char *
const searchpropname)
1836 return template_search;
1846 const char *propname,
1848 const char *searchpropname,
1850 const char *unlinkop)
1853 ptr, propname, searchptr, searchpropname);
1854 if (template_search !=
NULL) {
1863 const char *propname,
1865 const char *searchpropname,
1867 const char *unlinkop,
1872 ptr, propname, searchptr, searchpropname);
1874 if (template_search !=
NULL) {
1902 const char *propname,
1917 uiItemR(row,
ptr, propname, 0, text, ICON_RNA);
1946 if (!panels_match) {
1949 for (
int i = 0; md; i++, md = md->
next) {
1976 panel = panel->
next;
1984 panel = panel->
next;
1998 #define CONSTRAINT_TYPE_PANEL_PREFIX "OBJECT_PT_"
1999 #define CONSTRAINT_BONE_TYPE_PANEL_PREFIX "BONE_PT_"
2026 RNA_enum_set(&props_ptr,
"owner", constraint_from_bone ? 1 : 0);
2095 if (use_bone_constraints) {
2098 else if (ob !=
NULL) {
2108 if (!panels_match) {
2111 for (
int i = 0; con; i++, con = con->
next) {
2125 panel_id_func(con, panel_idname);
2159 panel = panel->
next;
2167 panel = panel->
next;
2172 #undef CONSTRAINT_TYPE_PANEL_PREFIX
2173 #undef CONSTRAINT_BONE_TYPE_PANEL_PREFIX
2199 if (!panels_match) {
2202 for (
int i = 0; md; i++, md = md->
next) {
2229 panel = panel->
next;
2237 panel = panel->
next;
2246 #define ERROR_LIBDATA_MESSAGE TIP_("Can't edit external library data")
2275 if (!panels_match) {
2278 for (
int i = 0; fx; i++, fx = fx->
next) {
2300 panel = panel->
next;
2308 panel = panel->
next;
2325 #ifdef USE_OP_RESET_BUT
2328 void *
UNUSED(arg_dummy2))
2386 uiItemM(row,
"WM_MT_operator_presets",
NULL, ICON_NONE);
2432 #ifdef USE_OP_RESET_BUT
2456 TIP_(
"Reset operator defaults"));
2492 bool *r_has_advanced)
2497 C, macro_op, layout, label_align, layout_flags, r_has_advanced);
2503 C, op, layout, label_align, layout_flags);
2505 if (r_has_advanced) {
2506 *r_has_advanced =
true;
2580 "SCREEN_OT_repeat_last",
2590 int layout_flags = 0;
2595 bool has_advanced =
false;
2605 uiItemO(layout,
IFACE_(
"More..."), ICON_NONE,
"SCREEN_OT_redo_last");
2617 #define ERROR_LIBDATA_MESSAGE TIP_("Can't edit external library data")
2627 short proxy_protected, xco = 0, yco = 0;
2635 proxy_protected = 0;
2655 if (proxy_protected == 0) {
2656 uiItemR(layout, &
ptr,
"name", 0,
"", ICON_NONE);
2663 if (proxy_protected) {
2681 TIP_(
"Proxy Protected"));
2695 TIP_(
"Proxy Protected"));
2709 uiItemO(layout,
"", ICON_X,
"CONSTRAINT_OT_delete");
2717 if (proxy_protected) {
2773 const char *preview_id)
2777 short *pr_texture =
NULL;
2784 RNA_warning(
"Expected ID of type material, texture, light, world or line style");
2794 pr_texture = &((
Material *)parent)->pr_texture;
2797 pr_texture = &((
World *)parent)->pr_texture;
2800 pr_texture = &((
Light *)parent)->pr_texture;
2816 if (!preview_id || (preview_id[0] ==
'\0')) {
2820 preview_id = _preview_id;
2882 if (pid && show_buttons) {
2902 uiItemR(
col, &material_ptr,
"use_preview_world", 0,
"", ICON_WORLD);
3007 uiItemR(row, &texture_ptr,
"use_preview_alpha", 0,
NULL, ICON_NONE);
3045 for (
int a = 0;
a < coba->
tot;
a++) {
3046 data_tmp[
a] = coba->
data[coba->
tot - (
a + 1)];
3048 for (
int a = 0;
a < coba->
tot;
a++) {
3049 data_tmp[
a].
pos = 1.0f - data_tmp[
a].
pos;
3050 coba->
data[
a] = data_tmp[
a];
3054 coba->
cur = coba->
tot - (coba->
cur + 1);
3061 if (coba->
tot > 1) {
3062 const int tot = evenly ? coba->
tot - 1 : coba->
tot;
3063 const float gap = 1.0f / tot;
3065 for (
int a = 0;
a < coba->
tot;
a++) {
3069 ED_undo_push(
C, evenly ?
"Distribute Stops Evenly" :
"Distribute Stops from Left");
3128 IFACE_(
"Flip Color Ramp"),
3143 IFACE_(
"Distribute Stops from Left"),
3158 IFACE_(
"Distribute Stops Evenly"),
3170 uiItemO(layout,
IFACE_(
"Eyedropper"), ICON_EYEDROPPER,
"UI_OT_eyedropper_colorramp");
3176 IFACE_(
"Reset Color Ramp"),
3200 if (coba->
tot > 1) {
3201 if (coba->
cur > 0) {
3245 const float xs = butr->
xmin;
3246 const float ys = butr->
ymin;
3271 TIP_(
"Add a new color stop to the color ramp"));
3288 TIP_(
"Delete the active position"));
3309 uiItemR(row, &
ptr,
"color_mode", 0,
"", ICON_NONE);
3311 uiItemR(row, &
ptr,
"hue_interpolation", 0,
"", ICON_NONE);
3314 uiItemR(row, &
ptr,
"interpolation", 0,
"", ICON_NONE);
3357 (
float)(
MAX2(0, coba->
tot - 1)),
3360 TIP_(
"Choose active color stop"));
3367 uiItemR(row, &
ptr,
"color", 0,
"", ICON_NONE);
3384 (
float)(
MAX2(0, coba->
tot - 1)),
3387 TIP_(
"Choose active color stop"));
3394 uiItemR(row, &
ptr,
"color", 0,
"", ICON_NONE);
3399 if (but->rnapoin.data !=
ptr.
data) {
3402 if (!but->rnaprop) {
3407 if (
STREQ(prop_identifier,
"position")) {
3411 if (
STREQ(prop_identifier,
"color")) {
3514 const int x = (
a % 8) *
w;
3515 const int y = -(
a / 8) * h;
3517 const int icon = item[
a].
icon;
3518 const int value = item[
a].
value;
3575 const char *propname,
3578 float icon_scale_popup)
3595 int icon = ICON_NONE;
3602 cb_args->
prop = prop;
3671 block,
UI_BTYPE_HISTOGRAM, 0,
"", 0, 0,
UI_UNIT_X * 10, hist->
height, hist, 0, 0, 0, 0,
"");
3847 if (cumap->
curr.
xmin - d < cumap->clipr.xmin) {
3864 if (cumap->
curr.
ymin - d < cumap->clipr.ymin) {
4113 IFACE_(
"Auto Clamped Handle"),
4131 IFACE_(
"Extend Horizontal"),
4146 IFACE_(
"Extend Extrapolated"),
4262 if (labeltype ==
'v') {
4269 block,
UI_BTYPE_ROW, 0,
"X", 0, 0, dx, dx, &cumap->
cur, 0.0, 0.0, 0.0, 0.0,
"");
4274 block,
UI_BTYPE_ROW, 0,
"Y", 0, 0, dx, dx, &cumap->
cur, 0.0, 1.0, 0.0, 0.0,
"");
4279 block,
UI_BTYPE_ROW, 0,
"Z", 0, 0, dx, dx, &cumap->
cur, 0.0, 2.0, 0.0, 0.0,
"");
4283 else if (labeltype ==
'c') {
4290 block,
UI_BTYPE_ROW, 0,
"C", 0, 0, dx, dx, &cumap->
cur, 0.0, 3.0, 0.0, 0.0,
"");
4295 block,
UI_BTYPE_ROW, 0,
"R", 0, 0, dx, dx, &cumap->
cur, 0.0, 0.0, 0.0, 0.0,
"");
4300 block,
UI_BTYPE_ROW, 0,
"G", 0, 0, dx, dx, &cumap->
cur, 0.0, 1.0, 0.0, 0.0,
"");
4305 block,
UI_BTYPE_ROW, 0,
"B", 0, 0, dx, dx, &cumap->
cur, 0.0, 2.0, 0.0, 0.0,
"");
4309 else if (labeltype ==
'h') {
4316 block,
UI_BTYPE_ROW, 0,
"H", 0, 0, dx, dx, &cumap->
cur, 0.0, 0.0, 0.0, 0.0,
"");
4321 block,
UI_BTYPE_ROW, 0,
"S", 0, 0, dx, dx, &cumap->
cur, 0.0, 1.0, 0.0, 0.0,
"");
4326 block,
UI_BTYPE_ROW, 0,
"V", 0, 0, dx, dx, &cumap->
cur, 0.0, 2.0, 0.0, 0.0,
"");
4334 if (labeltype ==
'h') {
4375 if (brush && neg_slope) {
4399 else if (neg_slope) {
4426 const int icon = (cumap->
flag &
CUMA_DO_CLIP) ? ICON_CLIPUV_HLT : ICON_CLIPUV_DEHLT;
4444 TIP_(
"Delete points"));
4455 block,
UI_BTYPE_CURVE, 0,
"", 0, 0,
size, 8.0f *
UI_UNIT_X, cumap, 0.0f, 1.0f, 0, 0,
"");
4460 for (
int i = 0; i < cm->
totpoint; i++) {
4462 cmp = &cm->
curve[i];
4533 TIP_(
"Reset Black/White point and curves"));
4542 const char *propname,
4640 IFACE_(
"Cornice Molding"),
4792 if (profile->
view_rect.
xmin - d < profile->clip_rect.xmin) {
4809 if (profile->
view_rect.
ymin - d < profile->clip_rect.ymin) {
4908 "Reapply and update the preset, removing changes");
4966 ICON_ARROW_LEFTRIGHT,
4976 TIP_(
"Reverse Path"));
4980 const int icon = (profile->
flag &
PROF_USE_CLIP) ? ICON_CLIPUV_HLT : ICON_CLIPUV_DEHLT;
4994 TIP_(
"Toggle Profile Clipping"));
5002 const int path_height = path_width;
5021 float *selection_x, *selection_y;
5022 bool point_last_or_first =
false;
5024 for (i = 0; i < profile->
path_len; i++) {
5026 point = &profile->
path[i];
5027 selection_x = &point->
x;
5028 selection_y = &point->
y;
5032 point = &profile->
path[i];
5033 selection_x = &point->
h1_loc[0];
5034 selection_y = &point->
h1_loc[1];
5037 point = &profile->
path[i];
5038 selection_x = &point->
h2_loc[0];
5039 selection_y = &point->
h2_loc[1];
5043 point_last_or_first =
true;
5089 if (point_last_or_first) {
5109 if (point_last_or_first) {
5127 TIP_(
"Delete points"));
5129 if (point_last_or_first) {
5134 uiItemR(layout,
ptr,
"use_sample_straight_edges", 0,
NULL, ICON_NONE);
5135 uiItemR(layout,
ptr,
"use_sample_even_lengths", 0,
NULL, ICON_NONE);
5188 #define WHEEL_SIZE (5 * U.widget_unit)
5193 const char *propname,
5196 bool lock_luminosity,
5208 float softmin, softmax, step, precision;
5216 switch (
U.color_picker_type) {
5236 switch (
U.color_picker_type) {
5247 but = &hsv_but->
but;
5279 if (lock_luminosity) {
5287 switch (
U.color_picker_type) {
5414 const char *propname,
5440 "PALETTE_OT_color_add",
5450 "PALETTE_OT_color_delete",
5461 "PALETTE_OT_color_move",
5474 "PALETTE_OT_color_move",
5493 int row_cols = 0, col_id = 0;
5495 if (row_cols >= cols_per_row) {
5538 "UI_OT_eyedropper_color",
5570 for (
int i = 0; i < tot; i++) {
5587 const char *propname,
5589 const char *used_propname,
5592 const int cols_per_group = 5;
5607 const int cols = (layers / 2) + (layers % 2);
5608 const int groups = ((cols / 2) < cols_per_group) ? (1) : (cols / cols_per_group);
5611 if (used_ptr && used_propname) {
5614 RNA_warning(
"used layers property not found: %s.%s",
5627 for (
int group = 0; group < groups; group++) {
5630 for (
int row = 0; row < 2; row++) {
5633 int layer = groups * cols_per_group * row + cols_per_group * group;
5636 for (
int col = 0; (
col < cols_per_group) && (layer < layers);
col++, layer++) {
5638 const int butlay = 1 << layer;
5640 if (active_layer & butlay) {
5641 icon = ICON_LAYER_ACTIVE;
5644 icon = ICON_LAYER_USED;
5669 const char *
UNUSED(active_propname),
5703 uiItemR(subrow, &listptr,
"filter_name", 0,
"", ICON_NONE);
5706 "use_filter_invert",
5709 ICON_ARROW_LEFTRIGHT);
5715 "use_filter_sort_alpha",
5721 "use_filter_sort_reverse",
5742 const char *propname)
5748 char *
filter = (
char *)filter_raw, filter_buff[32], *filter_dyn =
NULL;
5756 if (
len && (order_by_name || filter_raw[0])) {
5758 int order_idx = 0, i = 0;
5760 if (order_by_name) {
5763 if (filter_raw[0]) {
5764 const size_t slen = strlen(filter_raw);
5770 if (slen + 3 <=
sizeof(filter_buff)) {
5780 bool do_order =
false;
5783 const char *name = namebuf ? namebuf :
"";
5787 if (fnmatch(
filter, name, FNM_CASEFOLD) == 0) {
5789 if (!filter_exclude) {
5791 do_order = order_by_name;
5795 else if (filter_exclude) {
5797 do_order = order_by_name;
5801 do_order = order_by_name;
5805 names[order_idx].org_idx = order_idx;
5817 if (order_by_name) {
5827 "items_filter_neworder");
5828 for (new_idx = 0; new_idx < order_idx; new_idx++) {
5870 if (maxrows < rows) {
5871 maxrows =
max_ii(rows, 5);
5880 activei_row = (int)
floor((
double)activei / (
double)columns);
5884 activei_row = activei;
5887 if (!use_auto_size) {
5891 else if ((rows != maxrows) && (dyn_data->
height > rows)) {
5899 if (activei_row < ui_list->list_scroll) {
5902 else if (activei_row >= ui_list->
list_scroll + rows) {
5908 const int max_scroll =
max_ii(0, dyn_data->
height - rows);
5938 if (propname && propname[0] && itemptr && itemptr->
data) {
5950 char *dyn_tooltip = argN;
5956 const char *listtype_name,
5957 const char *list_id,
5959 const char *propname,
5961 const char *active_propname,
5962 const char *item_dyntip_propname,
5978 int rnaicon = ICON_NONE, icon = ICON_NONE;
5979 int i = 0, activei = 0;
5985 RNA_warning(
"template_list using default '%s' UIList class must provide a custom list_id",
5992 if (!active_dataptr->
data) {
5997 if (dataptr->
data) {
6015 RNA_warning(
"Expected a collection data property");
6022 RNA_warning(
"Expected an integer active data property");
6027 if (dataptr->
data && prop) {
6038 if (ui_list_type ==
NULL) {
6039 RNA_warning(
"List type %s not found", listtype_name);
6053 ui_list_id,
sizeof(ui_list_id),
"%s_%s", ui_list_type->
idname, list_id ? list_id :
"");
6057 if (region ==
NULL) {
6081 ui_list->
type = ui_list_type;
6096 if (dataptr->
data && prop) {
6099 int items_shown, idx = 0;
6101 int prev_ii = -1, prev_i;
6109 filter_items(ui_list,
C, dataptr, propname);
6114 if (items_shown >= 0) {
6115 bool activei_mapping_pending =
true;
6124 ii = order_reverse ? items_shown - ii - 1 : ii;
6127 ii = order_reverse ? items_shown - ++idx : idx++;
6130 items_ptr[ii].
item = itemptr;
6135 if (activei_mapping_pending && activei == i) {
6138 activei_mapping_pending =
false;
6141 else if (activei < i) {
6162 if (activei_mapping_pending) {
6175 switch (layout_type) {
6186 if (dataptr->
data && prop) {
6191 const int org_i = items_ptr[i].
org_idx;
6192 const int flt_flag = items_ptr[i].
flt_flag;
6217 TIP_(
"Double click to rename"));
6225 if (icon == ICON_DOT) {
6279 if ((dataptr->
data && prop) && (dyn_data->
items_shown > 0) && (activei >= 0) &&
6280 (activei < dyn_data->items_shown)) {
6282 const int org_i = items_ptr[activei].
org_idx;
6285 if (icon == ICON_DOT) {
6289 ui_list,
C, row, dataptr, itemptr, icon, active_dataptr, active_propname, org_i, 0);
6328 if (dataptr->
data && prop) {
6332 const int org_i = items_ptr[i].
org_idx;
6333 const int flt_flag = items_ptr[i].
flt_flag;
6336 if (!(i % columns)) {
6391 if (!(i % columns)) {
6394 uiItemL(subrow,
"", ICON_NONE);
6444 ICON_DISCLOSURE_TRI_DOWN,
6454 TIP_(
"Hide filtering options"));
6492 draw_filter(ui_list,
C,
col);
6499 ICON_DISCLOSURE_TRI_RIGHT,
6509 TIP_(
"Show filtering options"));
6543 #define B_STOPRENDER 1
6544 #define B_STOPCAST 2
6545 #define B_STOPANIM 3
6546 #define B_STOPCOMPO 4
6548 #define B_STOPCLIP 6
6549 #define B_STOPFILE 7
6550 #define B_STOPOTHER 8
6596 char elapsed_str[32];
6597 char remaining_str[32] =
"Unknown";
6602 const double remaining = (elapsed / (
double)progress) - elapsed;
6607 "Time Remaining: %s\n"
6619 int handle_event, icon = 0;
6639 icon = ICON_SEQUENCE;
6645 icon = ICON_SEQUENCE;
6650 icon = ICON_TRACKER;
6655 icon = ICON_TRACKER;
6660 icon = ICON_TRACKER;
6665 icon = ICON_TRACKER;
6670 icon = ICON_FILEBROWSER;
6680 icon = ICON_RENDERLAYERS;
6698 icon = ICON_MOD_DYNAMICPAINT;
6703 icon = ICON_PHYSICS;
6708 icon = ICON_MOD_FLUIDSIM;
6713 icon = ICON_MOD_OCEAN;
6794 TIP_(
"Stop this job"));
6813 TIP_(
"Stop animation playback"));
6838 if (!rti || rti->
widthfac == 0.0f || !report) {
6897 "SCREEN_OT_info_log_show",
6904 TIP_(
"Click to see the remaining reports in text block: 'Recent Reports'"));
6911 "SCREEN_OT_info_log_show",
6918 "Show in Info Log");
6939 for (
int i = 0; i < 3; i++) {
6948 if (msg || (msg_drag ==
NULL)) {
6949 uiItemL(row, msg ? msg :
"", (ICON_MOUSE_LMB + i));
6953 uiItemL(row, msg_drag, (ICON_MOUSE_LMB_DRAG + i));
6979 uiItemL(layout, title, ICON_NONE);
7012 "UI_OT_unset_property_button",
7040 for (; but; but = but->
next) {
7067 #ifdef WITH_HEADLESS
7073 for (
int j = 0; j <
ARRAY_SIZE(icon_mod) && icon_mod[j]; j++) {
7074 uiItemL(layout,
"", icon_mod[j]);
7079 else if (text_fallback) {
7081 uiItemL(layout, event_text, ICON_NONE);
7082 uiItemL(layout, text, ICON_NONE);
7106 uiItemR(layout, &colorspace_settings_ptr,
"name", 0,
IFACE_(
"Color Space"), ICON_NONE);
7112 const char *propname)
7128 uiItemR(row, &view_transform_ptr,
"view_transform", 0,
IFACE_(
"View"), ICON_NONE);
7131 uiItemR(
col, &view_transform_ptr,
"exposure", 0,
NULL, ICON_NONE);
7137 uiItemR(
col, &view_transform_ptr,
"use_curve_mapping", 0,
NULL, ICON_NONE);
7140 col, &view_transform_ptr,
"curve_mapping",
'c',
true,
false,
false,
false);
7182 const char *propname,
7219 block,
UI_BTYPE_NODE_SOCKET, 0,
"", 0, 0,
UI_UNIT_X,
UI_UNIT_Y,
NULL, 0, 0, 0, 0,
"");
7234 const char *propname)
7249 printf(
"%s: expected pointer property for %s.%s\n",
7266 "CACHEFILE_OT_open",
7283 uiItemR(row, &fileptr,
"filepath", 0,
NULL, ICON_NONE);
7285 uiItemO(sub,
"", ICON_FILE_REFRESH,
"cachefile.reload");
7288 uiItemR(row, &fileptr,
"is_sequence", 0,
NULL, ICON_NONE);
7293 uiItemR(sub, &fileptr,
"override_frame", 0,
"", ICON_NONE);
7296 uiItemR(subsub, &fileptr,
"frame", 0,
"", ICON_NONE);
7300 uiItemR(row, &fileptr,
"frame_offset", 0,
NULL, ICON_NONE);
7305 uiItemR(row, &fileptr,
"scale", 0,
IFACE_(
"Manual Scale"), ICON_NONE);
7308 uiItemR(layout, &fileptr,
"velocity_name", 0,
NULL, ICON_NONE);
7309 uiItemR(layout, &fileptr,
"velocity_unit", 0,
NULL, ICON_NONE);
7314 uiItemR(row, &fileptr,
"forward_axis", 0,
"Forward Axis", ICON_NONE);
7317 uiItemR(row, &fileptr,
"up_axis", 0,
"Up Axis", ICON_NONE);
7338 "WM_OT_open_mainfile",
Blender kernel action and pose functionality.
struct bPoseChannel * BKE_pose_channel_active(struct Object *ob)
#define FOREACH_SCENE_OBJECT_END
void BKE_collection_object_add_from(struct Main *bmain, struct Scene *scene, struct Object *ob_src, struct Object *ob_dst)
bool BKE_collection_has_object_recursive(struct Collection *collection, struct Object *ob)
#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)
bool BKE_constraints_proxylocked_owner(struct Object *ob, struct bPoseChannel *pchan)
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 ARegion * CTX_wm_menu(const bContext *C)
struct SpaceProperties * CTX_wm_space_properties(const bContext *C)
struct wmWindowManager * CTX_wm_manager(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 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_reset_view(struct CurveProfile *profile)
void BKE_curveprofile_update(struct CurveProfile *profile, const int update_flags)
void BKE_curveprofile_remove_by_flag(struct CurveProfile *profile, const 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(const char type, const IDPropertyTemplate *val, const char *name) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
const char * BKE_idtype_idcode_to_translation_context(const short idcode)
const char * BKE_idtype_idcode_to_name(const short idcode)
bool BKE_id_copy_is_allowed(const struct ID *id)
void id_us_min(struct ID *id)
#define MAX_ID_FULL_NAME_UI
void BKE_id_full_name_ui_prefix_get(char name[MAX_ID_FULL_NAME_UI], const struct ID *id, const bool add_lib_hint, char separator_char, int *r_prefix_len)
void BKE_main_id_clear_newpoins(struct Main *bmain)
bool BKE_lib_id_make_local(struct Main *bmain, struct ID *id, const bool test, const int flags)
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)
void BKE_id_ordered_list(struct ListBase *ordered_lb, const struct ListBase *lb)
void id_fake_user_clear(struct ID *id)
void BKE_main_id_flag_listbase(struct ListBase *lb, const int flag, const bool value)
struct ID * BKE_lib_override_library_create_from_id(struct Main *bmain, struct ID *reference_id, const bool do_tagged_remap)
void BKE_lib_override_library_make_local(struct ID *id)
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(struct ID *id)
Report * BKE_reports_last_displayable(ReportList *reports)
bool BKE_scene_uses_blender_eevee(const struct Scene *scene)
void(* uiListDrawItemFunc)(struct uiList *ui_list, struct bContext *C, struct uiLayout *layout, struct PointerRNA *dataptr, struct PointerRNA *itemptr, int icon, struct PointerRNA *active_dataptr, const char *active_propname, int index, int flt_flag)
void(* uiListFilterItemsFunc)(struct uiList *ui_list, struct bContext *C, struct PointerRNA *, const char *propname)
void(* uiListDrawFilterFunc)(struct uiList *ui_list, struct bContext *C, struct uiLayout *layout)
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 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_findstring(const struct ListBase *listbase, const char *id, const int offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
MINLINE int round_fl_to_int(float a)
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
int BLI_strcasecmp(const char *s1, const char *s2) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
char * BLI_strncpy_ensure_pad(char *__restrict dst, const char *__restrict src, const char pad, size_t maxncpy) ATTR_NONNULL()
size_t BLI_snprintf(char *__restrict dst, size_t maxncpy, const char *__restrict format,...) ATTR_NONNULL(1
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, const size_t maxncpy) ATTR_NONNULL()
void BLI_string_search_free(StringSearch *search)
void BLI_string_search_add(StringSearch *search, const char *str, void *user_data)
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, const size_t maxncpy, const 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_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_CURVE
#define BLT_I18NCONTEXT_ID_SIMULATION
#define BLT_I18NCONTEXT_ID_NODETREE
#define BLT_I18NCONTEXT_ID_IMAGE
#define BLT_I18NCONTEXT_ID_SPEAKER
#define BLT_I18NCONTEXT_ID_WORKSPACE
#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_ID_ARMATURE
#define BLT_I18N_MSGID_MULTI_CTXT(msgid,...)
#define BLT_I18NCONTEXT_ID_SCENE
#define BLT_I18NCONTEXT_ID_HAIR
#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)
#define ID_IS_OVERRIDABLE_LIBRARY(_id)
#define ID_IS_LINKED(_id)
#define ID_REAL_USERS(id)
#define ID_IS_OVERRIDE_LIBRARY(_id)
@ CUMA_EXTEND_EXTRAPOLATE
@ COLORMANAGE_VIEW_USE_CURVES
@ CONSTRAINT_TYPE_KINEMATIC
Object is a sort of wrapper for general info.
#define UI_LIST_AUTO_SIZE_THRESHOLD
#define UILST_FLT_SORT_MASK
@ UILST_SCROLL_TO_ACTIVE_ITEM
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)
void ED_object_constraint_active_set(struct Object *ob, struct bConstraint *con)
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_refresh_ui(struct ARegion *region)
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 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
_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 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
Read Guarded memory(de)allocation.
Group RGB to Bright Vector Camera CLAMP
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_PROP_BEGIN(sptr, itemptr, prop)
StructRNA RNA_LayerObjects
#define RNA_warning(format,...)
StructRNA RNA_ColorRampElement
StructRNA RNA_CurveProfilePoint
StructRNA RNA_OperatorProperties
StructRNA RNA_CurveMapping
StructRNA RNA_PaletteColor
StructRNA RNA_CurveProfile
StructRNA RNA_GpencilModifier
int UI_text_colorid_from_report_type(int type)
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)
void UI_but_func_tooltip_set(uiBut *but, uiButToolTipFunc func, void *argN)
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)
int UI_searchbox_size_x(void)
struct bContextStore * uiLayoutGetContextStore(uiLayout *layout)
uiBlock * uiLayoutGetBlock(uiLayout *layout)
@ UI_EMBOSS_NONE_OR_STATUS
void UI_fontstyle_set(const struct uiFontStyle *fs)
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, const bool compact)
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 uiLayoutSetOperatorContext(uiLayout *layout, int opcontext)
uiLayout * uiLayoutColumn(uiLayout *layout, bool align)
int UI_icon_from_report_type(int type)
uiLayout * uiLayoutOverlap(uiLayout *layout)
void uiItemFullO(uiLayout *layout, const char *opname, const char *name, int icon, struct IDProperty *properties, int context, int flag, struct PointerRNA *r_opptr)
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)
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)
bool UI_search_item_add(uiSearchItems *items, const char *name, void *poin, int iconid, int state, const uint8_t name_prefix_offset)
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)
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)
char UI_block_emboss_get(uiBlock *block)
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(* uiButSearchUpdateFn)(const struct bContext *C, void *arg, const char *str, uiSearchItems *items, const bool is_first)
void UI_block_flag_disable(uiBlock *block, int flag)
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)
void uiLayoutSetPropSep(uiLayout *layout, bool is_sep)
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
void uiItemFullO_ptr(uiLayout *layout, struct wmOperatorType *ot, const char *name, int icon, struct IDProperty *properties, int context, int flag, struct PointerRNA *r_opptr)
uiLayout * uiLayoutRow(uiLayout *layout, bool align)
uiLayout * uiLayoutColumnFlow(uiLayout *layout, int number, bool align)
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)
@ UI_TEMPLATE_ID_FILTER_AVAILABLE
@ UI_TEMPLATE_ID_FILTER_ALL
#define UI_UL_DEFAULT_CLASS_NAME
void UI_but_func_search_set(uiBut *but, uiButSearchCreateFn search_create_fn, uiButSearchUpdateFn search_update_fn, void *arg, const bool free_arg, uiButSearchArgFreeFn search_arg_free_fn, uiButHandleFunc search_exec_fn, void *active)
uiLayout * uiLayoutListBox(uiLayout *layout, struct uiList *ui_list, struct PointerRNA *actptr, struct PropertyRNA *actprop)
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)
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)
uiBut * uiDefButO(uiBlock *block, int type, const char *opname, int opcontext, const char *str, int x, int y, short width, short height, const char *tip)
@ UI_BLOCK_MOVEMOUSE_QUIT
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)
int UI_fontstyle_string_width(const struct uiFontStyle *fs, const char *str)
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 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)
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)
@ 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 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 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)
uiBut * uiDefIconButBitI(uiBlock *block, int type, int bit, 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)
uiBut * uiDefIconTextButO(uiBlock *block, int type, const char *opname, int opcontext, int icon, const char *str, int x, int y, short width, short height, const char *tip)
@ UI_BLOCK_THEME_STYLE_POPUP
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)
uiBut * uiDefIconButO(uiBlock *block, int type, const char *opname, int opcontext, int icon, int x, int y, short width, short height, const char *tip)
void UI_but_flag_enable(uiBut *but, int flag)
uiBlock *(* uiBlockCreateFunc)(struct bContext *C, struct ARegion *region, void *arg1)
void uiItemM(uiLayout *layout, const char *menuname, const char *name, int icon)
void UI_block_align_end(uiBlock *block)
int UI_icon_from_library(const struct ID *id)
int UI_icon_from_rnaptr(struct bContext *C, struct PointerRNA *ptr, int rnaicon, const bool big)
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_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
@ WM_OP_INVOKE_REGION_WIN
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
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)
struct ARegion * ui_searchbox_create_generic(struct bContext *C, struct ARegion *butregion, uiButSearch *search_but)
void ui_layout_list_set_labels_active(uiLayout *layout)
void ui_rna_collection_search_update_fn(const struct bContext *C, void *arg, const char *str, uiSearchItems *items, const bool is_first)
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)
void uiTemplateColorspaceSettings(uiLayout *layout, PointerRNA *ptr, const char *propname)
struct TemplateID TemplateID
static int cmpstringp(const void *p1, const void *p2)
static uiBlock * id_search_menu(bContext *C, ARegion *region, void *arg_litem)
@ CB_FUNC_DISTRIBUTE_EVENLY
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)
#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)
static void template_search_add_button_operator(uiBlock *block, const char *const operator_name, const int opcontext, const int icon, const bool editable)
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))
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)
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))
static void uilist_resize_update_cb(bContext *C, void *arg1, void *UNUSED(arg2))
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)
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)
struct uiTemplateOperatorPropertyPollParam uiTemplateOperatorPropertyPollParam
void uiTemplateGpencilModifiers(uiLayout *UNUSED(layout), bContext *C)
void UI_context_active_but_prop_get_templateID(bContext *C, PointerRNA *r_ptr, PropertyRNA **r_prop)
static void uilist_prepare(uiList *ui_list, int len, int activei, int rows, int maxrows, int columns, uiListLayoutdata *layoutdata)
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)
static void uilist_draw_filter_default(struct uiList *ui_list, struct bContext *UNUSED(C), struct uiLayout *layout)
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)
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 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
static void template_ID_set_property_exec_fn(bContext *C, void *arg_template, void *item)
@ UIPROFILE_FUNC_RESET_VIEW
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 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)
void uiTemplateList(uiLayout *layout, bContext *C, const char *listtype_name, const char *list_id, PointerRNA *dataptr, const char *propname, PointerRNA *active_dataptr, const char *active_propname, const char *item_dyntip_propname, int rows, int maxrows, int layout_type, int columns, bool sort_reverse, bool sort_lock)
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)
void uiTemplateNodeSocket(uiLayout *layout, bContext *UNUSED(C), float *color)
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 void * uilist_item_use_dynamic_tooltip(PointerRNA *itemptr, const char *propname)
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)
@ 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
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 char * uilist_item_tooltip_func(bContext *UNUSED(C), void *argN, const char *tip)
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)
static void uilist_filter_items_default(struct uiList *ui_list, struct bContext *UNUSED(C), struct PointerRNA *dataptr, const char *propname)
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)
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 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 curvemap_buttons_redraw(bContext *C, void *UNUSED(arg1), void *UNUSED(arg2))
#define ERROR_LIBDATA_MESSAGE
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 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 uilist_draw_item_default(struct uiList *ui_list, struct bContext *UNUSED(C), struct uiLayout *layout, struct PointerRNA *UNUSED(dataptr), struct PointerRNA *itemptr, int icon, struct PointerRNA *UNUSED(active_dataptr), const char *UNUSED(active_propname), int UNUSED(index), int UNUSED(flt_flag))
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)
IMETHOD Vector diff(const Vector &a, const Vector &b, double dt=1)
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)
void RNA_property_boolean_set_index(PointerRNA *ptr, PropertyRNA *prop, int index, bool value)
void RNA_property_int_set(PointerRNA *ptr, PropertyRNA *prop, int 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)
char * RNA_struct_name_get_alloc(PointerRNA *ptr, char *fixedbuf, int fixedlen, int *r_len)
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)
int RNA_property_int_get(PointerRNA *ptr, PropertyRNA *prop)
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)
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_editable(PointerRNA *ptr, PropertyRNA *prop_orig)
bool RNA_property_boolean_get_index(PointerRNA *ptr, PropertyRNA *prop, int index)
const char * RNA_property_ui_description(const PropertyRNA *prop)
int RNA_property_collection_length(PointerRNA *ptr, PropertyRNA *prop)
const char * RNA_property_ui_name(const PropertyRNA *prop)
float luminosity_lock_value
struct GpencilModifierData * next
void(* panelRegister)(struct ARegionType *region_type)
struct ModifierData * next
void(* panelRegister)(struct ARegionType *region_type)
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 Collection * master_collection
struct ShaderFxData * next
void(* panelRegister)(struct ARegionType *region_type)
uiRNACollectionSearch search_data
struct bConstraint * next
struct wmOperator * ui_operator
eButGradientType gradient_type
eButGradientType gradient_type
struct bContextStore * context
struct PointerRNA * opptr
struct PropertyRNA * rnaprop
struct PointerRNA rnapoin
int * items_filter_neworder
char idname[BKE_ST_MAXNAME]
uiListFilterItemsFunc filter_items
uiListDrawFilterFunc draw_filter
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)
ccl_device_inline float2 floor(const float2 &a)
ccl_device_inline float3 ceil(const float3 &a)
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(bContext *C, const char *opstring, short context, PointerRNA *properties)
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_ptr(bContext *C, wmOperatorType *ot, short context, PointerRNA *properties)
char * WM_jobs_name(wmWindowManager *wm, void *owner)
bool WM_jobs_test(wmWindowManager *wm, void *owner, int job_type)
bool WM_jobs_is_stopped(wmWindowManager *wm, void *owner)
void WM_jobs_stop(wmWindowManager *wm, void *owner, void *startjob)
double WM_jobs_starttime(wmWindowManager *wm, void *owner)
float WM_jobs_progress(wmWindowManager *wm, void *owner)
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)
uiListType * WM_uilisttype_find(const char *idname, bool quiet)