63 "Automatically determine sort method for files",
91 "Automatically determine display type for files"},
96 "Display files as short list"},
101 "Display files as a detailed list"},
102 {
FILE_IMGDISPLAY,
"THUMBNAIL", ICON_IMGDISPLAY,
"Thumbnails",
"Display files as thumbnails"},
130 "Hide Operator Properties",
131 "Collapse the region displaying the operator settings");
142 "Check and warn on overwriting existing files");
152 "Filter .blend files",
191 "Filter OpenVDB volume files",
210 "The setting for the file browser mode to load a .blend file, a library or a special file",
220 "Select the file relative to the blend file");
230 prop =
RNA_def_enum(
ot->
srna,
"display_type", file_display_items, display,
"Display Type",
"");
245 ot->
srna,
"action", select_actions, default_action,
"Action",
"Selection action to execute");
255 {
SEL_TOGGLE,
"TOGGLE", 0,
"Toggle",
"Toggle selection for all elements"},
256 {
SEL_SELECT,
"SELECT", 0,
"Select",
"Select all elements"},
257 {
SEL_DESELECT,
"DESELECT", 0,
"Deselect",
"Deselect all elements"},
258 {
SEL_INVERT,
"INVERT", 0,
"Invert",
"Invert selection of all elements"},
273 {
SEL_SELECT,
"SELECT", 0,
"Select",
"Select all elements"},
274 {
SEL_DESELECT,
"DESELECT", 0,
"Deselect",
"Deselect all elements"},
293 "Portion of items to select randomly",
302 "Seed for the random number generator",
332 prop =
RNA_def_int(
ot->
srna,
"xmin", 0, INT_MIN, INT_MAX,
"X Min",
"", INT_MIN, INT_MAX);
334 prop =
RNA_def_int(
ot->
srna,
"xmax", 0, INT_MIN, INT_MAX,
"X Max",
"", INT_MIN, INT_MAX);
336 prop =
RNA_def_int(
ot->
srna,
"ymin", 0, INT_MIN, INT_MAX,
"Y Min",
"", INT_MIN, INT_MAX);
338 prop =
RNA_def_int(
ot->
srna,
"ymax", 0, INT_MIN, INT_MAX,
"Y Max",
"", INT_MIN, INT_MAX);
371 ot->
srna,
"deselect",
false,
"Deselect",
"Deselect rather than select items");
379 "Extend selection instead of deselecting everything first");
393 "Use Mouse Position",
394 "Allow the initial mouse position to be used");
410 {
SEL_OP_SET,
"SET", ICON_SELECT_SET,
"Set",
"Set a new selection"},
411 {
SEL_OP_ADD,
"ADD", ICON_SELECT_EXTEND,
"Extend",
"Extend existing selection"},
412 {
SEL_OP_SUB,
"SUB", ICON_SELECT_SUBTRACT,
"Subtract",
"Subtract existing selection"},
413 {
SEL_OP_XOR,
"XOR", ICON_SELECT_DIFFERENCE,
"Difference",
"Inverts existing selection"},
414 {
SEL_OP_AND,
"AND", ICON_SELECT_INTERSECT,
"Intersect",
"Intersect existing selection"},
425 {
SEL_OP_SET,
"SET", ICON_SELECT_SET,
"Set",
"Set a new selection"},
426 {
SEL_OP_ADD,
"ADD", ICON_SELECT_EXTEND,
"Extend",
"Extend existing selection"},
427 {
SEL_OP_SUB,
"SUB", ICON_SELECT_SUBTRACT,
"Subtract",
"Subtract existing selection"},
449 "Select/Deselect element in this direction");
486 ot->
srna,
"wait_to_deselect_others",
false,
"Wait to Deselect Others",
"");
489 RNA_def_int(
ot->
srna,
"mouse_x", 0, INT_MIN, INT_MAX,
"Mouse X",
"", INT_MIN, INT_MAX);
490 RNA_def_int(
ot->
srna,
"mouse_y", 0, INT_MIN, INT_MAX,
"Mouse Y",
"", INT_MIN, INT_MAX);
519 prop =
RNA_def_int(
ot->
srna,
"xstart", 0, INT_MIN, INT_MAX,
"X Start",
"", INT_MIN, INT_MAX);
521 prop =
RNA_def_int(
ot->
srna,
"xend", 0, INT_MIN, INT_MAX,
"X End",
"", INT_MIN, INT_MAX);
523 prop =
RNA_def_int(
ot->
srna,
"ystart", 0, INT_MIN, INT_MAX,
"Y Start",
"", INT_MIN, INT_MAX);
525 prop =
RNA_def_int(
ot->
srna,
"yend", 0, INT_MIN, INT_MAX,
"Y End",
"", INT_MIN, INT_MAX);
537 "Mouse cursor style to use during the modal operator",
550 const int radius_default = 25;
552 prop =
RNA_def_int(
ot->
srna,
"x", 0, INT_MIN, INT_MAX,
"X",
"", INT_MIN, INT_MAX);
554 prop =
RNA_def_int(
ot->
srna,
"y", 0, INT_MIN, INT_MAX,
"Y",
"", INT_MIN, INT_MAX);
556 RNA_def_int(
ot->
srna,
"radius", radius_default, 1, INT_MAX,
"Radius",
"", 1, INT_MAX);
570 "Extend selection instead of deselecting everything first");
580 "Deselect On Nothing",
581 "Deselect all when nothing under the cursor");
590 const int nth_default = nth_can_disable ? 0 : 1;
591 const int nth_min =
min_ii(nth_default, 1);
598 "Number of deselected elements in the repetitive sequence",
607 "Number of selected elements in the repetitive sequence",
616 "Offset from the starting point",
628 op_params->
nth = nth;
629 op_params->
skip = skip;
638 return ((op_params->
skip == 0) ||
639 ((op_params->
offset + depth) % (op_params->
skip + op_params->
nth) >= op_params->
skip));
MINLINE int min_ii(int a, int b)
MINLINE int mod_i(int i, int n)
void BLI_rctf_rcti_copy(struct rctf *dst, const struct rcti *src)
@ FILE_TYPE_BLENDER_BACKUP
_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
StructRNA RNA_OperatorFileListElement
StructRNA RNA_OperatorMousePath
#define WM_FILESEL_DIRECTORY
#define WM_FILESEL_SHOW_PROPS
#define WM_FILESEL_RELPATH
#define WM_FILESEL_FILEPATH
#define WM_FILESEL_FILENAME
void sort(btMatrix3x3 &U, btVector3 &sigma, btMatrix3x3 &V, int t)
Helper function of 3X3 SVD for sorting singular values.
DO_INLINE void filter(lfVector *V, fmatrix3x3 *S)
void RNA_property_int_set(PointerRNA *ptr, PropertyRNA *prop, int value)
bool RNA_property_is_set(PointerRNA *ptr, PropertyRNA *prop)
PropertyRNA * RNA_struct_find_property(PointerRNA *ptr, const char *identifier)
int RNA_property_int_get(PointerRNA *ptr, PropertyRNA *prop)
int RNA_int_get(PointerRNA *ptr, const char *name)
PropertyRNA * RNA_def_string_file_name(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, int maxlen, const char *ui_name, const char *ui_description)
void RNA_enum_items_add(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, bool default_value, const char *ui_name, const char *ui_description)
PropertyRNA * RNA_def_string_file_path(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, int maxlen, const char *ui_name, const char *ui_description)
PropertyRNA * RNA_def_collection_runtime(StructOrFunctionRNA *cont_, const char *identifier, StructRNA *type, const char *ui_name, const char *ui_description)
PropertyRNA * RNA_def_float_factor(StructOrFunctionRNA *cont_, const char *identifier, float default_value, float hardmin, float hardmax, const char *ui_name, const char *ui_description, float softmin, float softmax)
void RNA_enum_item_end(EnumPropertyItem **items, int *totitem)
void RNA_enum_item_add(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item)
PropertyRNA * RNA_def_string_dir_path(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, int maxlen, const char *ui_name, const char *ui_description)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, int default_value, int hardmin, int hardmax, const char *ui_name, const char *ui_description, int softmin, int softmax)
void RNA_def_enum_funcs(PropertyRNA *prop, EnumPropertyItemFunc itemfunc)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, int default_value, const char *ui_name, const char *ui_description)
const EnumPropertyItem DummyRNA_NULL_items[]
const EnumPropertyItem rna_enum_fileselect_params_sort_items[]
static void wm_operator_properties_select_action_ex(wmOperatorType *ot, int default_action, const EnumPropertyItem *select_actions, bool hide_gui)
void WM_operator_properties_border_to_rcti(struct wmOperator *op, rcti *rect)
static const EnumPropertyItem * wm_operator_properties_filesel_sort_items_itemf(struct bContext *UNUSED(C), PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free)
int WM_operator_properties_select_random_seed_increment_get(wmOperator *op)
void WM_operator_properties_gesture_box(wmOperatorType *ot)
bool WM_operator_properties_checker_interval_test(const struct CheckerIntervalParams *op_params, int depth)
void WM_operator_properties_confirm_or_exec(wmOperatorType *ot)
void WM_operator_properties_select_operation_simple(wmOperatorType *ot)
void WM_operator_properties_select_operation(wmOperatorType *ot)
void WM_operator_properties_select_action(wmOperatorType *ot, int default_action, bool hide_gui)
void WM_operator_properties_generic_select(wmOperatorType *ot)
void WM_operator_properties_gesture_straightline(wmOperatorType *ot, int cursor)
void WM_operator_properties_border(wmOperatorType *ot)
void WM_operator_properties_gesture_lasso(wmOperatorType *ot)
void WM_operator_properties_select_walk_direction(wmOperatorType *ot)
void WM_operator_properties_select_random(wmOperatorType *ot)
void WM_operator_properties_gesture_box_select(wmOperatorType *ot)
void WM_operator_properties_gesture_circle(wmOperatorType *ot)
void WM_operator_properties_select_all(wmOperatorType *ot)
void WM_operator_properties_use_cursor_init(wmOperatorType *ot)
void WM_operator_properties_gesture_box_ex(wmOperatorType *ot, bool deselect, bool extend)
void WM_operator_properties_border_to_rctf(struct wmOperator *op, rctf *rect)
void WM_operator_properties_mouse_select(wmOperatorType *ot)
void WM_operator_properties_gesture_box_zoom(wmOperatorType *ot)
void WM_operator_properties_checker_interval_from_op(struct wmOperator *op, struct CheckerIntervalParams *op_params)
void WM_operator_properties_filesel(wmOperatorType *ot, int filter, short type, short action, short flag, short display, short sort)
void WM_operator_properties_checker_interval(wmOperatorType *ot, bool nth_can_disable)
void WM_operator_properties_select_action_simple(wmOperatorType *ot, int default_action, bool hide_gui)