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>2007-12-24 21:53:37 +0300
committerTon Roosendaal <ton@blender.org>2007-12-24 21:53:37 +0300
commit463cf8e3328bf8a00117567a59343a90ec17ee3d (patch)
tree90a8725de1d8dd5e15d48247d9001d67beb345fd /source/blender/makesdna/DNA_screen_types.h
parentc79966be52e251cc7b1028ea4d3012b44eb6a8af (diff)
Part 4 of the event refactor branch: all changes in existing files,
Makefiles especially, and of course the windowmanager DNA!
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h32
1 files changed, 22 insertions, 10 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 65374983af5..7b34ee2482d 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -3,15 +3,12 @@
*
* $Id$
*
- * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
+ * ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version. The Blender
- * Foundation also sells licenses for use in proprietary software under
- * the Blender License. See http://www.blender.org/BL/ for information
- * about this.
+ * of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -25,11 +22,10 @@
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*
- * The Original Code is: all of this file.
+ *
+ * Contributor(s): Blender Foundation
*
- * Contributor(s): none yet.
- *
- * ***** END GPL/BL DUAL LICENSE BLOCK *****
+ * ***** END GPL LICENSE BLOCK *****
*/
#ifndef DNA_SCREEN_TYPES_H
#define DNA_SCREEN_TYPES_H
@@ -44,14 +40,17 @@ struct Scene;
typedef struct bScreen {
ID id;
+
ListBase vertbase, edgebase, areabase;
struct Scene *scene;
short startx, endx, starty, endy; /* framebuffer coords */
short sizex, sizey;
short scenenr, screennr; /* only for pupmenu */
- short full, pad;
+ short full, winid; /* win id from WM, starts with 1 */
short mainwin, winakt;
short handler[8]; /* similar to space handler now */
+
+ ListBase handlers;
} bScreen;
typedef struct ScrVert {
@@ -82,6 +81,7 @@ typedef unsigned short dna_ushort_fix;
typedef struct Panel { /* the part from uiBlock that needs saved in file */
struct Panel *next, *prev;
+
char panelname[64], tabname[64]; /* defined as UI_MAX_NAME_STR */
char drawname[64]; /* panelname is identifier for restoring location */
short ofsx, ofsy, sizex, sizey;
@@ -95,6 +95,7 @@ typedef struct Panel { /* the part from uiBlock that needs saved in file */
typedef struct ScrArea {
struct ScrArea *next, *prev;
+
ScrVert *v1, *v2, *v3, *v4;
bScreen *full; /* if area==full, this is the parent */
float winmat[4][4];
@@ -115,8 +116,19 @@ typedef struct ScrArea {
ListBase spacedata;
ListBase uiblocks;
ListBase panels;
+ ListBase regionbase;
+ ListBase handlers;
} ScrArea;
+typedef struct ARegion {
+ struct ARegion *next, *prev;
+
+ rcti winrct;
+
+ ListBase handlers;
+
+} ARegion;
+
#define MAXWIN 128
/* area->flag */