* Fl_Browser_ has a full_width(), but it has a tendency to contain 0, so... */
| 1555 | * Fl_Browser_ has a full_width(), but it has a tendency to contain 0, so... |
| 1556 | */ |
| 1557 | int CustBrowser::full_width() const |
| 1558 | { |
| 1559 | int max = 0; |
| 1560 | void *item = item_first(); |
| 1561 | |
| 1562 | while (item) { |
| 1563 | int w = item_width(item); |
| 1564 | |
| 1565 | if (w > max) |
| 1566 | max = w; |
| 1567 | |
| 1568 | item = item_next(item); |
| 1569 | } |
| 1570 | return max; |
| 1571 | } |
| 1572 | |
| 1573 | FltkListResource::FltkListResource (FltkPlatform *platform, |
| 1574 | core::ui::ListResource::SelectionMode |