Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-07-23 18:01:59 +0300
committerHans Goudey <h.goudey@me.com>2020-07-23 18:01:59 +0300
commit6f3c37a3ff83222bf8d2de8a888b63bdfb70c079 (patch)
treefbe0c1c39c4db74fd4df48130cb46ff53d1df42b /source/blender/editors/include/ED_buttons.h
parentc9975d19b5fa0811ce27fe1804192ee229c6dbad (diff)
UI: Move properties tab list creation from RNA to editor
This is a change I pulled from the property-search-ui branch, where I have to use the list of tabs to search the inactive tabs and it makes more sense to use the array directly. It is also an improvement to have this fundamental code to the properties editor in the editor code rather than an RNA callback. There are no functional changes. Differential Revision: https://developer.blender.org/D8368
Diffstat (limited to 'source/blender/editors/include/ED_buttons.h')
-rw-r--r--source/blender/editors/include/ED_buttons.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_buttons.h b/source/blender/editors/include/ED_buttons.h
index 2eaef5e82e0..455eee8580d 100644
--- a/source/blender/editors/include/ED_buttons.h
+++ b/source/blender/editors/include/ED_buttons.h
@@ -27,6 +27,10 @@
extern "C" {
#endif
+struct SpaceProperties;
+
+int ED_buttons_tabs_list(struct SpaceProperties *sbuts, int *context_tabs_array);
+
#ifdef __cplusplus
}
#endif