2.5: Remove OOPS code from the outliner space, as discussed
[blender-staging.git] / source / blender / makesdna / DNA_outliner_types.h
similarity index 70%
rename from source/blender/makesdna/DNA_oops_types.h
rename to source/blender/makesdna/DNA_outliner_types.h
index 0a6b1a45b1182143640eebb60454c4bdeae6c48d..b19db15d73b618eb6382dc59655974df8f2eaff5 100644 (file)
@@ -1,6 +1,4 @@
 /**
- * blenlib/DNA_oops_types.h (mar-2001 nzc)
- *     
  * $Id$ 
  *
  * ***** BEGIN GPL LICENSE BLOCK *****
  *
  * ***** END GPL LICENSE BLOCK *****
  */
-#ifndef DNA_OOPS_TYPES_H
-#define DNA_OOPS_TYPES_H
-
-#define OOPSX  5.0
-#define OOPSY  1.8
+#ifndef DNA_OUTLINER_TYPES_H
+#define DNA_OUTLINER_TYPES_H
 
 #include "DNA_listBase.h"
 
@@ -48,30 +43,6 @@ typedef struct TreeStore {
        TreeStoreElem *data;
 } TreeStore;
 
-typedef struct Oops {
-       struct Oops *next, *prev;
-       short type, flag, dt, hide;
-       float x, y;             /* left - bottom */
-       float dx, dy;   /* shuffle */
-       struct ID *id;
-       ListBase link;
-} Oops;
-
-#
-#
-typedef struct OopsLink {
-       struct OopsLink *next, *prev;
-       short type, flag;
-       struct ID **idfrom;
-       Oops *to, *from;        /* from is for temp */
-       float xof, yof;
-       char name[12];
-} OopsLink;
-
-/* oops->flag  (1==SELECT) */
-#define OOPS_DOSELECT  2
-#define OOPS_REFER             4
-
 /* TreeStoreElem->flag */
 #define TSE_CLOSED             1
 #define TSE_SELECTED   2