aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/libdialog/radiolist.c
Commit message (Collapse)AuthorAgeFilesLines
* Update dialog to version 20100428. This changes the license under whichNathan Whitehorn2011-01-121-628/+0
| | | | | | | | | | | | | | | | dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog Notes: svn path=/head/; revision=217309
* Use __FBSDID over rcsid[].David E. O'Brien2003-05-031-4/+2
| | | | Notes: svn path=/head/; revision=114603
* Properly move cursor when home and end keys are used.Eric Melville2001-08-311-2/+10
| | | | Notes: svn path=/head/; revision=82613
* Properly update cursor position when the list is scrolled.Eric Melville2001-07-261-4/+6
| | | | Notes: svn path=/head/; revision=80375
* Improve the interface provided by libdialog. Move a cursor around overEric Melville2001-07-181-42/+119
| | | | | | | | | | the components and trigger actions based on its position. This reduces the need to remember the functions of various keys, and makes the interface more consistant across library. ~ Notes: svn path=/head/; revision=79843
* *Really* make space accelerators work; no wonder Brian McGovern wasJordan K. Hubbard1999-12-171-1/+1
| | | | | | | confused! I fat-fingered the first commit. Notes: svn path=/head/; revision=54720
* Prevent spaces from being interpreted as accelerators.Jordan K. Hubbard1999-12-141-2/+4
| | | | Notes: svn path=/head/; revision=54585
* Go on one of my periodic rampages through this code, trying to makeJordan K. Hubbard1997-01-171-52/+61
| | | | | | | | | | it DTRT. In the process, discover the usual 10-15 evil bogons which have been lurking in it for years. This closes, for one thing, the recent report Mike Smith made about nested checklist menus returning with the scrolling region messed up. Notes: svn path=/head/; revision=21790
* Allow emacs-style next/prev characters as well as arrow keys so thatJordan K. Hubbard1997-01-151-3/+3
| | | | | | | I can offer this as a consistent feature. Notes: svn path=/head/; revision=21697
* Pull the fix from rev 1.31.2.1; i've accidentally committed it toJoerg Wunsch1996-12-261-1/+0
| | | | | | | 2.2 first. Notes: svn path=/head/; revision=20924
* 1. Remove some ancient bogons from when I initially added dialogMenuItemJordan K. Hubbard1996-07-111-20/+6
| | | | | | | | support. 2. Have message boxes say "Continue" instead of "Exit" Notes: svn path=/head/; revision=17098
* Fix a couple of whoopers which somehow went undetected until now.Jordan K. Hubbard1996-07-111-19/+23
| | | | Notes: svn path=/head/; revision=17092
* Add missing dialog_clear() calls.Jordan K. Hubbard1996-07-051-0/+1
| | | | Notes: svn path=/head/; revision=16973
* Fix the OK/Cancel accellerator bogon I introduced a few days back.Jordan K. Hubbard1996-04-281-1/+1
| | | | Notes: svn path=/head/; revision=15418
* Fix a bogon with ok/cancel callback usage.Jordan K. Hubbard1996-04-271-18/+16
| | | | Notes: svn path=/head/; revision=15406
* More custom hackery to deal with issues discovered in sysinstall.Jordan K. Hubbard1996-04-251-6/+5
| | | | Notes: svn path=/head/; revision=15382
* Allow some post-fire actions to be combined in ways that weren'tJordan K. Hubbard1996-04-251-11/+4
| | | | | | | possible before. Notes: svn path=/head/; revision=15380
* alloca() was being called with highly bogus arguments due to brainJordan K. Hubbard1996-04-251-1/+1
| | | | | | | fade. Fixed. Notes: svn path=/head/; revision=15376
* Cosmetic tweaks.Jordan K. Hubbard1996-04-231-0/+1
| | | | Notes: svn path=/head/; revision=15354
* Another bug fix for the DITEM_REDRAW case.Jordan K. Hubbard1996-04-201-2/+3
| | | | Notes: svn path=/head/; revision=15323
* Make the DITEM_RECREATE option work properly.Jordan K. Hubbard1996-04-201-8/+9
| | | | Notes: svn path=/head/; revision=15322
* Fix a bug which did not properly bias checklist items by their scrollJordan K. Hubbard1996-04-191-1/+2
| | | | | | | factor. Notes: svn path=/head/; revision=15306
* Remove a long-standing window leak I just noticed.Jordan K. Hubbard1996-04-181-0/+6
| | | | Notes: svn path=/head/; revision=15290
* Remove the special-case behavior for fire actions that returnJordan K. Hubbard1996-04-181-43/+36
| | | | | | | | | | | | | | DITEM_FAILURE - formerly they would simply act as an implicit "continue", but this is wrong. If you want this behavior, you should now return with the DITEM_CONTINUE flag set. Also make the semantics of DITEM_RESTORE quite a bit different - rather than restore the screen back to pre-menu state, we restore the menu itself. This is more correct for a variety of reasons when dealing with nested menus (whoops!). Notes: svn path=/head/; revision=15289
* More changes to attempt to make this whole new dialog scheme moreJordan K. Hubbard1996-04-161-422/+470
| | | | | | | | | | | | robust. The new "fire" actions, while affording signficantly more interactivity to libdialog, come at a cost - if the fire action trashes the screen then you're not going to be in Kansas anymore when you come back to the menu and there had better be considerable extra smarts in place for coping with such a situation. These changes are my attempt to do just that. Notes: svn path=/head/; revision=15273
* Refresh dialogs if a callback action fails.Jordan K. Hubbard1996-04-081-4/+12
| | | | Notes: svn path=/head/; revision=15142
* Fix small bug with negative item_no.Jordan K. Hubbard1996-01-101-1/+1
| | | | Notes: svn path=/head/; revision=13373
* Refresh before calling selection hook.Jordan K. Hubbard1996-01-051-1/+3
| | | | Notes: svn path=/head/; revision=13232
* Next round of changes - make dialog boxes drawable at arbitrary X,Y locationsJordan K. Hubbard1996-01-011-21/+25
| | | | | | | | | and add selection traversal callbacks so context-sensitive behavior can even be implemented for individual menu items. These work around the two largest issues holding me back with some of my sysinstall changes. Notes: svn path=/head/; revision=13135
* Add changes to:Jordan K. Hubbard1995-12-231-139/+228
| | | | | | | | | | o Support a new, fully backwards-compatible API for controling individual items in dialog menus. o Write a man page. o Add some test code. Notes: svn path=/head/; revision=12983
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8858
* Fix arrows printout for non-arrows keys in menuboxAndrey A. Chernov1995-03-021-46/+40
| | | | | | | | Move arrows printout to single kernel function Add PgUp/PgDn/Home/End to checkbox and radiobox Notes: svn path=/head/; revision=6818
* file selector, helpline, helpfile and more, with my fixesAndrey A. Chernov1995-02-151-0/+6
| | | | | | | Submitted by: wmbfmk@urc.tue.nl Notes: svn path=/head/; revision=6458
* Add more range/argument checkingAndrey A. Chernov1995-01-301-1/+2
| | | | | | | Submitted by: charnier@lirmm.fr Notes: svn path=/head/; revision=6035
* silently restrict all boxes to LINES, COLSAndrey A. Chernov1994-11-181-0/+4
| | | | Notes: svn path=/head/; revision=4658
* Fix original bug with wrong calculated dims for items list.Andrey A. Chernov1994-11-171-4/+8
| | | | | | | Add args check for functions when autosizing impossible. Notes: svn path=/head/; revision=4565
* Full autosizing support, now you can pass -1, -1 for anyAndrey A. Chernov1994-11-161-9/+18
| | | | | | | string Notes: svn path=/head/; revision=4527
* Add pointer check after each newwin/subwin with error diagnosticAndrey A. Chernov1994-10-311-0/+10
| | | | Notes: svn path=/head/; revision=4024
* Implement dialog_prgbox() function which allows run programAndrey A. Chernov1994-10-281-1/+3
| | | | | | | (via pipe) with output to dialog box Notes: svn path=/head/; revision=3950
* Declare more functions externally.Andrey A. Chernov1994-10-201-1/+1
| | | | | | | Don't forget to use 'make beforeinstall'... Notes: svn path=/head/; revision=3740
* Make all dialog box available from C programs via functions callsAndrey A. Chernov1994-10-111-0/+368
Notes: svn path=/cvs2svn/branches/savio_lam/; revision=3515