- associated .h file change for previous commit (bug #152).

plus added a warning in screen_types.h. Some wierd person
  thinks ENUM is nice? It's dangerous! ;-)
This commit is contained in:
Ton Roosendaal 2003-06-27 15:29:36 +00:00
parent 6a3f419142
commit 1323315937
2 changed files with 3 additions and 1 deletions

@ -128,6 +128,8 @@ typedef struct ScrArea {
#define B_SCROLL 8
#define HOR_SCROLL 12
/* dunno who thought this below is nice code, but be warned, the values are written in
a file, and cannot be switched or altered. enum here is out of focus (ton) */
enum {
SPACE_EMPTY,
SPACE_VIEW3D,

@ -197,7 +197,7 @@ typedef struct SpaceImage {
typedef struct SpaceNla{
struct SpaceLink *next, *prev;
int spacetype;
int lock;
short menunr, lock;
struct ScrArea *area;
View2D v2d;