182 context_tabs_array[
length] = -1;
207 context_tabs_array[
length] = -1;
214 context_tabs_array[
length] = -1;
258 context_tabs_array[
length] = -1;
305 return "bone_constraint";
371 const short *context_tabs_array,
379 int current_tab_index = 0;
380 for (
int i = 0; i < tabs_len; i++) {
381 if (sbuts->
mainb == context_tabs_array[i]) {
382 current_tab_index = i;
388 for (
int i = current_tab_index; i < tabs_len; i++) {
390 sbuts->
mainbuser = context_tabs_array[i];
396 for (
int i = 0; i < current_tab_index; i++) {
398 sbuts->
mainbuser = context_tabs_array[i];
407 const short *context_tabs_array,
413 ScrArea area_copy = *area_original;
430 for (
int i = 0; i < tabs_len; i++) {
432 if (context_tabs_array[i] == -1) {
437 if (context_tabs_array[i] == sbuts->
mainb) {
474 bool current_tab_has_search_match =
false;
477 current_tab_has_search_match =
true;
482 int current_tab_index = -1;
483 for (
int i = 0; i < tabs_len; i++) {
484 if (context_tabs_array[i] == sbuts->
mainb) {
485 current_tab_index = i;
495 if (!current_tab_has_search_match) {
653 if (sbuts->
mainb == buttons) {
852 #ifdef WITH_FREESTYLE
869 if (sbuts->
pinid == old_id) {
870 sbuts->
pinid = new_id;
871 if (new_id ==
NULL) {
880 for (i = 0; i < path->
len; i++) {
886 if (i == path->
len) {
889 else if (new_id ==
NULL) {
894 memset(&path->
ptr[i], 0,
sizeof(path->
ptr[i]) * (path->
len - i));
903 memset(&path->
ptr[i], 0,
sizeof(path->
ptr[i]) * (path->
len - i));
struct ScrArea * CTX_wm_area(const bContext *C)
void CTX_wm_region_set(bContext *C, struct ARegion *region)
struct SpaceProperties * CTX_wm_space_properties(const bContext *C)
void CTX_wm_area_set(bContext *C, struct ScrArea *area)
const GpencilModifierTypeInfo * BKE_gpencil_modifier_get_info(GpencilModifierType type)
const ModifierTypeInfo * BKE_modifier_get_info(ModifierType type)
void BKE_area_region_free(struct SpaceType *st, struct ARegion *region)
void BKE_spacetype_register(struct SpaceType *st)
struct ARegion * BKE_area_region_copy(const struct SpaceType *st, const struct ARegion *region)
@ PANEL_TYPE_LAYOUT_VERT_BAR
const ShaderFxTypeInfo * BKE_shaderfx_get_info(ShaderFxType type)
#define BLI_BITMAP_TEST(_bitmap, _index)
#define BLI_BITMAP_NEW(_tot, _alloc_string)
#define BLI_BITMAP_SET(_bitmap, _index, _set)
void BLI_addhead(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
#define LISTBASE_FOREACH(type, var, list)
BLI_INLINE void BLI_listbase_clear(struct ListBase *lb)
void void BLI_freelistN(struct ListBase *listbase) ATTR_NONNULL(1)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
size_t BLI_strnlen(const char *str, const size_t maxlen) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, const size_t maxncpy) ATTR_NONNULL()
@ NUM_GREASEPENCIL_MODIFIER_TYPES
@ RGN_FLAG_SEARCH_FILTER_UPDATE
@ RGN_FLAG_PREFSIZE_OR_HIDDEN
@ RGN_FLAG_SEARCH_FILTER_ACTIVE
@ eShaderFxType_Light_deprecated
@ BCONTEXT_BONE_CONSTRAINT
void ED_area_tag_redraw(ScrArea *area)
void ED_region_header(const struct bContext *C, struct ARegion *region)
void ED_region_do_msg_notify_tag_redraw(struct bContext *C, struct wmMsgSubscribeKey *msg_key, struct wmMsgSubscribeValue *msg_val)
void ED_region_panels_draw(const struct bContext *C, struct ARegion *region)
bool ED_region_property_search(const struct bContext *C, struct ARegion *region, struct ListBase *paneltypes, const char *contexts[], const char *category_override)
void ED_region_panels_init(struct wmWindowManager *wm, struct ARegion *region)
void ED_region_tag_redraw(struct ARegion *region)
void ED_region_header_init(struct ARegion *region)
void ED_region_panels_layout_ex(const struct bContext *C, struct ARegion *region, struct ListBase *paneltypes, const char *contexts[], const char *category_override)
void ED_region_panels_layout(const struct bContext *C, struct ARegion *region)
void ED_view3d_buttons_region_layout_ex(const struct bContext *C, struct ARegion *region, const char *category_override)
Read Guarded memory(de)allocation.
void UI_blocklist_free(const struct bContext *C, struct ListBase *lb)
bool UI_panel_is_active(const struct Panel *panel)
bool UI_panel_matches_search_filter(const struct Panel *panel)
#define ND_RENDER_OPTIONS
#define ND_SHADING_PREVIEW
#define ND_SPACE_PROPERTIES
SIMD_FORCE_INLINE btScalar length(const btQuaternion &q)
Return the length of a quaternion.
int buttons_context(const bContext *C, const char *member, bContextDataResult *result)
void buttons_context_compute(const bContext *C, SpaceProperties *sbuts)
void buttons_context_register(ARegionType *art)
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])
void RNA_id_pointer_create(ID *id, PointerRNA *r_ptr)
void(* draw)(const struct bContext *C, struct ARegion *region)
void(* message_subscribe)(const wmRegionMessageSubscribeParams *params)
void(* listener)(const wmRegionListenerParams *params)
void(* layout)(const struct bContext *C, struct ARegion *region)
void(* init)(struct wmWindowManager *wm, struct ARegion *region)
struct ARegionType * type
struct ButsTextureUser * user
void(* panelRegister)(struct ARegionType *region_type)
void(* panelRegister)(struct ARegionType *region_type)
void(* panelRegister)(struct ARegionType *region_type)
BLI_bitmap * tab_search_results
char search_string[UI_MAX_NAME_STR]
struct SpaceProperties_Runtime * runtime
struct SpaceLink *(* duplicate)(struct SpaceLink *sl)
void(* keymap)(struct wmKeyConfig *keyconf)
void(* operatortypes)(void)
void(* free)(struct SpaceLink *sl)
struct SpaceLink *(* create)(const struct ScrArea *area, const struct Scene *scene)
void(* listener)(const wmSpaceTypeListenerParams *params)
void(* init)(struct wmWindowManager *wm, struct ScrArea *area)
bContextDataCallback context
void(* id_remap)(struct ScrArea *area, struct SpaceLink *sl, struct ID *old_id, struct ID *new_id)
char name[BKE_ST_MAXNAME]
struct wmKeyConfig * defaultconf
wmEventHandler_Keymap * WM_event_add_keymap_handler(ListBase *handlers, wmKeyMap *keymap)
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
#define WM_msg_subscribe_rna_anon_prop(mbus, type_, prop_, value)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))