diff options
author | dteske <dteske@FreeBSD.org> | 2013-06-02 09:02:12 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-06-02 09:02:12 +0000 |
commit | 373aa5232d0043556e802e93d9f70bec70f121c7 (patch) | |
tree | 826a3cea2f1f978a5386dfa3b219f0c60dccae42 /sys/dev/usb/controller | |
parent | 5b05f067655217732e94ad77b1c57a3cb7a3945e (diff) | |
download | FreeBSD-src-373aa5232d0043556e802e93d9f70bec70f121c7.zip FreeBSD-src-373aa5232d0043556e802e93d9f70bec70f121c7.tar.gz |
Improve the dialog(1) API in dialog.subr by adding f_dialog_default_store()
and f_dialog_default_fetch(). Operating similar to functions introduced by
SVN r251236 and r251242, these functions operate as a pair for helping track
the default-item data (for the --menu, --checklist, and --radiolist
widgets).
This replaces the direct usage of a global to store the data with an
abstract method for readability and to centralize the code.
Diffstat (limited to 'sys/dev/usb/controller')
0 files changed, 0 insertions, 0 deletions