| 594 | } |
| 595 | |
| 596 | void displaycurvalue() |
| 597 | { |
| 598 | if(isradio) |
| 599 | { |
| 600 | *curval = '\0'; |
| 601 | loopv(opts) concatformatstring(curval, "%s\1%c %s", i ? " " : "", (i + min_ == value) ? '\11' : '\10', opts[i]); |
| 602 | } |
| 603 | else if(opts.length()) // extract display name from list |
| 604 | { |
| 605 | int idx = value - min_; |
| 606 | copystring(curval, opts.inrange(idx) ? opts[idx] : ""); |
| 607 | } |
| 608 | else itoa(curval, value); // display number only |
| 609 | } |
| 610 | |
| 611 | void getmaxvaluewidth() |
| 612 | { |
nothing calls this directly
no test coverage detected