162 context_tabs_array[
length] = -1;
187 context_tabs_array[
length] = -1;
194 context_tabs_array[
length] = -1;
238 context_tabs_array[
length] = -1;
285 return "bone_constraint";
351 const short *context_tabs_array,
359 int current_tab_index = 0;
360 for (
int i = 0; i < tabs_len; i++) {
361 if (sbuts->
mainb == context_tabs_array[i]) {
362 current_tab_index = i;
368 for (
int i = current_tab_index; i < tabs_len; i++) {
370 sbuts->
mainbuser = context_tabs_array[i];
376 for (
int i = 0; i < current_tab_index; i++) {
378 sbuts->
mainbuser = context_tabs_array[i];
387 const short *context_tabs_array,
393 ScrArea area_copy = *area_original;
410 for (
int i = 0; i < tabs_len; i++) {
412 if (context_tabs_array[i] == -1) {
417 if (context_tabs_array[i] == sbuts->
mainb) {
454 bool current_tab_has_search_match =
false;
457 current_tab_has_search_match =
true;
462 int current_tab_index = -1;
463 for (
int i = 0; i < tabs_len; i++) {
464 if (context_tabs_array[i] == sbuts->
mainb) {
465 current_tab_index = i;
475 if (!current_tab_has_search_match) {
633 if (sbuts->
mainb == buttons) {
842 #ifdef WITH_FREESTYLE
857 const struct IDRemapper *mappings)
868 for (
int i = 0; i < path->
len; i++) {
875 memset(&path->
ptr[i], 0,
sizeof(path->
ptr[i]) * (path->
len - i));
884 memset(&path->
ptr[i], 0,
sizeof(path->
ptr[i]) * (path->
len - i));
896 if (path->
len == 0) {
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)
@ ID_REMAP_RESULT_SOURCE_REMAPPED
@ ID_REMAP_RESULT_SOURCE_UNASSIGNED
@ ID_REMAP_RESULT_SOURCE_NOT_MAPPABLE
@ ID_REMAP_RESULT_SOURCE_UNAVAILABLE
IDRemapperApplyResult BKE_id_remapper_apply(const struct IDRemapper *id_remapper, struct ID **r_id_ptr, IDRemapperApplyOptions options)
const ModifierTypeInfo * BKE_modifier_get_info(ModifierType type)
@ PANEL_TYPE_LAYOUT_VERT_BAR
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)
const ShaderFxTypeInfo * BKE_shaderfx_get_info(ShaderFxType type)
#define BLI_BITMAP_NEW(_num, _alloc_string)
#define BLI_BITMAP_TEST(_bitmap, _index)
#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, size_t maxlen) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, 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 ARegion *region)
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
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])
T length(const vec_base< T, Size > &a)
static const pxr::TfToken st("st", pxr::TfToken::Immortal)
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 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 *))