~ubuntu-branches/ubuntu/utopic/blender/utopic-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-04-28 12:11:12 UTC
  • mto: (14.1.6 experimental) (1.5.1)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: package-import@ubuntu.com-20120428121112-2zi0vp8b6vejda8i
Tags: upstream-2.63
ImportĀ upstreamĀ versionĀ 2.63

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 *  \author nzc
32
32
 */
33
33
 
34
 
#ifndef DNA_USERDEF_TYPES_H
35
 
#define DNA_USERDEF_TYPES_H
 
34
#ifndef __DNA_USERDEF_TYPES_H__
 
35
#define __DNA_USERDEF_TYPES_H__
36
36
 
37
37
#include "DNA_listBase.h"
38
38
#include "DNA_texture_types.h" /* ColorBand */
151
151
        uiWidgetColors wcol_regular, wcol_tool, wcol_text;
152
152
        uiWidgetColors wcol_radio, wcol_option, wcol_toggle;
153
153
        uiWidgetColors wcol_num, wcol_numslider;
154
 
        uiWidgetColors wcol_menu, wcol_pulldown, wcol_menu_back, wcol_menu_item;
 
154
        uiWidgetColors wcol_menu, wcol_pulldown, wcol_menu_back, wcol_menu_item, wcol_tooltip;
155
155
        uiWidgetColors wcol_box, wcol_scroll, wcol_progress, wcol_list_item;
156
156
        
157
157
        uiWidgetStateColors wcol_state;
205
205
        char grid[4]; 
206
206
        
207
207
        char wire[4], select[4];
208
 
        char lamp[4], speaker[4], pad2[4];
 
208
        char lamp[4], speaker[4], empty[4],camera[4], pad[8];
209
209
        char active[4], group[4], group_active[4], transform[4];
210
210
        char vertex[4], vertex_select[4];
211
211
        char edge[4], edge_select[4];
236
236
        char syntaxl[4], syntaxn[4], syntaxb[4]; // syntax for textwindow and nodes
237
237
        char syntaxv[4], syntaxc[4];
238
238
        
239
 
        char movie[4], image[4], scene[4], audio[4];            // for sequence editor
 
239
        char movie[4], movieclip[4], image[4], scene[4], audio[4];              // for sequence editor
240
240
        char effect[4], plugin[4], transition[4], meta[4];
241
241
        char editmesh_active[4]; 
242
242
 
422
422
 
423
423
        int compute_device_type;
424
424
        int compute_device_id;
 
425
        
 
426
        float fcu_inactive_alpha;       /* opacity of inactive F-Curves in F-Curve Editor */
 
427
        float pad;
425
428
} UserDef;
426
429
 
427
430
extern UserDef U; /* from blenkernel blender.c */
510
513
#define USER_SPLASH_DISABLE             (1 << 27)
511
514
#define USER_HIDE_RECENT                (1 << 28)
512
515
#define USER_SHOW_THUMBNAILS    (1 << 29)
 
516
#define USER_QUIT_PROMPT                (1 << 30)
513
517
 
514
518
/* Auto-Keying mode */
515
519
        /* AUTOKEY_ON is a bitflag */
617
621
#define NDOF_SHOULD_ZOOM    (1 << 4)
618
622
#define NDOF_SHOULD_ROTATE  (1 << 5)
619
623
/* orbit navigation modes
620
 
 * only two options, so it's sort of a hyrbrid bool/enum
 
624
 * only two options, so it's sort of a hybrid bool/enum
621
625
 * if ((U.ndof_flag & NDOF_ORBIT_MODE) == NDOF_OM_OBJECT)... */
622
 
/*
623
 
#define NDOF_ORBIT_MODE     (1 << 6)
624
 
#define NDOF_OM_TARGETCAMERA 0
625
 
#define NDOF_OM_OBJECT      NDOF_ORBIT_MODE
626
 
*/
 
626
 
 
627
// #define NDOF_ORBIT_MODE     (1 << 6)
 
628
// #define NDOF_OM_TARGETCAMERA 0
 
629
// #define NDOF_OM_OBJECT      NDOF_ORBIT_MODE
 
630
 
627
631
/* actually... users probably don't care about what the mode
628
632
 * is called, just that it feels right */
629
633
/* zoom is up/down if this flag is set (otherwise forward/backward) */