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:
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h8
-rw-r--r--source/blender/makesdna/DNA_space_types.h10
2 files changed, 18 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 93110d148bf..c275def5414 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -687,6 +687,14 @@ enum {
/** When the user sets the region is hidden,
* needed for floating regions that may be hidden for other reasons. */
RGN_FLAG_HIDDEN_BY_USER = (1 << 7),
+ /** Property search filter is active. */
+ RGN_FLAG_SEARCH_FILTER_ACTIVE = (1 << 8),
+ /**
+ * Update the expansion of the region's panels and switch contexts. Only Set
+ * temporarily when the search filter is updated and cleared at the end of the
+ * region's layout pass. so that expansion is still interactive,
+ */
+ RGN_FLAG_SEARCH_FILTER_UPDATE = (1 << 9),
};
/** #ARegion.do_draw */
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 06ab01a9730..22045a97826 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -129,6 +129,13 @@ typedef enum eSpaceInfo_RptMask {
/** \name Properties Editor
* \{ */
+#
+#
+typedef struct SpaceProperties_Runtime {
+ /** For filtering properties displayed in the space. Length defined as UI_MAX_NAME_STR. */
+ char search_string[128];
+} SpaceProperties_Runtime;
+
/* Properties Editor */
typedef struct SpaceProperties {
SpaceLink *next, *prev;
@@ -159,6 +166,9 @@ typedef struct SpaceProperties {
ID *pinid;
void *texuser;
+
+ /* Doesn't necessarily need to be a pointer, but runtime structs are still written to files. */
+ SpaceProperties_Runtime *runtime;
} SpaceProperties;
/* button defines (deprecated) */