Eric Melville
b48baf886a
Handle keys consistently.
2001-07-26 03:34:43 +00:00
Eric Melville
87aaead2f8
Improve the interface provided by libdialog. Move a cursor around over
...
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.
~
2001-07-18 05:21:37 +00:00
Jordan K. Hubbard
75c6403334
Allow emacs-style next/prev characters as well as arrow keys so that
...
I can offer this as a consistent feature.
1997-01-15 02:50:48 +00:00
Jordan K. Hubbard
ae5b2dcf86
Add another hateful global to libdialog (what the heck, there are already
...
so many). For now, the only extended attribute implemented is NO ECHO,
useful for things like passwords. See TESTS/input2.c for an example.
This should go into 2.2.
1996-12-14 16:14:21 +00:00
Jordan K. Hubbard
fb46ad63d7
Line up some of these OK boxes properly again.
1996-12-12 11:05:59 +00:00
Jordan K. Hubbard
3cd2d3f69a
"CONTINUE" was just too long. Make it a nice "OK" now.
1996-10-04 13:06:48 +00:00
Jordan K. Hubbard
15232ab26e
1. Remove some ancient bogons from when I initially added dialogMenuItem
...
support.
2. Have message boxes say "Continue" instead of "Exit"
1996-07-11 18:22:16 +00:00
Jordan K. Hubbard
738c371d22
Next round of changes - make dialog boxes drawable at arbitrary X,Y locations
...
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.
1996-01-01 03:43:58 +00:00
Andrey A. Chernov
883c5f31fa
Fix nasty shadow bug sneaked in Marc's commit.
...
Implement ^K and KEY_EOL as clear end of line
Move common code from line_edit to static function
Cosmetique changes in textbox
1995-05-08 01:43:52 +00:00
Jordan K. Hubbard
3bdf20c2d4
This just exited on most errors, some of which were legitimate and
...
I don't *want* to cause my application to be exited! Some of the fprintfs()
should probably be calls to some dialog error menu popup anyway.
1995-03-22 02:06:06 +00:00
Andrey A. Chernov
895aadbcfb
file selector, helpline, helpfile and more, with my fixes
...
Submitted by: wmbfmk@urc.tue.nl
1995-02-15 19:44:08 +00:00
Andrey A. Chernov
852ffa1977
silently restrict all boxes to LINES, COLS
1994-11-18 22:49:09 +00:00
Andrey A. Chernov
df5add3f69
Draw passed line with passed attrs on enter of line_edit()
...
and redraw it with default attrs on exit.
1994-11-18 01:46:32 +00:00
Andrey A. Chernov
a9e8a652cb
Add new parameter to line_edit: field length (-1 means unlimited)
1994-11-18 01:02:42 +00:00
Andrey A. Chernov
04339572bc
Fix original bug with wrong calculated dims for items list.
...
Add args check for functions when autosizing impossible.
1994-11-17 19:21:51 +00:00
Andrey A. Chernov
9570a6deea
Add pointer check after each newwin/subwin with error diagnostic
1994-10-31 04:02:31 +00:00
Andrey A. Chernov
3f20de5a5f
Implement dialog_prgbox() function which allows run program
...
(via pipe) with output to dialog box
1994-10-28 03:08:28 +00:00
Andrey A. Chernov
2a9cdd71dd
Implement line_edit() function (full line editor) which may called
...
externally.
Rewrite inputbox/textbox to use this function.
1994-10-21 15:42:30 +00:00
Andrey A. Chernov
8a585590ef
Declare more functions externally.
...
Don't forget to use 'make beforeinstall'...
1994-10-20 21:56:45 +00:00
Andrey A. Chernov
3728ed9c8f
Make all dialog box available from C programs via functions calls
1994-10-11 23:30:51 +00:00