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:
authorTon Roosendaal <ton@blender.org>2003-10-05 17:19:08 +0400
committerTon Roosendaal <ton@blender.org>2003-10-05 17:19:08 +0400
commit336afad8d63961575a00f9034e6936fb4d8dd1e1 (patch)
tree8a11b38f6ec3d431f78e46ca715efdf6f53a1e27 /source/blender/makesdna
parente33e4addeb49dbdd52ba3cc541ada814b58d510c (diff)
- added little original feature to panels: TABS! :)
while dragging you can merge panels, or while dragging on a tab you can unmerge them.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 96bf31d9530..c90acd929a0 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -82,6 +82,8 @@ typedef unsigned short dna_ushort_fix;
/* panel->flag */
#define PNL_SELECT 1
#define PNL_CLOSED 2
+#define PNL_TABBED 4
+#define PNL_OVERLAP 8
typedef struct Panel { /* the part from uiBlock that needs saved in file */
struct Panel *next, *prev;
@@ -89,6 +91,7 @@ typedef struct Panel { /* the part from uiBlock that needs saved in file */
short ofsx, ofsy, sizex, sizey;
short flag, pad;
int pad2;
+ struct Panel *paneltab; /* this panel is tabbed in *paneltab */
} Panel;
typedef struct ScrArea {