29
25
* ***** END GPL LICENSE BLOCK *****
31
#ifndef DNA_SPACE_TYPES_H
32
#define DNA_SPACE_TYPES_H
27
/** \file DNA_space_types.h
33
#ifndef __DNA_SPACE_TYPES_H__
34
#define __DNA_SPACE_TYPES_H__
34
37
#include "DNA_listBase.h"
35
38
#include "DNA_color_types.h" /* for Histogram */
36
39
#include "DNA_vec_types.h"
37
40
#include "DNA_outliner_types.h" /* for TreeStoreElem */
38
41
#include "DNA_image_types.h" /* ImageUser */
42
#include "DNA_movieclip_types.h" /* MovieClipUser */
39
43
/* Hum ... Not really nice... but needed for spacebuts. */
40
44
#include "DNA_view2d_types.h"
71
78
struct SpaceLink *next, *prev;
72
79
ListBase regionbase; /* storage of regions for inactive spaces */
74
float blockscale; /* XXX depricate this */
75
short blockhandler[8]; /* XXX depricate this */
81
float blockscale DNA_DEPRECATED; /* XXX make deprecated */
82
short blockhandler[8] DNA_DEPRECATED; /* XXX make deprecated */
78
85
typedef struct SpaceInfo {
79
86
SpaceLink *next, *prev;
80
87
ListBase regionbase; /* storage of regions for inactive spaces */
89
float blockscale DNA_DEPRECATED;
84
short blockhandler[8]; /* XXX depricate this */
91
short blockhandler[8] DNA_DEPRECATED; /* XXX make deprecated */
86
struct bScreen *screen; /* browse screen */
87
struct Scene *scene; /* browse scene */
98
/* SpaceInfo.rpt_mask */
100
INFO_RPT_DEBUG = 1<<0,
101
INFO_RPT_INFO = 1<<1,
103
INFO_RPT_WARN = 1<<3,
91
107
/* 'Graph' Editor (formerly known as the IPO Editor) */
92
108
typedef struct SpaceIpo {
93
109
SpaceLink *next, *prev;
94
110
ListBase regionbase; /* storage of regions for inactive spaces */
112
float blockscale DNA_DEPRECATED;
98
short blockhandler[8];
99
View2D v2d; /* deprecated, copied to region */
114
short blockhandler[8] DNA_DEPRECATED;
115
View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
101
117
struct bDopeSheet *ads; /* settings for filtering animation data (NOTE: we use a pointer due to code-linking issues) */
114
130
SpaceLink *next, *prev;
115
131
ListBase regionbase; /* storage of regions for inactive spaces */
119
short blockhandler[8];
121
struct RenderInfo *ri;
133
float blockscale DNA_DEPRECATED;
135
short blockhandler[8] DNA_DEPRECATED;
123
View2D v2d; /* deprecated, copied to region */
137
View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
125
139
short mainb, mainbo, mainbuser; /* context tabs */
126
140
short re_align, align; /* align for panels */
127
141
short preview; /* preview is signal to refresh */
142
short texture_context; /* texture context selector (material, world, brush)*/
130
145
void *path; /* runtime */
131
146
int pathflag, dataicon; /* runtime */
135
152
typedef struct SpaceSeq {
136
153
SpaceLink *next, *prev;
137
154
ListBase regionbase; /* storage of regions for inactive spaces */
141
short blockhandler[8];
143
View2D v2d; /* deprecated, copied to region */
156
float blockscale DNA_DEPRECATED;
158
short blockhandler[8] DNA_DEPRECATED;
160
View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
145
float xof, yof; /* deprecated: offset for drawing the image preview */
162
float xof DNA_DEPRECATED, yof DNA_DEPRECATED; /* deprecated: offset for drawing the image preview */
146
163
short mainb; /* weird name for the sequencer subtype (seq, image, luma... etc) */
147
164
short render_size;
151
float zoom; /* deprecated, handled by View2D now */
168
float zoom DNA_DEPRECATED; /* deprecated, handled by View2D now */
152
169
int view; /* see SEQ_VIEW_* below */
158
175
typedef struct FileSelectParams {
159
char title[24]; /* title, also used for the text of the execute button */
160
char dir[240]; /* directory */
161
char file[80]; /* file */
176
char title[32]; /* title, also used for the text of the execute button */
177
char dir[1056]; /* directory, FILE_MAX_LIBEXTRA, 1024 + 32, this is for extreme case when 1023 length path
178
* needs to be linked in, where foo.blend/Armature need adding */
179
char file[256]; /* file */
180
char renamefile[256];
181
char renameedit[256]; /* annoying but the first is only used for initialization */
183
char filter_glob[64]; /* list of filetypes to filter */
164
190
short type; /* XXXXX for now store type here, should be moved to the operator */
165
191
short flag; /* settings for filter, hiding dots files,... */
166
192
short sort; /* sort order */
167
193
short display; /* display mode flag */
168
194
short filter; /* filter when (flags & FILE_FILTER) is true */
170
/* XXX - temporary, better move to filelist */
171
short active_bookmark;
177
196
/* XXX --- still unused -- */
178
197
short f_fp; /* show font preview */
180
198
char fp_str[8]; /* string to use for font preview */
182
200
/* XXX --- end unused -- */
197
215
ListBase *folders_next; /* holds the list of next directories (pushed from previous) to show */
199
217
/* operator that is invoking fileselect
200
op->exec() will be called on the 'Load' button.
201
if operator provides op->cancel(), then this will be invoked
202
on the cancel button.
218
* op->exec() will be called on the 'Load' button.
219
* if operator provides op->cancel(), then this will be invoked
220
* on the cancel button.
204
222
struct wmOperator *op;
206
224
struct wmTimer *smoothscroll_timer;
237
254
ListBase regionbase; /* storage of regions for inactive spaces */
241
short blockhandler[8];
243
259
struct Image *image;
244
260
struct ImageUser iuser;
261
struct CurveMapping *cumap;
246
struct CurveMapping *cumap;
247
short menunr, imanr, pad2;
263
struct Scopes scopes; /* histogram waveform and vectorscope */
264
struct Histogram sample_line_hist; /* sample line histogram */
266
struct bGPdata *gpd; /* grease pencil data */
268
float cursor[2]; /* UV editor 2d cursor */
269
float xof, yof; /* user defined offset, image is centered */
270
float zoom; /* user defined zoom level */
271
float centx, centy; /* storage for offset while render drawing */
248
273
short curtile; /* the currently active tile of the image when tile is enabled, is kept in sync with the active faces tile */
250
short imtypenr, lock;
252
277
char dt_uv; /* UV draw type */
253
278
char sticky; /* sticky selection type */
254
279
char dt_uvstretch;
256
float cursor[2]; /* UV editor 2d cursor */
258
float xof, yof; /* user defined offset, image is centered */
259
float zoom, pad4; /* user defined zoom level */
260
float centx, centy; /* storage for offset while render drawing */
262
struct bGPdata *gpd; /* grease pencil data */
264
struct Scopes scopes; /* histogram waveform and vectorscope */
266
struct Histogram sample_line_hist; /* sample line histogram */
270
283
typedef struct SpaceNla {
271
284
struct SpaceLink *next, *prev;
272
285
ListBase regionbase; /* storage of regions for inactive spaces */
287
float blockscale DNA_DEPRECATED;
276
short blockhandler[8];
289
short blockhandler[8] DNA_DEPRECATED;
278
291
short autosnap; /* this uses the same settings as autosnap for Action Editor */
282
295
struct bDopeSheet *ads;
283
View2D v2d; /* deprecated, copied to region */
296
View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
286
299
typedef struct SpaceText {
287
300
SpaceLink *next, *prev;
288
301
ListBase regionbase; /* storage of regions for inactive spaces */
303
float blockscale DNA_DEPRECATED;
292
short blockhandler[8];
305
short blockhandler[8] DNA_DEPRECATED;
294
307
struct Text *text;
325
344
void *py_globaldict;
327
346
int flags, lastspace;
328
char scriptname[256]; /* store the script file here so we can re-run it on loading blender, if "Enable Scripts" is on */
347
/* store the script file here so we can re-run it on loading blender, if "Enable Scripts" is on */
348
char scriptname[1024]; /* 1024 = FILE_MAX */
349
char scriptarg[256]; /* 1024 = FILE_MAX */
331
#define SCRIPT_SET_NULL(_script) _script->py_draw = _script->py_event = _script->py_button = _script->py_browsercallback = _script->py_globaldict = NULL; _script->flags = 0;
332
#define SCRIPT_RUNNING 0x01
333
#define SCRIPT_GUI 0x02
334
#define SCRIPT_FILESEL 0x04
351
#define SCRIPT_SET_NULL(_script) _script->py_draw = _script->py_event = _script->py_button = _script->py_browsercallback = _script->py_globaldict = NULL; _script->flags = 0
336
353
typedef struct SpaceScript {
337
354
SpaceLink *next, *prev;
338
355
ListBase regionbase; /* storage of regions for inactive spaces */
357
float blockscale DNA_DEPRECATED;
341
358
struct Script *script;
343
360
short flags, menunr;
366
# /* Only store the data array in the cache to avoid constant reallocation. */
367
# /* No need to store when saved. */
349
368
typedef struct SpaceTimeCache {
350
369
struct SpaceTimeCache *next, *prev;
356
int startframe, endframe;
358
371
} SpaceTimeCache;
360
373
typedef struct SpaceTime {
361
374
SpaceLink *next, *prev;
362
375
ListBase regionbase; /* storage of regions for inactive spaces */
366
View2D v2d; /* deprecated, copied to region */
377
float blockscale DNA_DEPRECATED;
379
View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
369
int cache_display, pad;
375
387
typedef struct SpaceNode {
376
388
SpaceLink *next, *prev;
377
389
ListBase regionbase; /* storage of regions for inactive spaces */
381
short blockhandler[8];
383
View2D v2d; /* deprecated, copied to region */
391
float blockscale DNA_DEPRECATED;
393
short blockhandler[8] DNA_DEPRECATED;
395
View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */
385
397
struct ID *id, *from; /* context, no need to save in file? well... pinning... */
386
short flag, menunr; /* menunr: browse id block in header */
398
short flag, pad1; /* menunr: browse id block in header */
390
401
float xof, yof; /* offset for drawing the backdrop */
391
402
float zoom, padf; /* zoom for backdrop */
392
403
float mx, my; /* mousepos for drawing socketless link */
394
405
struct bNodeTree *nodetree, *edittree;
395
int treetype; /* treetype: as same nodetree->type */
396
short texfrom, pad; /* texfrom object, world or brush */
406
int treetype; /* treetype: as same nodetree->type */
407
short texfrom; /* texfrom object, world or brush */
408
short shaderfrom; /* shader from object or world */
409
short recalc; /* currently on 0/1, for auto compo */
411
ListBase linkdrag; /* temporary data for modal linking operator */
398
413
struct bGPdata *gpd; /* grease-pencil data */
401
416
/* snode->flag */
402
417
#define SNODE_BACKDRAW 2
403
418
#define SNODE_DISPGP 4
419
#define SNODE_USE_ALPHA 8
420
#define SNODE_SHOW_ALPHA 16
421
#define SNODE_AUTO_RENDER 32
405
423
/* snode->texfrom */
406
424
#define SNODE_TEX_OBJECT 0
407
425
#define SNODE_TEX_WORLD 1
408
426
#define SNODE_TEX_BRUSH 2
428
/* snode->shaderfrom */
429
#define SNODE_SHADER_OBJECT 0
430
#define SNODE_SHADER_WORLD 1
410
432
typedef struct SpaceLogic {
411
433
SpaceLink *next, *prev;
412
434
ListBase regionbase; /* storage of regions for inactive spaces */
436
float blockscale DNA_DEPRECATED;
416
short blockhandler[8];
438
short blockhandler[8] DNA_DEPRECATED;
418
440
short flag, scaflag;
421
443
struct bGPdata *gpd; /* grease-pencil data */
425
typedef struct SpaceImaSel {
426
SpaceLink *next, *prev;
427
ListBase regionbase; /* storage of regions for inactive spaces */
431
short blockhandler[8];
433
View2D v2d; /* deprecated, copied to region */
435
struct FileList *files;
437
/* specific stuff for drawing */
442
short type, menu, flag, sort;
452
struct rcti viewrect;
453
struct rcti bookmarkrect;
455
float scrollpos; /* current position of scrollhandle */
456
float scrollheight; /* height of the scrollhandle */
457
float scrollarea; /* scroll region, scrollpos is from 0 to scrollarea */
460
unsigned short retval; /* event */
465
short active_bookmark;
472
/* one day we'll add unions to dna */
473
void (*returnfunc)(char *);
474
void (*returnfunc_event)(unsigned short);
475
void (*returnfunc_args)(char *, void *, void *);
478
short *menup; /* pointer to menu result or ID browsing */
479
char *pupmenu; /* optional menu in header */
485
446
typedef struct ConsoleLine {
486
447
struct ConsoleLine *next, *prev;
502
463
CONSOLE_LINE_ERROR
505
/* SpaceConsole.rpt_mask */
507
CONSOLE_TYPE_PYTHON=0,
511
/* SpaceConsole.type see BKE_report.h */
513
CONSOLE_RPT_DEBUG = 1<<0,
514
CONSOLE_RPT_INFO = 1<<1,
515
CONSOLE_RPT_OP = 1<<2,
516
CONSOLE_RPT_WARN = 1<<3,
517
CONSOLE_RPT_ERR = 1<<4,
520
466
typedef struct SpaceConsole {
521
467
SpaceLink *next, *prev;
522
468
ListBase regionbase; /* storage of regions for inactive spaces */
524
float blockscale; // XXX are these needed?
470
float blockscale DNA_DEPRECATED; // XXX are these needed?
526
short blockhandler[8]; // XXX are these needed?
472
short blockhandler[8] DNA_DEPRECATED; // XXX are these needed?
529
int type; /* console/report/..? */
530
int rpt_mask; /* which reports to display */
533
477
ListBase scrollback; /* ConsoleLine; output */
534
478
ListBase history; /* ConsoleLine; command history, current edited line is the first */
497
typedef struct SpaceClip {
498
SpaceLink *next, *prev;
499
ListBase regionbase; /* storage of regions for inactive spaces */
502
float xof, yof; /* user defined offset, image is centered */
503
float xlockof, ylockof; /* user defined offset from locked position */
504
float zoom; /* user defined zoom level */
506
struct MovieClipUser user; /* user of clip */
507
struct MovieClip *clip; /* clip data */
508
struct MovieClipScopes scopes; /* different scoped displayed in space panels */
510
int flag; /* flags */
511
short mode; /* editor mode (editing context being displayed) */
512
short view; /* type of the clip editor view */
514
int path_length; /* length of displaying path, in frames */
516
/* current stabilization data */
517
float loc[2], scale, angle; /* pre-composed stabilization data */
519
float stabmat[4][4], unistabmat[4][4]; /* current stabilization matrix and the same matrix in unified space,
520
* defined when drawing and used for mouse position calculation */
522
/* movie postprocessing */
525
int runtime_flag; /* different runtime flags */
553
528
/* view3d Now in DNA_view3d_types.h */
584
559
#define BUTS_CONSTRAINT 13
585
560
#define BUTS_EFFECTS 14
587
/* sbuts->tab new (deprecated) */
588
#define TAB_SHADING_MAT 0
589
#define TAB_SHADING_TEX 1
590
#define TAB_SHADING_RAD 2
591
#define TAB_SHADING_WORLD 3
592
#define TAB_SHADING_LAMP 4
594
#define TAB_OBJECT_OBJECT 0
595
#define TAB_OBJECT_PHYSICS 1
596
#define TAB_OBJECT_PARTICLE 2
598
#define TAB_SCENE_RENDER 0
599
#define TAB_SCENE_WORLD 1
600
#define TAB_SCENE_ANIM 2
601
#define TAB_SCENE_SOUND 3
602
#define TAB_SCENE_SEQUENCER 4
604
562
/* buts->mainb new */
605
563
#define BCONTEXT_RENDER 0
606
564
#define BCONTEXT_SCENE 1
678
645
#define FILE_OPENFILE 0
679
646
#define FILE_SAVE 1
681
/* sfile->flag and simasel->flag */
682
#define FILE_SHOWSHORT 1
683
#define FILE_RELPATH 2 /* was FILE_STRINGCODE */
685
#define FILE_HIDE_DOT 8
686
#define FILE_AUTOSELECT 16
687
#define FILE_ACTIVELAY 32
688
#define FILE_ATCURSOR 64
689
#define FILE_SYNCPOSE 128
690
#define FILE_FILTER 256
691
#define FILE_BOOKMARKS 512
692
#define FILE_GROUP_INSTANCE 1024
694
/* files in filesel list: 2=ACTIVE */
695
#define EDITING (1<<0)
696
#define ACTIVEFILE (1<<1)
648
/* sfile->params->flag and simasel->flag */
649
#define FILE_SHOWSHORT (1<<0)
650
#define FILE_RELPATH (1<<1) /* was FILE_STRINGCODE */
651
#define FILE_LINK (1<<2)
652
#define FILE_HIDE_DOT (1<<3)
653
#define FILE_AUTOSELECT (1<<4)
654
#define FILE_ACTIVELAY (1<<5)
655
/* #define FILE_ATCURSOR (1<<6) */ /* deprecated */
656
#define FILE_DIRSEL_ONLY (1<<7)
657
#define FILE_FILTER (1<<8)
658
#define FILE_BOOKMARKS (1<<9)
659
#define FILE_GROUP_INSTANCE (1<<10)
662
/* files in filesel list: file types */
697
663
#define BLENDERFILE (1<<2)
698
#define PSXFILE (1<<3)
664
#define BLENDERFILE_BACKUP (1<<3)
699
665
#define IMAGEFILE (1<<4)
700
666
#define MOVIEFILE (1<<5)
701
667
#define PYSCRIPTFILE (1<<6)
706
672
#define FOLDERFILE (1<<11) /* represents folders for filtering */
707
673
#define BTXFILE (1<<12)
708
674
#define COLLADAFILE (1<<13)
675
#define OPERATORFILE (1<<14) /* from filter_glob operator property */
678
/* Selection Flags in filesel: struct direntry, unsigned char selflag */
679
/* #define ACTIVE_FILE (1<<1) */ /* UNUSED */
680
#define HILITED_FILE (1<<2)
681
#define SELECTED_FILE (1<<3)
682
#define EDITING_FILE (1<<4)
710
684
/* SpaceImage->dt_uv */
711
685
#define SI_UVDT_OUTLINE 0
720
694
/* SpaceImage->sticky
721
695
* Note DISABLE should be 0, however would also need to re-arrange icon order,
722
* also, sticky loc is the default mode so this means we dont need to 'do_versons' */
696
* also, sticky loc is the default mode so this means we don't need to 'do_versons' */
723
697
#define SI_STICKY_LOC 0
724
698
#define SI_STICKY_DISABLE 1
725
699
#define SI_STICKY_VERTEX 2
727
701
/* SpaceImage->flag */
728
#define SI_BE_SQUARE 1<<0
729
#define SI_EDITTILE 1<<1
730
#define SI_CLIP_UV 1<<2
731
#define SI_DRAWTOOL 1<<3
732
#define SI_DEPRECATED1 1<<4 /* stick UVs to others in the same location */
733
#define SI_DRAWSHADOW 1<<5
734
#define SI_SELACTFACE 1<<6 /* deprecated */
735
#define SI_DEPRECATED2 1<<7
736
#define SI_DEPRECATED3 1<<8 /* stick UV selection to mesh vertex (UVs wont always be touching) */
737
#define SI_COORDFLOATS 1<<9
738
#define SI_PIXELSNAP 1<<10
739
#define SI_LIVE_UNWRAP 1<<11
740
#define SI_USE_ALPHA 1<<12
741
#define SI_SHOW_ALPHA 1<<13
742
#define SI_SHOW_ZBUF 1<<14
702
#define SI_BE_SQUARE (1<<0)
703
#define SI_EDITTILE (1<<1)
704
#define SI_CLIP_UV (1<<2)
705
#define SI_DRAWTOOL (1<<3)
706
#define SI_NO_DRAWFACES (1<<4)
707
#define SI_DRAWSHADOW (1<<5)
708
/* #define SI_SELACTFACE (1<<6) */ /* deprecated */
709
#define SI_DEPRECATED2 (1<<7)
710
#define SI_DEPRECATED3 (1<<8) /* stick UV selection to mesh vertex (UVs wont always be touching) */
711
#define SI_COORDFLOATS (1<<9)
712
#define SI_PIXELSNAP (1<<10)
713
#define SI_LIVE_UNWRAP (1<<11)
714
#define SI_USE_ALPHA (1<<12)
715
#define SI_SHOW_ALPHA (1<<13)
716
#define SI_SHOW_ZBUF (1<<14)
743
717
/* next two for render window dislay */
744
#define SI_PREVSPACE 1<<15
745
#define SI_FULLWINDOW 1<<16
746
#define SI_DEPRECATED4 1<<17
747
#define SI_DEPRECATED5 1<<18
718
#define SI_PREVSPACE (1<<15)
719
#define SI_FULLWINDOW (1<<16)
720
#define SI_DEPRECATED4 (1<<17)
721
#define SI_DEPRECATED5 (1<<18)
748
722
/* this means that the image is drawn until it reaches the view edge,
749
723
* in the image view, its unrelated to the 'tile' mode for texface */
750
#define SI_DRAW_TILE 1<<19
751
#define SI_SMOOTH_UV 1<<20
752
#define SI_DRAW_STRETCH 1<<21
753
#define SI_DISPGP 1<<22
754
#define SI_DRAW_OTHER 1<<23
724
#define SI_DRAW_TILE (1<<19)
725
#define SI_SMOOTH_UV (1<<20)
726
#define SI_DRAW_STRETCH (1<<21)
727
#define SI_DISPGP (1<<22)
728
#define SI_DRAW_OTHER (1<<23)
756
#define SI_COLOR_CORRECTION 1<<24
730
#define SI_COLOR_CORRECTION (1<<24)
758
732
/* SpaceIpo->flag (Graph Editor Settings) */
759
733
/* OLD DEPRECEATED SETTING */
832
810
/* outliner search flags (SpaceOops->search_flags) */
833
811
#define SO_FIND_CASE_SENSITIVE (1<<0)
834
812
#define SO_FIND_COMPLETE (1<<1)
813
#define SO_SEARCH_RECURSIVE (1<<2)
836
815
/* headerbuttons: 450-499 */
838
817
#define B_IMASELHOME 451
839
818
#define B_IMASELREMOVEBIP 452
841
#define C_BACK 0xBAAAAA
842
#define C_DARK 0x665656
843
#define C_DERK 0x766666
844
#define C_HI 0xCBBBBB
845
#define C_LO 0x544444
848
821
/* flags (1<<0), (1<<1), and (1<<3) are depreceated flags from old blenders */
849
822
/* draw timing in seconds instead of frames */
907
882
#define SEQ_PROXY_RENDER_SIZE_25 25
908
883
#define SEQ_PROXY_RENDER_SIZE_50 50
909
884
#define SEQ_PROXY_RENDER_SIZE_75 75
885
#define SEQ_PROXY_RENDER_SIZE_100 99
910
886
#define SEQ_PROXY_RENDER_SIZE_FULL 100
888
/* SpaceClip->flag */
889
#define SC_SHOW_MARKER_PATTERN (1<<0)
890
#define SC_SHOW_MARKER_SEARCH (1<<1)
891
#define SC_LOCK_SELECTION (1<<2)
892
#define SC_SHOW_TINY_MARKER (1<<3)
893
#define SC_SHOW_TRACK_PATH (1<<4)
894
#define SC_SHOW_BUNDLES (1<<5)
895
#define SC_MUTE_FOOTAGE (1<<6)
896
#define SC_HIDE_DISABLED (1<<7)
897
#define SC_SHOW_NAMES (1<<8)
898
#define SC_SHOW_GRID (1<<9)
899
#define SC_SHOW_STABLE (1<<10)
900
#define SC_MANUAL_CALIBRATION (1<<11)
901
/*#define SC_SHOW_GPENCIL (1<<12)*/ /* UNUSED */
902
#define SC_SHOW_FILTERS (1<<13)
903
#define SC_SHOW_GRAPH_FRAMES (1<<14)
904
#define SC_SHOW_GRAPH_TRACKS (1<<15)
905
/*#define SC_SHOW_PYRAMID_LEVELS (1<<16) */ /* UNUSED */
906
#define SC_LOCK_TIMECURSOR (1<<17)
908
/* SpaceClip->mode */
909
#define SC_MODE_TRACKING 0
910
#define SC_MODE_RECONSTRUCTION 1
911
#define SC_MODE_DISTORTION 2
913
/* SpaceClip->view */
914
#define SC_VIEW_CLIP 0
915
#define SC_VIEW_GRAPH 1
917
/* SpaceClip->runtime_flag */
918
#define SC_GRAPH_BOTTOM (1<<0)
913
920
/* space types, moved from DNA_screen_types.h */
921
/* Do NOT change order, append on end. types are hardcoded needed */