~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

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,v 1.26 2004/01/13 14:50:42 phase Exp $
 
4
 *      $Id: DNA_userdef_types.h,v 1.42 2005/06/11 16:30:36 jesterking Exp $
5
5
 *
6
6
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
7
7
 *
63
63
 
64
64
} ThemeUI;
65
65
 
66
 
// try to put them all in one, if needed a spacial struct can be created as well
 
66
// try to put them all in one, if needed a special struct can be created as well
67
67
// for example later on, when we introduce wire colors for ob types or so...
68
68
typedef struct ThemeSpace {
69
69
        char back[4];
82
82
        char active[4], transform[4];
83
83
        char vertex[4], vertex_select[4];
84
84
        char edge[4], edge_select[4];
85
 
        char face[4], face_select[4];
 
85
        char edge_seam[4], edge_facesel[4];
 
86
        char face[4], face_select[4];   // solid faces
 
87
        char face_dot[4];       // selected color
 
88
        char normal[4];
86
89
        
87
 
        char vertex_size, pad;
88
 
        short pad1;
 
90
        char vertex_size, facedot_size;
 
91
        char bpad[2];
 
92
 
 
93
        char syntaxl[4], syntaxn[4], syntaxb[4]; //syn-
 
94
        char syntaxv[4], syntaxc[4];             //tax
89
95
        
90
96
} ThemeSpace;
91
97
 
109
115
        ThemeSpace timasel;
110
116
        ThemeSpace text;
111
117
        ThemeSpace toops;
 
118
        ThemeSpace ttime;
112
119
        
113
120
} bTheme;
114
121
 
134
141
        int gameflags;
135
142
        int wheellinescroll;
136
143
        short uiflag, language;
137
 
        int userpref;
 
144
        short userpref, viewzoom;
138
145
        short console_buffer;   //console vars here for tuhopuu compat, --phase
139
146
        short console_out;
140
147
        int mixbufsize;
148
155
        short curssize;
149
156
        short tb_leftmouse, tb_rightmouse;
150
157
        struct SolidLight light[3];
 
158
        short tw_hotspot, tw_flag, tw_handlesize, tw_size;
151
159
} UserDef;
152
160
 
153
161
extern UserDef U; /* from usiblender.c !!!! */
169
177
#define USER_TOOLTIPS                   2048
170
178
#define USER_TWOBUTTONMOUSE             4096
171
179
#define USER_NONUMPAD                   8192
 
180
#define USER_LMOUSESELECT               16384
 
181
 
 
182
/* viewzom */
 
183
#define USER_ZOOM_CONT                  0
 
184
#define USER_ZOOM_SCALE                 1
 
185
#define USER_ZOOM_DOLLY                 2
172
186
 
173
187
/* uiflag */
174
188
 
182
196
#define USER_FLIPFULLSCREEN             128
183
197
#define USER_ALLWINCODECS               256
184
198
#define USER_MENUOPENAUTO               512
 
199
#define USER_PANELPINNED                1024
 
200
#define USER_AUTOPERSP                  2048
 
201
#define USER_LOCKAROUND         4096
 
202
#define USER_GLOBALUNDO         8192
185
203
 
186
204
/* transopts */
187
205
 
191
209
#define USER_TR_FILESELECT              8
192
210
#define USER_TR_TEXTEDIT                16
193
211
#define USER_DOTRANSLATE                32
 
212
#define USER_USETEXTUREFONT             64
194
213
 
195
214
/* dupflag */
196
215
 
219
238
#define USER_VRML_AUTOSCALE             2
220
239
#define USER_VRML_TWOSIDED              4
221
240
 
 
241
/* tw_flag (transform widget) */
 
242
 
 
243
 
222
244
#endif
223
245