diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-19 21:12:16 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-19 21:12:16 +0400 |
commit | f1979f45ec3fdfdc1e0faa807ee8c5595dd6b82e (patch) | |
tree | 1e7175a88938a446f01ec0928948111c046c4bca /source/blender/makesdna | |
parent | adff6aeb1c749183921c0facd373972bbeb874b4 (diff) |
RNA:
* Wrapped HeaderType/Header.
* Some tweaks to get type properties wrapped with less code.
* Made Panel space and region types enum instead of string.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index 981d4aa4bb2..d131bfc2081 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -39,6 +39,7 @@ struct SpaceLink; struct ARegion; struct ARegionType; struct PanelType; +struct HeaderType; struct Scene; struct uiLayout; struct wmTimer; @@ -104,6 +105,11 @@ typedef struct Panel { /* the part from uiBlock that needs saved in file */ void *activedata; /* runtime for panel manipulation */ } Panel; +typedef struct Header { + struct HeaderType *type; /* runtime */ + struct uiLayout *layout; /* runtime for drawing */ +} Header; + typedef struct ScrArea { struct ScrArea *next, *prev; |