4 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
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
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.
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.
23 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
24 * All rights reserved.
26 * The Original Code is: all of this file.
28 * Contributor(s): none yet.
30 * ***** END GPL/BL DUAL LICENSE BLOCK *****
35 /* all internal calls and event codes for buttons space */
49 #define BUTS_SENS_SEL 1
50 #define BUTS_SENS_ACT 2
51 #define BUTS_SENS_LINK 4
52 #define BUTS_CONT_SEL 8
53 #define BUTS_CONT_ACT 16
54 #define BUTS_CONT_LINK 32
55 #define BUTS_ACT_SEL 64
56 #define BUTS_ACT_ACT 128
57 #define BUTS_ACT_LINK 256
62 extern void render_panels(void);
63 extern void do_render_panels(unsigned short event);
64 extern void anim_panels(void);
65 extern void sound_panels(void);
66 extern void do_soundbuts(unsigned short event);
69 extern void object_panels(void);
70 extern void physics_panels(void);
71 extern void particle_panels(void);
72 extern void do_object_panels(unsigned short event);
73 extern void do_constraintbuts(unsigned short event);
74 extern void object_panel_constraint(char *context);
75 extern void autocomplete_bone(char *str, void *arg_v);
76 extern void autocomplete_vgroup(char *str, void *arg_v);
79 extern void effects_panels(void);
80 extern void do_effects_panels(unsigned short event);
83 extern int mod_moveUp(void *ob_v, void *md_v);
84 extern int mod_moveDown(void *ob_v, void *md_v);
87 extern void const_moveUp(void *ob_v, void *con_v);
88 extern void const_moveDown(void *ob_v, void *con_v);
89 extern void del_constr_func (void *ob_v, void *con_v);
90 extern void get_constraint_ipo_context(void *ob_v, char *actname);
93 extern void editing_panels(void);
94 extern void do_common_editbuts(unsigned short event);
95 extern void do_meshbuts(unsigned short event);
96 extern void do_vgroupbuts(unsigned short event);
97 extern void do_curvebuts(unsigned short event);
98 extern void do_fontbuts(unsigned short event);
99 extern void do_mballbuts(unsigned short event);
100 extern void do_latticebuts(unsigned short event);
101 extern void do_fpaintbuts(unsigned short event);
102 extern void do_cambuts(unsigned short event);
103 extern void do_armbuts(unsigned short event);
104 extern void do_uvcalculationbuts(unsigned short event);
105 extern void weight_paint_buttons(struct uiBlock *);
106 extern void particle_edit_buttons(struct uiBlock *);
108 extern char *get_vertexgroup_menustr(struct Object *ob); // used in object buttons
111 extern void draw_colorband_buts_small(struct uiBlock *block, struct ColorBand *coba, rctf *rct, int event);
112 extern void material_panels(void);
113 extern void do_matbuts(unsigned short event);
114 extern void lamp_panels(void);
115 extern void do_lampbuts(unsigned short event);
116 extern void world_panels(void);
117 extern void do_worldbuts(unsigned short event);
118 extern void radio_panels(void);
119 extern void do_radiobuts(unsigned short event);
120 extern void texture_panels(void);
121 extern void do_texbuts(unsigned short event);
122 void uiblock_image_panel(struct uiBlock *block, struct Image **ima_pp, struct ImageUser *iuser,
123 short redraw, short imagechanged);
124 void uiblock_layer_pass_buttons(struct uiBlock *block, struct RenderResult *rr,
125 struct ImageUser *iuser, int event, int x, int y, int w);
128 extern void do_logic_buts(unsigned short event);
129 extern void logic_buts(void);
132 extern void script_panels(void);
133 extern void do_scriptbuts(unsigned short event);
136 extern void do_ipobuts(unsigned short event); // drawipo.c (bad! ton)
139 void test_meshpoin_but(char *name, struct ID **idpp);
140 void test_obpoin_but(char *name, struct ID **idpp);
141 void test_meshobpoin_but(char *name, struct ID **idpp);
142 void test_scenepoin_but(char *name, struct ID **idpp);
143 void test_matpoin_but(char *name, struct ID **idpp);
144 void test_scriptpoin_but(char *name, struct ID **idpp);
145 void test_actionpoin_but(char *name, ID **idpp);
146 void test_grouppoin_but(char *name, ID **idpp);
147 void test_texpoin_but(char *name, ID **idpp);
148 void test_imapoin_but(char *name, ID **idpp);
150 void test_idbutton_cb(void *namev, void *arg2_unused);
153 void curvemap_buttons(struct uiBlock *block, struct CurveMapping *cumap, char labeltype, short event, short redraw, struct rctf *rect);
155 /* -------------- internal event defines ------------ */
160 /* *********************** */
161 #define B_VIEWBUTS 1100
163 #define B_OBJECTPANELROT 1007
164 #define B_OBJECTPANELMEDIAN 1008
165 #define B_ARMATUREPANEL1 1009
166 #define B_ARMATUREPANEL2 1010
167 #define B_OBJECTPANELPARENT 1011
168 #define B_OBJECTPANEL 1012
169 #define B_ARMATUREPANEL3 1013
170 #define B_OBJECTPANELSCALE 1014
171 #define B_OBJECTPANELDIMS 1015
173 /* *********************** */
174 #define B_LAMPBUTS 1200
176 #define B_LAMPREDRAW 1101
177 #define B_COLLAMP 1102
178 #define B_TEXCLEARLAMP 1103
180 #define B_SHADBUF 1105
181 #define B_SHADRAY 1106
182 #define B_LMTEXPASTE 1107
183 #define B_LMTEXCOPY 1108
184 #define B_LFALLOFFCHANGED 1109
186 /* *********************** */
187 #define B_MATBUTS 1300
189 #define B_MATCOL 1201
190 #define B_SPECCOL 1202
191 #define B_MIRCOL 1203
192 #define B_ACTCOL 1204
193 #define B_MATFROM 1205
194 #define B_MATPRV 1206
195 #define B_LAMPPRV 1207
196 #define B_WORLDPRV 1208
197 #define B_MTEXCOL 1210
198 #define B_TEXCLEAR 1211
199 #define B_MTEXPASTE 1212
200 #define B_MTEXCOPY 1213
201 #define B_MATLAY 1214
202 #define B_MATHALO 1215
203 #define B_MATZTRANSP 1216
204 #define B_MATRAYTRANSP 1217
205 #define B_MATCOLORBAND 1218
206 /* yafray: material preset menu event */
207 #define B_MAT_YF_PRESET 1219
209 #define B_MAT_LAYERBROWSE 1220
210 #define B_MAT_USENODES 1221
211 #define B_MAT_VCOL_PAINT 1222
212 #define B_MAT_VCOL_LIGHT 1223
214 /* world buttons: buttons-preview update, and redraw 3dview */
215 #define B_WORLDPRV2 1224
217 #define B_MAT_PARTICLE 1225
219 /* *********************** */
220 #define B_TEXBUTS 1400
222 #define B_TEXTYPE 1301
223 #define B_DEFTEXVAR 1302
225 #define B_NAMEIMA 1304
226 #define B_TEXCHANNEL 1305
227 #define B_TEXREDR_PRV 1306
228 #define B_IMAGECHANGED 1307
230 #define B_LOADPLUGIN 1310
231 #define B_NAMEPLUGIN 1311
232 #define B_COLORBAND 1312
233 #define B_ADDCOLORBAND 1313
234 #define B_DELCOLORBAND 1314
235 #define B_CALCCBAND 1315
236 #define B_CALCCBAND2 1316
237 #define B_DOCOLORBAND 1317
238 #define B_REDRAWCBAND 1318
239 #define B_BANDCOL 1319
240 #define B_LOADTEXIMA1 1320
241 #define B_TEXPRV 1321
244 #define B_PLUGBUT 1325
245 /* B_PLUGBUT reserves 24 buttons at least! */
247 #define B_ENV_MAKE 1350
248 #define B_ENV_FREE 1351
249 #define B_ENV_DELETE 1352
250 #define B_ENV_SAVE 1353
251 #define B_ENV_OB 1354
253 #define B_ENV_FREE_ALL 1357
256 /* **************** animbuts = object buttons ******* */
257 #define B_ANIMBUTS 1500
259 #define B_RECALCPATH 1401
260 #define B_TRACKBUTS 1402
261 #define B_DUPLI_FRAME 1403
262 #define B_DUPLI_VERTS 1404
263 #define B_DUPLI_FACES 1405
264 #define B_DUPLI_GROUP 1406
267 #define B_PRINTSPEED 1413
268 #define B_PRINTLEN 1414
269 #define B_RELKEY 1415
270 #define B_CURVECHECK 1416
272 #define B_SOFTBODY_CHANGE 1420
273 #define B_SOFTBODY_DEL_VG 1421
274 #define B_SOFTBODY_BAKE 1422
275 #define B_SOFTBODY_BAKE_FREE 1423
277 /* this has MAX_EFFECT settings! Next free define is 1450... */
278 #define B_SELEFFECT 1430
280 /* Fluidsim button defines */
281 #define B_FLUIDSIM_BAKE 1450
282 #define B_FLUIDSIM_SELDIR 1451
283 #define B_FLUIDSIM_FORCEREDRAW 1452
284 #define B_FLUIDSIM_MAKEPART 1453
286 #define B_GROUP_RELINK 1460
287 #define B_OBJECT_IPOFLAG 1461
289 #define B_BAKEABLE_CHANGE 1470
291 /* *********************** */
292 #define B_WORLDBUTS 1600
294 #define B_TEXCLEARWORLD 1501
295 #define B_COLHOR 1502
296 #define B_COLZEN 1503
297 #define B_WMTEXPASTE 1504
298 #define B_WMTEXCOPY 1505
299 #define B_AO_FALLOFF 1506
301 /* *********************** */
302 #define B_RENDERBUTS 1700
304 #define B_FS_PIC 1601
305 #define B_FS_BACKBUF 1602
307 #define B_FS_FTYPE 1604
308 #define B_DORENDER 1605
309 #define B_DOANIM 1606
310 #define B_PLAYANIM 1607
311 #define B_PR_PAL 1608
312 #define B_PR_FULL 1609
313 #define B_PR_PRV 1610
315 #define B_PR_PAL169 1612
317 #define B_REDRAWDISP 1615
318 #define B_SETBROWSE 1616
319 #define B_CLEARSET 1617
320 #define B_PR_PRESET 1618
321 #define B_PR_PANO 1619
322 #define B_PR_NTSC 1620
324 #define B_IS_FTYPE 1622
325 #define B_IS_BACKBUF 1623
328 #define B_PR_PANO360 1627
329 #define B_PR_HALFFIELDS 1628
330 #define B_NEWRENDERPIPE 1629
331 #define B_R_SCALE 1630
332 #define B_G_SCALE 1631
333 #define B_B_SCALE 1632
334 #define B_USE_R_SCALE 1633
335 #define B_USE_G_SCALE 1634
336 #define B_USE_B_SCALE 1635
337 #define B_EDGECOLSLI 1636
338 #define B_GAMMASLI 1637
340 #define B_FILETYPEMENU 1638
341 #define B_SELECTCODEC 1639
342 #define B_RTCHANGED 1640
343 #define B_SWITCHRENDER 1641
344 #define B_FBUF_REDO 1642
346 #define B_SET_EDGE 1643
347 #define B_SET_ZBLUR 1644
348 #define B_ADD_RENDERLAYER 1645
349 #define B_SET_PASS 1646
351 /* *********************** */
352 #define B_ARMATUREBUTS 1800
355 /* *********************** */
356 #define B_COMMONEDITBUTS 2049
358 #define B_CHANGEDEP 2002
359 #define B_MATWICH 2003
360 #define B_MATNEW 2004
361 #define B_MATDEL 2005
362 #define B_MATASS 2006
363 #define B_MATSEL 2007
364 #define B_MATDESEL 2008
366 #define B_REVEAL 2010
367 #define B_SELSWAP 2011
368 #define B_SETSMOOTH 2012
369 #define B_SETSOLID 2013
370 #define B_AUTOTEX 2014
371 #define B_DOCENTER 2015
372 #define B_DOCENTERNEW 2016
373 #define B_DOCENTERCURSOR 2017
378 #define B_ADDKEY 2041
379 #define B_SETKEY 2042
380 #define B_DELKEY 2043
381 #define B_NAMEKEY 2044
382 #define B_PREVKEY 2045
383 #define B_NEXTKEY 2046
384 #define B_LOCKKEY 2047
386 #define B_MESHBUTS 2090
388 #define B_FLIPNORM 2050
390 #define B_SPINDUP 2052
393 #define B_EXTREP 2055
395 #define B_REMDOUB 2057
396 #define B_SUBDIV 2058
397 #define B_FRACSUBDIV 2059
400 #define B_MAKESTICKY 2062
401 #define B_DELSTICKY 2063
402 #define B_NEWMCOL 2064
403 #define B_DELMCOL 2065
404 #define B_TOSPHERE 2066
405 #define B_DECIM_FACES 2067
406 #define B_DECIM_CANCEL 2068
407 #define B_DECIM_APPLY 2069
408 /* B_SLOWERDRAW and B_FASTERDRAW removed */
409 #define B_VERTEXNOISE 2072
410 #define B_VERTEXSMOOTH 2073
411 #define B_NEWTFACE 2074
412 #define B_DELTFACE 2075
413 #define B_CHROMADEPTH 2076
414 #define B_DRAWEDGES 2077
415 #define B_DRAWCREASES 2078
416 #define B_SETTFACE 2079
417 #define B_SETMCOL 2080
418 #define B_JOINTRIA 2081
419 #define B_SETTFACE_RND 2082
420 #define B_SETMCOL_RND 2083
422 /* *********************** */
423 #define B_VGROUPBUTS 2100
425 #define B_NEWVGROUP 2091
426 #define B_DELVGROUP 2092
427 #define B_ASSIGNVGROUP 2093
428 #define B_REMOVEVGROUP 2094
429 #define B_SELVGROUP 2095
430 #define B_DESELVGROUP 2096
431 #define B_AUTOVGROUP 2097
432 #define B_LINKEDVGROUP 2098
433 #define B_COPYVGROUP 2099
437 /* *********************** */
438 #define B_CURVEBUTS 2200
440 #define B_CONVERTPOLY 2101
441 #define B_CONVERTBEZ 2102
442 #define B_CONVERTBSPL 2103
443 #define B_CONVERTCARD 2104
444 #define B_CONVERTNURB 2105
451 #define B_SETWEIGHT 2112
455 #define B_SETORDER 2116
456 #define B_MAKEDISP 2117
457 #define B_SUBDIVCURVE 2118
458 #define B_SPINNURB 2119
460 #define B_SETRESOLU 2121
462 #define B_SUBSURFTYPE 2123
463 #define B_TILTINTERP 2124
464 #define B_SETPT_AUTO 2125
465 #define B_SETPT_VECTOR 2126
466 #define B_SETPT_ALIGN 2127
467 #define B_SETPT_FREE 2128
469 /* *********************** */
470 #define B_FONTBUTS 2300
472 #define B_MAKEFONT 2201
473 #define B_TOUPPER 2202
474 #define B_SETFONT 2203
475 #define B_LOADFONT 2204
476 #define B_TEXTONCURVE 2205
477 #define B_PACKFONT 2206
478 #define B_LOAD3DTEXT 2207
480 #define B_FASTFONT 2209
483 #define B_STYLETOSELB 2212
484 #define B_STYLETOSELU 2213
485 #define B_STYLETOSELI 2214
487 #define B_SETCHAR 2215
488 #define B_SETUPCHAR 2216
489 #define B_SETDOWNCHAR 2217
490 #define B_SETCAT 2218
491 #define B_SETUNITEXT 2219
493 /* *********************** */
494 #define B_ARMBUTS 2400
496 #define B_ARM_RECALCDATA 2301
497 #define B_ARM_STRIDE 2302
498 #define B_ARM_CALCPATHS 2303
499 #define B_ARM_CLEARPATHS 2304
501 /* *********************** */
502 #define B_CAMBUTS 2500
504 /* *********************** */
505 #define B_MBALLBUTS 2600
507 #define B_RECALCMBALL 2501
509 /* *********************** */
510 #define B_LATTBUTS 2700
512 #define B_RESIZELAT 2601
513 #define B_DRAWLAT 2602
514 #define B_LATTCHANGED 2603
515 #define B_REGULARLAT 2604
517 /* *********************** */
518 #define B_GAMEBUTS 2800
520 #define B_ADD_PROP 2701
521 #define B_CHANGE_PROP 2702
523 #define B_ADD_SENS 2703
524 #define B_CHANGE_SENS 2704
525 #define B_DEL_SENS 2705
527 #define B_ADD_CONT 2706
528 #define B_CHANGE_CONT 2707
529 #define B_DEL_CONT 2708
531 #define B_ADD_ACT 2709
532 #define B_CHANGE_ACT 2710
533 #define B_DEL_ACT 2711
535 #define B_SOUNDACT_BROWSE 2712
537 #define B_SETSECTOR 2713
538 #define B_SETPROP 2714
539 #define B_SETACTOR 2715
540 #define B_SETMAINACTOR 2716
541 #define B_SETDYNA 2717
543 /* *********************** */
544 #define B_FPAINTBUTS 2900
546 #define B_VPCOLSLI 2801
547 #define B_VPGAMMA 2802
549 #define B_COPY_TF_MODE 2804
550 #define B_COPY_TF_UV 2805
551 #define B_COPY_TF_COL 2806
552 #define B_REDR_3D_IMA 2807
553 #define B_SET_VCOL 2808
555 #define B_COPY_TF_TEX 2814
556 #define B_TFACE_HALO 2815
557 #define B_TFACE_BILLB 2816
559 #define B_SHOWTEX 2832
560 #define B_ASSIGNMESH 2833
562 #define B_WEIGHT0_0 2840
563 #define B_WEIGHT1_4 2841
564 #define B_WEIGHT1_2 2842
565 #define B_WEIGHT3_4 2843
566 #define B_WEIGHT1_0 2844
568 #define B_OPA1_8 2845
569 #define B_OPA1_4 2846
570 #define B_OPA1_2 2847
571 #define B_OPA3_4 2848
572 #define B_OPA1_0 2849
574 #define B_CLR_WPAINT 2850
576 #define B_BRUSHBROWSE 2851
577 #define B_BRUSHDELETE 2852
578 #define B_BRUSHLOCAL 2853
579 #define B_BRUSHCHANGE 2854
580 #define B_BTEXBROWSE 2855
581 #define B_BTEXDELETE 2856
582 #define B_BRUSHKEEPDATA 2857
585 #define B_SCULPT_TEXBROWSE 2860
588 #define B_BAKE_OLENGTH 2870
589 #define B_BAKE_APPLY_AV 2871
590 #define B_BAKE_KEYTIME 2872
591 #define B_BAKE_AV_CHANGE 2873
592 #define B_BAKE_REDRAWEDIT 2874
593 #define B_BAKE_RECACHE 2875
595 /* *********************** */
596 #define B_RADIOBUTS 3000
598 #define B_RAD_GO 2901
599 #define B_RAD_INIT 2902
600 #define B_RAD_LIMITS 2903
601 #define B_RAD_FAC 2904
602 #define B_RAD_NODELIM 2905
603 #define B_RAD_NODEFILT 2906
604 #define B_RAD_FACEFILT 2907
605 #define B_RAD_ADD 2908
606 #define B_RAD_DELETE 2909
607 #define B_RAD_COLLECT 2910
608 #define B_RAD_SHOOTP 2911
609 #define B_RAD_SHOOTE 2912
610 #define B_RAD_REPLACE 2913
611 #define B_RAD_DRAW 2914
612 #define B_RAD_FREE 2915
613 #define B_RAD_ADDMESH 2916
615 /* *********************** */
616 #define B_SCRIPTBUTS 3100
618 #define B_SCRIPT_ADD 3001
619 #define B_SCRIPT_DEL 3002
620 #define B_SCRIPT_TYPE 3003
622 /* Scene script buttons */
623 #define B_SSCRIPT_ADD 3004
624 #define B_SSCRIPT_DEL 3005
625 #define B_SSCRIPT_TYPE 3006
627 /* *********************** */
628 #define B_SOUNDBUTS 3200
629 enum B_SOUND_BUTTONS {
630 B_SOUND_CHANGED = 3101,
638 B_SOUND_UNLINK_SAMPLE,
639 B_SOUND_RELOAD_SAMPLE,
640 B_SOUND_UNPACK_SAMPLE,
645 B_SOUND_BIDIRECTIONAL,
651 /* *********************** */
652 #define B_CONSTRAINTBUTS 3300
654 B_CONSTRAINT_TEST = 3201,
655 B_CONSTRAINT_CHANGETARGET,
656 B_CONSTRAINT_ADD_NULL,
657 B_CONSTRAINT_ADD_KINEMATIC,
658 B_CONSTRAINT_ADD_TRACKTO,
659 B_CONSTRAINT_ADD_MINMAX,
660 B_CONSTRAINT_ADD_ROTLIKE,
661 B_CONSTRAINT_ADD_LOCLIKE,
662 B_CONSTRAINT_ADD_SIZELIKE,
663 B_CONSTRAINT_ADD_ACTION,
664 B_CONSTRAINT_ADD_LOCKTRACK,
665 B_CONSTRAINT_ADD_FOLLOWPATH,
666 B_CONSTRAINT_ADD_DISTANCELIMIT,
667 B_CONSTRAINT_ADD_STRETCHTO,
668 B_CONSTRAINT_ADD_LOCLIMIT,
669 B_CONSTRAINT_ADD_ROTLIMIT,
670 B_CONSTRAINT_ADD_SIZELIMIT,
671 B_CONSTRAINT_ADD_RIGIDBODYJOINT,
672 B_CONSTRAINT_ADD_CHILDOF,
673 B_CONSTRAINT_ADD_PYTHON,
674 B_CONSTRAINT_ADD_CLAMPTO,
675 B_CONSTRAINT_ADD_TRANSFORM,
679 /* *********************** */
680 #define B_UVAUTOCALCBUTS 3400
682 B_UVAUTO_REDRAW = 3301,
700 #define B_EFFECTSBUTS 3500
702 #define B_AUTOTIMEOFS 3403
703 #define B_FRAMEMAP 3404
704 #define B_NEWEFFECT 3405
705 #define B_PREVEFFECT 3406
706 #define B_NEXTEFFECT 3407
707 #define B_CHANGEEFFECT 3408
708 #define B_CALCEFFECT 3409
709 #define B_DELEFFECT 3410
710 #define B_RECALCAL 3411
711 #define B_RECALC_DEFL 3412
712 #define B_EFFECT_DEP 3413
713 #define B_FIELD_DEP 3414
714 #define B_FIELD_CHANGE 3415
715 #define B_PAF_SET_VG 3416
716 #define B_PAF_SET_VG1 3417
717 #define B_PARTBROWSE 3418
718 #define B_PARTDELETE 3419
719 #define B_PARTALONE 3420
720 #define B_PARTLOCAL 3421
721 #define B_PARTAUTONAME 3422
722 #define B_PART_ALLOC 3423
723 #define B_PART_DISTR 3424
724 #define B_PART_INIT 3425
725 #define B_PART_RECALC 3426
726 #define B_PART_REDRAW 3427
727 #define B_PARTTYPE 3428
728 #define B_PARTACT 3429
729 #define B_PARTTARGET 3430
730 #define B_PART_ALLOC_CHILD 3431
731 #define B_PART_DISTR_CHILD 3432
732 #define B_PART_INIT_CHILD 3433
733 #define B_PART_RECALC_CHILD 3434
734 #define B_PART_EDITABLE 3435
736 #define B_PART_REKEY 3436
738 #define B_MODIFIER_BUTS 3600
740 #define B_MODIFIER_RECALC 3501
741 #define B_MODIFIER_REDRAW 3502
743 /* *********************** */
744 #define B_NODE_BUTS 4000
745 /* 400 slots reserved, we want an exec event for each node */
746 #define B_NODE_LOADIMAGE 3601
747 #define B_NODE_TREE_EXEC 3602
749 /* exec should be last in this list */
750 #define B_NODE_EXEC 3610
753 /* *********************** */
754 /* BUTTON 4001-4032: layers? (sort this out!) */
756 /* *********************** */
757 /* event code 0x4000 (16384) and larger: general events (redraws, etc) */