~ubuntu-branches/ubuntu/maverick/blender/maverick

« back to all changes in this revision

Viewing changes to source/blender/makesdna/DNA_userdef_types.h

  • Committer: Bazaar Package Importer
  • Author(s): Khashayar Naderehvandi, Khashayar Naderehvandi, Alessio Treglia
  • Date: 2009-01-22 16:53:59 UTC
  • mfrom: (14.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090122165359-v0996tn7fbit64ni
Tags: 2.48a+dfsg-1ubuntu1
[ Khashayar Naderehvandi ]
* Merge from debian experimental (LP: #320045), Ubuntu remaining changes:
  - Add patch correcting header file locations.
  - Add libvorbis-dev and libgsm1-dev to Build-Depends.
  - Use avcodec_decode_audio2() in source/blender/src/hddaudio.c

[ Alessio Treglia ]
* Add missing previous changelog entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * blenkernel/DNA_userdef_types.h (mar-2001 nzc)
3
3
 *
4
 
 *      $Id: DNA_userdef_types.h 14722 2008-05-07 15:38:40Z campbellbarton $
 
4
 *      $Id: DNA_userdef_types.h 16987 2008-10-08 23:42:00Z aligorith $
5
5
 *
6
6
 * ***** BEGIN GPL LICENSE BLOCK *****
7
7
 *
101
101
        char movie[4], image[4], scene[4], audio[4];            // for sequence editor
102
102
        char effect[4], plugin[4], transition[4], meta[4];
103
103
        char editmesh_active[4]; 
 
104
 
 
105
        char handle_vertex[4];
 
106
        char handle_vertex_select[4];
 
107
        char handle_vertex_size;
 
108
        char hpad[7];
104
109
} ThemeSpace;
105
110
 
106
111
 
116
121
 
117
122
/* flags for ThemeWireColor */
118
123
#define TH_WIRECOLOR_CONSTCOLS  (1<<0)
 
124
#define TH_WIRECOLOR_TEXTCOLS   (1<<1)
119
125
 
120
126
/* A theme */
121
127
typedef struct bTheme {
182
188
        char fontname[256];             // FILE_MAXDIR+FILE length
183
189
        struct ListBase themes;
184
190
        short undosteps;
185
 
        short curssize;
 
191
        short undomemory;
 
192
        short gp_manhattendist, gp_euclideandist, gp_eraser;
 
193
        short gp_settings;
186
194
        short tb_leftmouse, tb_rightmouse;
187
195
        struct SolidLight light[3];
188
196
        short tw_hotspot, tw_flag, tw_handlesize, tw_size;
198
206
        short smooth_viewtx;    /* miliseconds to spend spinning the view */
199
207
        short glreslimit;
200
208
        short ndof_pan, ndof_rotate;
201
 
        short pads[2];
 
209
        short curssize, pad;
202
210
//      char pad[8];
203
211
        char versemaster[160];
204
212
        char verseuser[160];
261
269
#define USER_GLOBALUNDO         (1 << 13)
262
270
#define USER_ORBIT_SELECTION    (1 << 14)
263
271
// old flag for #define USER_KEYINSERTAVAI              (1 << 15)
 
272
#define USER_ORBIT_ZBUF                 (1 << 15)
264
273
#define USER_HIDE_DOT                   (1 << 16)
265
274
#define USER_SHOW_ROTVIEWICON   (1 << 17)
266
275
#define USER_SHOW_VIEWPORTNAME  (1 << 18)
281
290
#define         AUTOKEY_FLAG_INSERTNEEDED       (1<<1)
282
291
#define         AUTOKEY_FLAG_AUTOMATKEY         (1<<2)
283
292
 
284
 
/* Auto-Keying macros */
285
 
#define IS_AUTOKEY_ON                   (U.autokey_mode & AUTOKEY_ON)
286
 
#define IS_AUTOKEY_MODE(mode)   (U.autokey_mode == AUTOKEY_MODE_##mode)
287
 
#define IS_AUTOKEY_FLAG(flag)   (U.autokey_flag == AUTOKEY_FLAG_##flag)
288
293
 
289
294
/* transopts */
290
295
#define USER_TR_TOOLTIPS                (1 << 0)
310
315
#define USER_DUP_ACT                    (1 << 10)
311
316
 
312
317
/* gameflags */
313
 
#define USER_VERTEX_ARRAYS              1
 
318
#define USER_DEPRECATED_FLAG    1
314
319
#define USER_DISABLE_SOUND              2
315
320
#define USER_DISABLE_MIPMAP             4
316
321
 
321
326
 
322
327
/* tw_flag (transform widget) */
323
328
 
 
329
/* gp_settings (Grease Pencil Settings) */
 
330
#define GP_PAINT_DOSMOOTH               (1<<0)
 
331
#define GP_PAINT_DOSIMPLIFY             (1<<1)
 
332
 
324
333
 
325
334
#endif