5339a255dbcbd4fcc7603dd58d00021949ae3911
[blender-staging.git] / source / blender / editors / include / UI_resources.h
1 /**
2  * $Id: UI_resources.h 13057 2007-12-30 12:08:28Z aligorith $
3  *
4  * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version. The Blender
10  * Foundation also sells licenses for use in proprietary software under
11  * the Blender License.  See http://www.blender.org/BL/ for information
12  * about this.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software Foundation,
21  * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22  *
23  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
24  * All rights reserved.
25  *
26  * The Original Code is: all of this file.
27  *
28  * Contributor(s): none yet.
29  * 
30  * ***** END GPL/BL DUAL LICENSE BLOCK *****
31  */
32
33 #ifndef UI_RESOURCES_H
34 #define UI_RESOURCES_H
35
36 /* elubie: TODO: move the typedef for icons to UI_interface_icons.h */
37 /* and add/replace include of UI_resources.h by UI_interface_icons.h */
38
39 typedef enum {
40 #define BIFICONID_FIRST         (ICON_BLENDER)
41         /* ui */
42         ICON_BLENDER,
43         ICON_QUESTION,
44         ICON_ERROR,
45         ICON_BLANK1,    // XXX this is used lots, it's not actually 'blank'
46         ICON_TRIA_RIGHT,
47         ICON_TRIA_DOWN,
48         ICON_TRIA_LEFT,
49         ICON_TRIA_UP,
50         ICON_ARROW_LEFTRIGHT,
51         ICON_PLUS,
52         ICON_DISCLOSURE_TRI_DOWN,
53         ICON_DISCLOSURE_TRI_RIGHT,
54         ICON_RADIOBUT_OFF,
55         ICON_RADIOBUT_ON,
56         ICON_MENU_PANEL,
57         ICON_PYTHON,
58         ICON_BLANK003,
59         ICON_DOT,
60         ICON_BLANK004,
61         ICON_X,
62         ICON_BLANK005,
63         ICON_GO_LEFT,
64         ICON_BLANK006,
65         ICON_BLANK007,
66         ICON_BLANK008,
67         ICON_BLANK008b,
68         
69         /* ui */
70         ICON_FULLSCREEN,
71         ICON_SPLITSCREEN,
72         ICON_RIGHTARROW_THIN,
73         ICON_BORDERMOVE,
74         ICON_VIEWZOOM,
75         ICON_ZOOMIN,
76         ICON_ZOOMOUT,
77         ICON_PANEL_CLOSE,
78         ICON_BLANK009,
79         ICON_EYEDROPPER,
80         ICON_BLANK010,
81         ICON_AUTO,
82         ICON_CHECKBOX_DEHLT,
83         ICON_CHECKBOX_HLT,
84         ICON_UNLOCKED,
85         ICON_LOCKED,
86         ICON_BLANK013,
87         ICON_BLANK014,
88         ICON_BLANK015,
89         ICON_RIGHTARROW,
90         ICON_DOWNARROW_HLT,
91         ICON_DOTSUP,
92         ICON_DOTSDOWN,
93         ICON_LINK,
94         ICON_INLINK,
95         ICON_BLANK012b,
96         
97         /* various ui */        
98         ICON_HELP,
99         ICON_GHOSTDRAW,
100         ICON_COLOR,
101         ICON_LINKED,
102         ICON_UNLINKED,
103         ICON_HAND,
104         ICON_ZOOM_ALL,
105         ICON_ZOOM_SELECTED,
106         ICON_ZOOM_PREVIOUS,
107         ICON_ZOOM_IN,
108         ICON_ZOOM_OUT,
109         ICON_RENDER_REGION,
110         ICON_BORDER_RECT,
111         ICON_BORDER_LASSO,
112         ICON_FREEZE,
113         ICON_BLANK031,
114         ICON_BLANK032,
115         ICON_BLANK033,
116         ICON_BLANK034,
117         ICON_BLANK035,
118         ICON_BLANK036,
119         ICON_BLANK037,
120         ICON_BLANK038,
121         ICON_BLANK039,
122         ICON_BLANK040,
123         ICON_BLANK040b,
124         
125         /* BUTTONS */
126         ICON_LAMP,
127         ICON_MATERIAL,
128         ICON_TEXTURE,
129         ICON_ANIM,
130         ICON_WORLD,
131         ICON_SCENE,
132         ICON_EDIT,
133         ICON_GAME,
134         ICON_RADIO,
135         ICON_SCRIPT,
136         ICON_PARTICLES,
137         ICON_PHYSICS,
138         ICON_SPEAKER,
139         ICON_BLANK041,
140         ICON_BLANK042,
141         ICON_BLANK043,
142         ICON_BLANK044,
143         ICON_BLANK045,
144         ICON_BLANK046,
145         ICON_BLANK047,
146         ICON_BLANK048,
147         ICON_BLANK049,
148         ICON_BLANK050,
149         ICON_BLANK051,
150         ICON_BLANK052,
151         ICON_BLANK052b,
152         
153         /* EDITORS */
154         ICON_VIEW3D,
155         ICON_IPO,
156         ICON_OOPS,
157         ICON_BUTS,
158         ICON_FILESEL,
159         ICON_IMAGE_COL,
160         ICON_INFO,
161         ICON_SEQUENCE,
162         ICON_TEXT,
163         ICON_IMASEL,
164         ICON_SOUND,
165         ICON_ACTION,
166         ICON_NLA,
167         ICON_SCRIPTWIN,
168         ICON_TIME,
169         ICON_NODE,
170         ICON_BLANK053,
171         ICON_BLANK054,
172         ICON_BLANK055,
173         ICON_BLANK056,
174         ICON_BLANK057,
175         ICON_BLANK058,
176         ICON_BLANK059,
177         ICON_BLANK060,
178         ICON_BLANK061,
179         ICON_BLANK061b,
180         
181         /* MODES */
182         ICON_OBJECT_DATAMODE,   // XXX fix this up
183         ICON_EDITMODE_HLT,
184         ICON_FACESEL_HLT,
185         ICON_VPAINT_HLT,
186         ICON_TPAINT_HLT,
187         ICON_WPAINT_HLT,
188         ICON_SCULPTMODE_HLT,
189         ICON_POSE_HLT,
190         ICON_PARTICLEMODE,
191         ICON_BLANK062,
192         ICON_BLANK063,
193         ICON_BLANK064,
194         ICON_BLANK065,
195         ICON_BLANK066,
196         ICON_BLANK067,
197         ICON_BLANK068,
198         ICON_BLANK069,
199         ICON_BLANK070,
200         ICON_BLANK071,
201         ICON_BLANK072,
202         ICON_BLANK073,
203         ICON_BLANK074,
204         ICON_BLANK075,
205         ICON_BLANK076,
206         ICON_BLANK077,
207         ICON_BLANK077b,
208         
209         /* DATA */
210         ICON_SCENE_DATA,
211         ICON_RENDERLAYERS,
212         ICON_WORLD_DATA,
213         ICON_OBJECT_DATA,
214         ICON_MESH_DATA,
215         ICON_CURVE_DATA,
216         ICON_META_DATA,
217         ICON_LATTICE_DATA,
218         ICON_LAMP_DATA,
219         ICON_MATERIAL_DATA,
220         ICON_TEXTURE_DATA,
221         ICON_ANIM_DATA,
222         ICON_CAMERA_DATA,
223         ICON_PARTICLE_DATA,
224         ICON_LIBRARY_DATA_DIRECT,
225         ICON_GROUP,
226         ICON_ARMATURE_DATA,
227         ICON_POSE_DATA,
228         ICON_BONE_DATA,
229         ICON_CONSTRAINT,
230         ICON_SHAPEKEY_DATA,
231         ICON_BLANK079a,
232         ICON_BLANK079,
233         ICON_PACKAGE,
234         ICON_UGLYPACKAGE,
235         ICON_BLANK079b,
236         
237         /* DATA */
238         ICON_BRUSH_DATA,
239         ICON_IMAGE_DATA,
240         ICON_FILE,
241         ICON_FCURVE,
242         ICON_FONT_DATA,
243         ICON_RENDER_RESULT,
244         ICON_SURFACE_DATA,
245         ICON_EMPTY_DATA,
246         ICON_SETTINGS,
247         ICON_BLANK080D,
248         ICON_BLANK080E,
249         ICON_BLANK080F,
250         ICON_BLANK080,
251         ICON_STRANDS,
252         ICON_LIBRARY_DATA_INDIRECT,
253         ICON_BLANK082,
254         ICON_BLANK083,
255         ICON_BLANK084,
256         ICON_GROUP_BONE,
257         ICON_GROUP_VERTEX,
258         ICON_GROUP_VCOL,
259         ICON_GROUP_UVS,
260         ICON_BLANK089,
261         ICON_BLANK090,
262         ICON_RNA,
263         ICON_BLANK090b,
264         
265         /* available */
266         ICON_BLANK092,
267         ICON_BLANK093,
268         ICON_BLANK094,
269         ICON_BLANK095,
270         ICON_BLANK096,
271         ICON_BLANK097,
272         ICON_BLANK098,
273         ICON_BLANK099,
274         ICON_BLANK100,
275         ICON_BLANK101,
276         ICON_BLANK102,
277         ICON_BLANK103,
278         ICON_BLANK104,
279         ICON_BLANK105,
280         ICON_BLANK106,
281         ICON_BLANK107,
282         ICON_BLANK108,
283         ICON_BLANK109,
284         ICON_BLANK110,
285         ICON_BLANK111,
286         ICON_BLANK112,
287         ICON_BLANK113,
288         ICON_BLANK114,
289         ICON_BLANK115,
290         ICON_BLANK116,
291         ICON_BLANK116b,
292         
293         /* OUTLINER */
294         ICON_OUTLINER_OB_EMPTY,
295         ICON_OUTLINER_OB_MESH,
296         ICON_OUTLINER_OB_CURVE,
297         ICON_OUTLINER_OB_LATTICE,
298         ICON_OUTLINER_OB_META,
299         ICON_OUTLINER_OB_LAMP,
300         ICON_OUTLINER_OB_CAMERA,
301         ICON_OUTLINER_OB_ARMATURE,
302         ICON_OUTLINER_OB_FONT,
303         ICON_OUTLINER_OB_SURFACE,
304         ICON_BLANK119,
305         ICON_BLANK120,
306         ICON_BLANK121,
307         ICON_BLANK122,
308         ICON_BLANK123,
309         ICON_BLANK124,
310         ICON_BLANK125,
311         ICON_BLANK126,
312         ICON_BLANK127,
313         ICON_RESTRICT_VIEW_OFF,
314         ICON_RESTRICT_VIEW_ON,
315         ICON_RESTRICT_SELECT_OFF,
316         ICON_RESTRICT_SELECT_ON,
317         ICON_RESTRICT_RENDER_OFF,
318         ICON_RESTRICT_RENDER_ON,
319         ICON_BLANK127b,
320         
321         /* OUTLINER */
322         ICON_OUTLINER_DATA_EMPTY,
323         ICON_OUTLINER_DATA_MESH,
324         ICON_OUTLINER_DATA_CURVE,
325         ICON_OUTLINER_DATA_LATTICE,
326         ICON_OUTLINER_DATA_META,
327         ICON_OUTLINER_DATA_LAMP,
328         ICON_OUTLINER_DATA_CAMERA,
329         ICON_OUTLINER_DATA_ARMATURE,
330         ICON_OUTLINER_DATA_FONT,
331         ICON_OUTLINER_DATA_SURFACE,
332         ICON_OUTLINER_DATA_POSE,
333         ICON_BLANK129,
334         ICON_BLANK130,
335         ICON_BLANK131,
336         ICON_BLANK132,
337         ICON_BLANK133,
338         ICON_BLANK134,
339         ICON_BLANK135,
340         ICON_BLANK136,
341         ICON_BLANK137,
342         ICON_BLANK138,
343         ICON_BLANK139,
344         ICON_BLANK140,
345         ICON_BLANK141,
346         ICON_BLANK142,
347         ICON_BLANK142b,
348         
349         /* PRIMITIVES */
350         ICON_MESH_PLANE,
351         ICON_MESH_CUBE,
352         ICON_MESH_CIRCLE,
353         ICON_MESH_UVSPHERE,
354         ICON_MESH_ICOSPHERE,
355         ICON_MESH_GRID,
356         ICON_MESH_MONKEY,
357         ICON_MESH_TUBE,
358         ICON_MESH_DONUT,
359         ICON_MESH_CONE,
360         ICON_BLANK610,
361         ICON_BLANK611,
362         ICON_LAMP_POINT,
363         ICON_LAMP_SUN,
364         ICON_LAMP_SPOT,
365         ICON_LAMP_HEMI,
366         ICON_LAMP_AREA,
367         ICON_BLANK617,
368         ICON_BLANK618,
369         ICON_BLANK619,
370         ICON_META_PLANE,
371         ICON_META_CUBE,
372         ICON_META_BALL,
373         ICON_META_ELLIPSOID,
374         ICON_META_TUBE,
375         ICON_BLANK625,
376         
377         /* PRIMITIVES */
378         ICON_SURFACE_NCURVE,
379         ICON_SURFACE_NCIRCLE,
380         ICON_SURFACE_NSURFACE,
381         ICON_SURFACE_NTUBE,
382         ICON_SURFACE_NSPHERE,
383         ICON_SURFACE_NDONUT,
384         ICON_BLANK636,
385         ICON_BLANK637,
386         ICON_BLANK638,
387         ICON_CURVE_BEZCURVE,
388         ICON_CURVE_BEZCIRCLE,
389         ICON_CURVE_NCURVE,
390         ICON_CURVE_NCIRCLE,
391         ICON_CURVE_PATH,
392         ICON_BLANK644,
393         ICON_BLANK645,
394         ICON_BLANK646,
395         ICON_BLANK647,
396         ICON_BLANK648,
397         ICON_BLANK649,
398         ICON_BLANK650,
399         ICON_BLANK651,
400         ICON_BLANK652,
401         ICON_BLANK653,
402         ICON_BLANK654,
403         ICON_BLANK655,
404         
405         /* EMPTY */
406         ICON_BLANK660,
407         ICON_BLANK661,
408         ICON_BLANK662,
409         ICON_BLANK663,
410         ICON_BLANK664,
411         ICON_BLANK665,
412         ICON_BLANK666,
413         ICON_BLANK667,
414         ICON_BLANK668,
415         ICON_BLANK669,
416         ICON_BLANK670,
417         ICON_BLANK671,
418         ICON_BLANK672,
419         ICON_BLANK673,
420         ICON_BLANK674,
421         ICON_BLANK675,
422         ICON_BLANK676,
423         ICON_BLANK677,
424         ICON_BLANK678,
425         ICON_BLANK679,
426         ICON_BLANK680,
427         ICON_BLANK681,
428         ICON_BLANK682,
429         ICON_BLANK683,
430         ICON_BLANK684,
431         ICON_BLANK685,
432         
433         /* EMPTY */
434         ICON_BLANK690,
435         ICON_BLANK691,
436         ICON_BLANK692,
437         ICON_BLANK693,
438         ICON_BLANK694,
439         ICON_BLANK695,
440         ICON_BLANK696,
441         ICON_BLANK697,
442         ICON_BLANK698,
443         ICON_BLANK699,
444         ICON_BLANK700,
445         ICON_BLANK701,
446         ICON_BLANK702,
447         ICON_BLANK703,
448         ICON_BLANK704,
449         ICON_BLANK705,
450         ICON_BLANK706,
451         ICON_BLANK707,
452         ICON_BLANK708,
453         ICON_BLANK709,
454         ICON_BLANK710,
455         ICON_BLANK711,
456         ICON_BLANK712,
457         ICON_BLANK713,
458         ICON_BLANK714,
459         ICON_BLANK715,
460         
461         /* EMPTY */
462         ICON_BLANK720,
463         ICON_BLANK721,
464         ICON_BLANK722,
465         ICON_BLANK733,
466         ICON_BLANK734,
467         ICON_BLANK735,
468         ICON_BLANK736,
469         ICON_BLANK737,
470         ICON_BLANK738,
471         ICON_BLANK739,
472         ICON_BLANK740,
473         ICON_BLANK741,
474         ICON_BLANK742,
475         ICON_BLANK743,
476         ICON_BLANK744,
477         ICON_BLANK745,
478         ICON_BLANK746,
479         ICON_BLANK747,
480         ICON_BLANK748,
481         ICON_BLANK749,
482         ICON_BLANK750,
483         ICON_BLANK751,
484         ICON_BLANK752,
485         ICON_BLANK753,
486         ICON_BLANK754,
487         ICON_BLANK755,
488
489         /* EMPTY */
490         ICON_BLANK760,
491         ICON_BLANK761,
492         ICON_BLANK762,
493         ICON_BLANK763,
494         ICON_BLANK764,
495         ICON_BLANK765,
496         ICON_BLANK766,
497         ICON_BLANK767,
498         ICON_BLANK768,
499         ICON_BLANK769,
500         ICON_BLANK770,
501         ICON_BLANK771,
502         ICON_BLANK772,
503         ICON_BLANK773,
504         ICON_BLANK774,
505         ICON_BLANK775,
506         ICON_BLANK776,
507         ICON_BLANK777,
508         ICON_BLANK778,
509         ICON_BLANK779,
510         ICON_BLANK780,
511         ICON_BLANK781,
512         ICON_BLANK782,
513         ICON_BLANK783,
514         ICON_BLANK784,
515         ICON_BLANK785,
516         
517         /* MODIFIERS */
518         ICON_MODIFIER,
519         ICON_MOD_WAVE,
520         ICON_MOD_BUILD,
521         ICON_MOD_DECIM,
522         ICON_MOD_MIRROR,
523         ICON_MOD_SOFT,
524         ICON_MOD_SUBSURF,
525         ICON_HOOK,
526         ICON_MOD_PHYSICS,
527         ICON_MOD_PARTICLES,
528         ICON_MOD_BOOLEAN,
529         ICON_MOD_EDGESPLIT,
530         ICON_MOD_ARRAY,
531         ICON_MOD_UVPROJECT,
532         ICON_MOD_DISPLACE,
533         ICON_MOD_CURVE,
534         ICON_MOD_LATTICE,
535         ICON_BLANK143,
536         ICON_MOD_ARMATURE,
537         ICON_MOD_SHRINKWRAP,
538         ICON_MOD_CAST,
539         ICON_MOD_MESHDEFORM,
540         ICON_MOD_BEVEL,
541         ICON_MOD_SMOOTH,
542         ICON_MOD_SIMPLEDEFORM,
543         ICON_MOD_MASK,
544         
545         /* MODIFIERS */
546         ICON_MOD_CLOTH,
547         ICON_MOD_EXPLODE,
548         ICON_MOD_FLUIDSIM,
549         ICON_MOD_MULTIRES,
550         ICON_BLANK157,
551         ICON_BLANK158,
552         ICON_BLANK159,
553         ICON_BLANK160,
554         ICON_BLANK161,
555         ICON_BLANK162,
556         ICON_BLANK163,
557         ICON_BLANK164,
558         ICON_BLANK165,
559         ICON_BLANK166,
560         ICON_BLANK167,
561         ICON_BLANK168,
562         ICON_BLANK169,
563         ICON_BLANK170,
564         ICON_BLANK171,
565         ICON_BLANK172,
566         ICON_BLANK173,
567         ICON_BLANK174,
568         ICON_BLANK175,
569         ICON_BLANK176,
570         ICON_BLANK177,
571         ICON_BLANK177b,
572         
573         /* ANIMATION */
574         ICON_REC,
575         ICON_PLAY,
576         ICON_FF,
577         ICON_REW,
578         ICON_PAUSE,
579         ICON_PREV_KEYFRAME,
580         ICON_NEXT_KEYFRAME,
581         ICON_PLAY_AUDIO,
582         ICON_BLANK178,
583         ICON_BLANK179,
584         ICON_BLANK180,
585         ICON_PMARKER_ACT,
586         ICON_PMARKER_SEL,
587         ICON_PMARKER,
588         ICON_MARKER_HLT,
589         ICON_MARKER,
590         ICON_SPACE2,    // XXX
591         ICON_SPACE3,    // XXX
592         ICON_BLANK181,
593         ICON_KEY_DEHLT,
594         ICON_KEY_HLT,
595         ICON_MUTE_IPO_OFF,
596         ICON_MUTE_IPO_ON,
597         ICON_BLANK182,
598         ICON_BLANK183,
599         ICON_BLANK183b,
600         
601         /* available */
602         ICON_BLANK184,
603         ICON_BLANK185,
604         ICON_BLANK186,
605         ICON_BLANK187,
606         ICON_BLANK188,
607         ICON_BLANK189,
608         ICON_BLANK190,
609         ICON_BLANK191,
610         ICON_BLANK192,
611         ICON_BLANK193,
612         ICON_BLANK194,
613         ICON_BLANK195,
614         ICON_BLANK196,
615         ICON_BLANK197,
616         ICON_BLANK198,
617         ICON_BLANK199,
618         ICON_BLANK200,
619         ICON_BLANK201,
620         ICON_BLANK202,
621         ICON_BLANK203,
622         ICON_BLANK204,
623         ICON_BLANK205,
624         ICON_BLANK206,
625         ICON_BLANK207,
626         ICON_BLANK208,
627         ICON_BLANK208b,
628         
629         /* EDITING */
630         ICON_VERTEXSEL,
631         ICON_EDGESEL,
632         ICON_FACESEL,
633         ICON_LINKEDSEL,
634         ICON_BLANK210,
635         ICON_ROTATE,
636         ICON_CURSOR,
637         ICON_ROTATECOLLECTION,
638         ICON_ROTATECENTER,
639         ICON_ROTACTIVE,
640         ICON_ALIGN,
641         ICON_BLANK211,
642         ICON_SMOOTHCURVE,
643         ICON_SPHERECURVE,
644         ICON_ROOTCURVE,
645         ICON_SHARPCURVE,
646         ICON_LINCURVE,
647         ICON_NOCURVE,
648         ICON_RNDCURVE,
649         ICON_PROP_OFF,
650         ICON_PROP_ON,
651         ICON_PROP_CON,
652         ICON_BLANK212,
653         ICON_BLANK213,
654         ICON_BLANK214,
655         ICON_BLANK214b,
656         
657         /* EDITING */
658         ICON_MAN_TRANS,
659         ICON_MAN_ROT,
660         ICON_MAN_SCALE,
661         ICON_MANIPUL,
662         ICON_BLANK215,
663         ICON_SNAP_GEAR,
664         ICON_SNAP_GEO,
665         ICON_SNAP_NORMAL,
666         ICON_SNAP_VERTEX,
667         ICON_SNAP_EDGE,
668         ICON_SNAP_FACE,
669         ICON_SNAP_VOLUME,
670         ICON_STICKY_UVS_LOC,
671         ICON_STICKY_UVS_DISABLE,
672         ICON_STICKY_UVS_VERT,
673         ICON_CLIPUV_DEHLT,
674         ICON_CLIPUV_HLT,
675         ICON_BLANK219,
676         ICON_SNAP_PEEL_OBJECT,
677         ICON_BLANK221,
678         ICON_GRID,
679         ICON_GEARS,
680         ICON_BLANK224,
681         ICON_BLANK225,
682         ICON_BLANK226,
683         ICON_BLANK226b,
684         
685         /* EDITING */
686         ICON_PASTEDOWN,
687         ICON_COPYDOWN,
688         ICON_PASTEFLIPUP,
689         ICON_PASTEFLIPDOWN,
690         ICON_BLANK227,
691         ICON_BLANK228,
692         ICON_BLANK229,
693         ICON_BLANK230,
694         ICON_BLANK231,
695         ICON_BLANK232,
696         ICON_BLANK233,
697         ICON_BLANK234,
698         ICON_BLANK235,
699         ICON_BLANK236,
700         ICON_BLANK237,
701         ICON_BLANK238,
702         ICON_BLANK239,
703         ICON_BLANK240,
704         ICON_BLANK241,
705         ICON_BLANK242,
706         ICON_BLANK243,
707         ICON_BLANK244,
708         ICON_BLANK245,
709         ICON_BLANK246,
710         ICON_BLANK247,
711         ICON_BLANK247b,
712         
713         /* 3D VIEW */
714         ICON_BBOX,
715         ICON_WIRE,
716         ICON_SOLID,
717         ICON_SMOOTH,
718         ICON_POTATO,
719         ICON_BLANK248,
720         ICON_ORTHO,
721         ICON_BLANK249,
722         ICON_CAMERA,
723         ICON_LOCKVIEW_OFF,
724         ICON_LOCKVIEW_ON,
725         ICON_BLANK250,
726         ICON_AXIS_SIDE,
727         ICON_AXIS_FRONT,
728         ICON_AXIS_TOP,
729         ICON_NDOF_DOM,
730         ICON_NDOF_TURN,
731         ICON_NDOF_FLY,
732         ICON_NDOF_TRANS,
733         ICON_LAYER_USED,
734         ICON_LAYER_ACTIVE,
735         ICON_BLANK254,
736         ICON_BLANK255,
737         ICON_BLANK256,
738         ICON_BLANK257,
739         ICON_BLANK257b,
740         
741         /* available */
742         ICON_BLANK258,
743         ICON_BLANK259,
744         ICON_BLANK260,
745         ICON_BLANK261,
746         ICON_BLANK262,
747         ICON_BLANK263,
748         ICON_BLANK264,
749         ICON_BLANK265,
750         ICON_BLANK266,
751         ICON_BLANK267,
752         ICON_BLANK268,
753         ICON_BLANK269,
754         ICON_BLANK270,
755         ICON_BLANK271,
756         ICON_BLANK272,
757         ICON_BLANK273,
758         ICON_BLANK274,
759         ICON_BLANK275,
760         ICON_BLANK276,
761         ICON_BLANK277,
762         ICON_BLANK278,
763         ICON_BLANK279,
764         ICON_BLANK280,
765         ICON_BLANK281,
766         ICON_BLANK282,
767         ICON_BLANK282b,
768         
769         /* FILE SELECT */
770         ICON_SORTALPHA,
771         ICON_SORTBYEXT,
772         ICON_SORTTIME,
773         ICON_SORTSIZE,
774         ICON_LONGDISPLAY,
775         ICON_SHORTDISPLAY,
776         ICON_GHOST,
777         ICON_IMGDISPLAY,
778         ICON_BLANK284,
779         ICON_BLANK285,
780         ICON_BOOKMARKS,
781         ICON_FONTPREVIEW,
782         ICON_FILTER,
783         ICON_NEWFOLDER,
784         ICON_BLANK285F,
785         ICON_FILE_PARENT,
786         ICON_FILE_REFRESH,
787         ICON_FILE_FOLDER,
788         ICON_FILE_BLANK,
789         ICON_FILE_BLEND,
790         ICON_FILE_IMAGE,
791         ICON_FILE_MOVIE,
792         ICON_FILE_SCRIPT,
793         ICON_FILE_SOUND,
794         ICON_FILE_FONT,
795         ICON_BLANK291b,
796
797         /* available */
798         ICON_BLANK292,
799         ICON_BLANK293,
800         ICON_BLANK294,
801         ICON_BLANK295,
802         ICON_BLANK296,
803         ICON_BLANK297,
804         ICON_BLANK298,
805         ICON_BLANK299,
806         ICON_BLANK300,
807         ICON_BLANK301,
808         ICON_BLANK302,
809         ICON_BLANK303,
810         ICON_BLANK304,
811         ICON_BLANK305,
812         ICON_BLANK306,
813         ICON_BLANK307,
814         ICON_BLANK308,
815         ICON_BLANK309,
816         ICON_BLANK310,
817         ICON_BLANK311,
818         ICON_BLANK312,
819         ICON_BLANK313,
820         ICON_BLANK314,
821         ICON_BLANK315,
822         ICON_BLANK316,
823         ICON_DISK_DRIVE,
824         
825         /* SHADING / TEXT */
826         ICON_MATPLANE,
827         ICON_MATSPHERE,
828         ICON_MATCUBE,
829         ICON_MONKEY,
830         ICON_HAIR,
831         ICON_RING,
832         ICON_BLANK317,
833         ICON_BLANK318,
834         ICON_BLANK319,
835         ICON_BLANK320,
836         ICON_BLANK321,
837         ICON_BLANK322,
838         ICON_WORDWRAP_OFF,
839         ICON_WORDWRAP_ON,
840         ICON_SYNTAX_OFF,
841         ICON_SYNTAX_ON,
842         ICON_LINENUMBERS_OFF,
843         ICON_LINENUMBERS_ON,
844         ICON_SCRIPTPLUGINS,             // XXX CREATE NEW
845         ICON_BLANK323,
846         ICON_BLANK324,
847         ICON_BLANK325,
848         ICON_BLANK326,
849         ICON_BLANK327,
850         ICON_BLANK328,
851         ICON_BLANK328b,
852         
853         /* SEQUENCE / IMAGE EDITOR */
854         ICON_SEQ_SEQUENCER,
855         ICON_SEQ_PREVIEW,
856         ICON_SEQ_LUMA_WAVEFORM,
857         ICON_SEQ_CHROMA_SCOPE,
858         ICON_SEQ_HISTOGRAM,
859         ICON_BLANK330,
860         ICON_BLANK331,
861         ICON_BLANK332,
862         ICON_BLANK333,
863         ICON_IMAGE_RGB, // XXX CHANGE TO STRAIGHT ALPHA, Z ETC
864         ICON_IMAGE_RGB_ALPHA,
865         ICON_IMAGE_ALPHA,
866         ICON_IMAGE_ZDEPTH,
867         ICON_IMAGEFILE,
868         ICON_BLANK336,
869         ICON_BLANK337,
870         ICON_BLANK338,
871         ICON_BLANK339,
872         ICON_BLANK340,
873         ICON_BLANK341,
874         ICON_BLANK342,
875         ICON_BLANK343,
876         ICON_BLANK344,
877         ICON_BLANK345,
878         ICON_BLANK346,
879         ICON_BLANK346b,
880         
881         /* vector icons */
882         
883         VICON_VIEW3D,
884         VICON_EDIT,
885         VICON_EDITMODE_DEHLT,
886         VICON_EDITMODE_HLT,
887         VICON_DISCLOSURE_TRI_RIGHT,
888         VICON_DISCLOSURE_TRI_DOWN,
889         VICON_MOVE_UP,
890         VICON_MOVE_DOWN,
891         VICON_X
892
893 #define BIFICONID_LAST          (VICON_X)
894 #define BIFNICONIDS                     (BIFICONID_LAST-BIFICONID_FIRST + 1)
895 } BIFIconID;
896
897
898 typedef enum {
899 #define BIFCOLORSHADE_FIRST     (COLORSHADE_DARK)
900         COLORSHADE_DARK,
901         COLORSHADE_GREY,
902         COLORSHADE_MEDIUM,
903         COLORSHADE_HILITE,
904         COLORSHADE_LIGHT,
905         COLORSHADE_WHITE
906 #define BIFCOLORSHADE_LAST      (COLORSHADE_WHITE)
907 #define BIFNCOLORSHADES         (BIFCOLORSHADE_LAST-BIFCOLORSHADE_FIRST + 1)
908 } BIFColorShade;
909
910 typedef enum {
911 #define BIFCOLORID_FIRST        (BUTGREY)
912         BUTGREY = 0,
913         BUTGREEN,
914         BUTBLUE,
915         BUTSALMON,
916         MIDGREY,
917         BUTPURPLE,
918         BUTYELLOW,
919         REDALERT,
920         BUTRUST,
921         BUTWHITE,
922         BUTDBLUE,
923         BUTPINK,
924         BUTDPINK,
925         BUTMACTIVE,
926
927         BUTIPO,
928         BUTAUDIO,
929         BUTCAMERA,
930         BUTRANDOM,
931         BUTEDITOBJECT,
932         BUTPROPERTY,
933         BUTSCENE,
934         BUTMOTION,
935         BUTMESSAGE,
936         BUTACTION,
937         BUTCD,
938         BUTGAME,
939         BUTVISIBILITY,
940         BUTYUCK,
941         BUTSEASICK,
942         BUTCHOKE,
943         BUTIMPERIAL,
944
945         BUTTEXTCOLOR,
946         BUTTEXTPRESSED,
947         BUTSBACKGROUND,
948         
949         VIEWPORTBACKCOLOR,
950         VIEWPORTGRIDCOLOR,
951         VIEWPORTACTIVECOLOR,
952         VIEWPORTSELECTEDCOLOR,
953         VIEWPORTUNSELCOLOR,
954         
955         EDITVERTSEL, 
956         EDITVERTUNSEL, 
957         EDITEDGESEL, 
958         EDITEDGEUNSEL
959         
960 #define BIFCOLORID_LAST         (EDITEDGEUNSEL)
961 #define BIFNCOLORIDS            (BIFCOLORID_LAST-BIFCOLORID_FIRST + 1)
962
963 } BIFColorID;
964
965 enum {
966         TH_REDALERT,
967
968         TH_THEMEUI,
969 // common colors among spaces
970         
971         TH_BACK,
972         TH_TEXT,
973         TH_TEXT_HI,
974         TH_TITLE,
975         
976         TH_HEADER,
977         TH_HEADERDESEL,
978         TH_HEADER_TEXT,
979         TH_HEADER_TEXT_HI,
980         
981         /* float panels */
982         TH_PANEL,
983         TH_PANEL_TEXT,
984         TH_PANEL_TEXT_HI,
985         
986         TH_BUTBACK,
987         TH_BUTBACK_TEXT,
988         TH_BUTBACK_TEXT_HI,
989         
990         TH_SHADE1,
991         TH_SHADE2,
992         TH_HILITE,
993
994         TH_GRID,
995         TH_WIRE,
996         TH_SELECT,
997         TH_ACTIVE,
998         TH_GROUP,
999         TH_GROUP_ACTIVE,
1000         TH_TRANSFORM,
1001         TH_VERTEX,
1002         TH_VERTEX_SELECT,
1003         TH_VERTEX_SIZE,
1004         TH_EDGE,
1005         TH_EDGE_SELECT,
1006         TH_EDGE_SEAM,
1007         TH_EDGE_FACESEL,
1008         TH_FACE,
1009         TH_FACE_SELECT,
1010         TH_NORMAL,
1011         TH_FACE_DOT,
1012         TH_FACEDOT_SIZE,
1013         TH_CFRAME,
1014
1015         TH_SYNTAX_B,
1016         TH_SYNTAX_V,
1017         TH_SYNTAX_C,
1018         TH_SYNTAX_L,
1019         TH_SYNTAX_N,
1020         
1021         TH_BONE_SOLID,
1022         TH_BONE_POSE,
1023         
1024         TH_STRIP,
1025         TH_STRIP_SELECT,
1026         
1027         TH_LAMP,
1028         
1029         TH_NODE,
1030         TH_NODE_IN_OUT,
1031         TH_NODE_OPERATOR,
1032         TH_NODE_CONVERTOR,
1033         TH_NODE_GROUP,
1034         
1035         TH_SEQ_MOVIE,
1036         TH_SEQ_IMAGE,
1037         TH_SEQ_SCENE,
1038         TH_SEQ_AUDIO,
1039         TH_SEQ_EFFECT,
1040         TH_SEQ_PLUGIN,
1041         TH_SEQ_TRANSITION,
1042         TH_SEQ_META,
1043         
1044         TH_EDGE_SHARP,
1045         TH_EDITMESH_ACTIVE,
1046         
1047         TH_HANDLE_VERTEX,
1048         TH_HANDLE_VERTEX_SELECT,
1049         TH_HANDLE_VERTEX_SIZE,
1050         
1051         TH_DOPESHEET_CHANNELOB,
1052         TH_DOPESHEET_CHANNELSUBOB,
1053 };
1054 /* XXX WARNING: previous is saved in file, so do not change order! */
1055
1056 /* specific defines per space should have higher define values */
1057
1058 struct bTheme;
1059 struct PointerRNA;
1060
1061 // THE CODERS API FOR THEMES:
1062
1063 // sets the color
1064 void    UI_ThemeColor(int colorid);
1065
1066 // sets the color plus alpha
1067 void    UI_ThemeColor4(int colorid);
1068
1069 // sets color plus offset for shade
1070 void    UI_ThemeColorShade(int colorid, int offset);
1071
1072 // sets color plus offset for alpha
1073 void    UI_ThemeColorShadeAlpha(int colorid, int coloffset, int alphaoffset);
1074
1075 // sets color, which is blend between two theme colors
1076 void    UI_ThemeColorBlend(int colorid1, int colorid2, float fac);
1077 // same, with shade offset
1078 void    UI_ThemeColorBlendShade(int colorid1, int colorid2, float fac, int offset);
1079 void    UI_ThemeColorBlendShadeAlpha(int colorid1, int colorid2, float fac, int offset, int alphaoffset);
1080
1081 // returns one value, not scaled
1082 float   UI_GetThemeValuef(int colorid);
1083 int     UI_GetThemeValue(int colorid);
1084
1085 // get three color values, scaled to 0.0-1.0 range
1086 void    UI_GetThemeColor3fv(int colorid, float *col);
1087
1088 // get the 3 or 4 byte values
1089 void    UI_GetThemeColor3ubv(int colorid, char *col);
1090 void    UI_GetThemeColor4ubv(int colorid, char *col);
1091
1092 // get a theme color from specified space type
1093 void    UI_GetThemeColorType4ubv(int colorid, int spacetype, char *col);
1094
1095 // blends and shades between two color pointers
1096 void    UI_ColorPtrBlendShade3ubv(char *cp1, char *cp2, float fac, int offset);
1097
1098 // get a 3 byte color, blended and shaded between two other char color pointers
1099 void    UI_GetColorPtrBlendShade3ubv(char *cp1, char *cp2, char *col, float fac, int offset);
1100
1101 // internal (blender) usage only, for init and set active
1102 void    UI_SetTheme(int spacetype, int regionid);
1103
1104 /* only for buttons in theme editor! */
1105 char    *UI_ThemeGetColorPtr(struct bTheme *btheme, int spacetype, int colorid);
1106 char    *UI_ThemeColorsPup(int spacetype);
1107
1108 void UI_make_axis_color(char *src_col, char *dst_col, char axis);
1109
1110 #endif /*  UI_ICONS_H */