Changeset 60288f5 in buchla-68k for ram/idselbx.c
- Timestamp:
- 07/09/2017 12:23:40 AM (7 years ago)
- Branches:
- master
- Children:
- 6dd74a9
- Parents:
- 0c834c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/idselbx.c
r0c834c5 r60288f5 21 21 extern void tsplot4(int *obase, int nw, int fg, int row, int col, char *str, int pitch); 22 22 extern void vbfill4(unsigned *obj, short obwidth, short xmin, short ymin, short xmax, short ymax, unsigned color); 23 extern void enterit(void);23 extern short entbh(short n); 24 24 extern void vtdisp(unsigned *obj, unsigned fg, unsigned bg, short row, short col, char *buf); 25 25 extern void advicur(void); … … 65 65 66 66 short bx_null(void); 67 voididfnbox(short n);67 short idfnbox(short n); 68 68 69 69 /* … … 89 89 { 1, 56, 509, 208, 12, idfnbox}, /* 12: Level */ 90 90 91 { 1, 210, 110, 236, 0x0000, ent erit}, /* 13: Source- Mlt */92 {112, 210, 142, 236, 0x0000, ent erit}, /* 14: Pt */93 {144, 210, 206, 236, 0x0000, ent erit}, /* 15: Time */94 {208, 210, 366, 236, 0x0000, ent erit}, /* 16: Value */95 {368, 210, 509, 236, 0x0000, ent erit}, /* 17: Action */91 { 1, 210, 110, 236, 0x0000, entbh}, /* 13: Source- Mlt */ 92 {112, 210, 142, 236, 0x0000, entbh}, /* 14: Pt */ 93 {144, 210, 206, 236, 0x0000, entbh}, /* 15: Time */ 94 {208, 210, 366, 236, 0x0000, entbh}, /* 16: Value */ 95 {368, 210, 509, 236, 0x0000, entbh}, /* 17: Action */ 96 96 97 97 { 1, 238, 131, 348, 0x0000, idfnbox}, /* 18: Algorithm */ 98 98 {133, 238, 267, 251, 0x0000, idfnbox}, /* 19: Voice & Inst */ 99 {269, 238, 379, 306, 0x0000, ent erit}, /* 20: Oscillators */99 {269, 238, 379, 306, 0x0000, entbh}, /* 20: Oscillators */ 100 100 {381, 238, 509, 348, 0x0000, idfnbox}, /* 21: Waveshape */ 101 101 102 {133, 308, 379, 348, 0x0000, ent erit}, /* 22: Variables */102 {133, 308, 379, 348, 0x0000, entbh}, /* 22: Variables */ 103 103 104 104 {133, 252, 267, 306, 19, idfnbox}, /* 23: Name & Comments */ … … 435 435 */ 436 436 437 voididfnbox(short n)437 short idfnbox(short n) 438 438 { 439 439 register short col, i, row; … … 453 453 /* handle data entry special case for resonance in filter fn. */ 454 454 455 if ((curfunc EQ 4) AND (row EQ 5) AND (col EQ 62)) { 456 enterit(); 457 return; 458 } 455 if ((curfunc EQ 4) AND (row EQ 5) AND (col EQ 62)) 456 return(entbh(-1)); 459 457 460 458 switch (pntsv) { /* dispatch off of point select state */ … … 486 484 } 487 485 488 return ;486 return(TRUE); 489 487 490 488 } else if (hitbox EQ 18) { /* configuration */ … … 493 491 494 492 wcmenu(0); 495 return ;493 return(TRUE); 496 494 497 495 } else { 498 496 499 enterit(); 500 return; 497 return(entbh(-1)); 501 498 } 502 499 /* … … 537 534 } 538 535 539 return ;536 return(SUCCESS); 540 537 541 538 } else { 542 539 543 enterit(); /* do data entry */ 544 return; 540 return(entbh(-1)); /* do data entry */ 545 541 } 546 542 /* … … 552 548 553 549 wcmenu(1); 554 return ;550 return(TRUE); 555 551 556 552 } else { 557 553 558 enterit(); 559 return; 554 return(entbh(-1)); 560 555 } 561 556 … … 592 587 } 593 588 594 return ;589 return(TRUE); 595 590 /* 596 591 … … 622 617 623 618 setgc(ICURX, ICURY); /* put cursor in center */ 624 return ;619 return(TRUE); 625 620 } 626 } 621 622 return(FALSE); 623 }
Note:
See TracChangeset
for help on using the changeset viewer.