72 Commits

Author SHA1 Message Date
jkh
24a0bc2e77 More changes to attempt to make this whole new dialog scheme more
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.
1996-04-16 12:17:27 +00:00
jkh
e9d88ac949 Remove some of the grot I added to try and save/restore screen contents.
This shouldn't be done here, it should be done in the client as needed.
1996-04-13 13:13:32 +00:00
jkh
377be65195 Save screen before calling any fire() callbacks - you never know what
they might do to the screen.
1996-04-08 10:28:07 +00:00
jkh
06a2488050 Refresh dialogs if a callback action fails. 1996-04-08 10:02:55 +00:00
jkh
318997a39f Make this properly respect obj dirs. 1996-04-07 03:34:35 +00:00
jkh
5b2f267378 Strive for a little more consistency with my examples. 1996-04-07 03:21:01 +00:00
jkh
def84715cb Add an `aux' field for some other gunk I'm doing. 1996-04-05 02:29:12 +00:00
mpp
279ebaafa0 Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
1996-02-09 16:20:10 +00:00
mpp
ac7bc7dc91 Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.
1996-02-09 00:45:45 +00:00
jkh
40108b438e Minor tweak to this test. 1996-02-08 11:55:15 +00:00
jkh
cb56a0376f Fix small bug with negative item_no. 1996-01-10 13:57:46 +00:00
jkh
17c6a37b39 Refresh before calling selection hook. 1996-01-05 04:00:51 +00:00
jkh
caa7284440 Create individual tests for each dialog feature. 1996-01-01 03:45:32 +00:00
jkh
ff9186df13 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
jkh
6b3eb3264f Add another test to round out the radiolist dialog suite.
Add more comments and attempt to make everything just that much
more understandable.
1995-12-23 14:53:07 +00:00
jkh
e39581c8f3 o Add some test code. 1995-12-23 01:10:32 +00:00
jkh
09146e9c17 Add changes to:
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.
1995-12-23 01:10:20 +00:00
bde
6579f34131 Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
1995-08-06 12:24:38 +00:00
rgrimes
2ad6f3dee6 Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
jkh
c8aeb3cc9c Don't make TAB and BACK-TAB destroy field contents incorrectly.
Submitted by:	gibbs
1995-05-28 03:36:05 +00:00
ache
a42dff69c2 Remove extra argument from mesgbox 1995-05-16 10:17:13 +00:00
ache
7918fd9c8d Call mesgbox instead of msgbox for long descriptions 1995-05-16 06:09:28 +00:00
jkh
9de827c980 Changes to support the new dialog_dselect() features required to fix
pkg_install.  dialog_dselect() wasn't very useful before.
Submitted by:	Marc van Kempen <wmbfmk@urc.tue.nl>
1995-05-16 01:31:40 +00:00
ache
042ea47697 Fix draw shadow bug, when shadow reaches end of the screen,
bringed by devmenu or tzsetup f.e.
1995-05-15 16:40:02 +00:00
ache
3aa0d024e8 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
ache
498b9e1f2e Bump major number instead of minor: old functions arguments was changed too 1995-05-04 09:45:29 +00:00
ache
e945945e13 Bump minor number 1995-05-03 18:54:09 +00:00
ache
98983f573b Handle too long strings correctly in print_autowrap()
Submitted by: Marc van Kempen <wmbdmr@urc.tue.nl>
1995-04-30 19:43:53 +00:00
jkh
fecc1587af Hastily back out my previous change to install ui_objects.h; upon further
examination, I'm not entirely sure this was meant to be public.  It's not
idempotent or anything.  I'll make pkg_manage deal with it another way
until it's been confirmed one way or the other by Marc.
1995-04-21 10:18:33 +00:00
jkh
3bf1d99e22 Also install new ui_objects.h header file. I'm not sure how I feel about
these Makefile constructs - surely there's a better way?
1995-04-21 10:15:31 +00:00
ache
64d059015a Upgrade.
Submitted by: Marc van Kempen  <wmbfmk@urc.tue.nl>
1995-04-20 17:39:37 +00:00
ache
f362fa39c5 Get rid of strtok(), it is depricated inside libs 1995-03-24 17:59:48 +00:00
jkh
689f0fbcdd 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
ache
593e132519 Saved scroll fixed. 1995-03-21 01:06:07 +00:00
ache
bcf65c80f5 Fix arrows printout for non-arrows keys in menubox
Move arrows printout to single kernel function
Add PgUp/PgDn/Home/End to checkbox and radiobox
1995-03-02 01:03:39 +00:00
ache
e062767a52 Simplify notify()
Fix dupwin usage, now it really restore screen
Disable helpline while helpfile displayed
Fix helpfile borders
Fix mesgbox range computing
1995-02-23 22:36:56 +00:00
ache
8606846519 file selector, helpline, helpfile and more, with my fixes
Submitted by: wmbfmk@urc.tue.nl
1995-02-15 19:44:08 +00:00
ache
6f54c02095 Much better error handling added. 1995-02-13 18:51:50 +00:00
ache
6a9b44b167 Add more range/argument checking
Submitted by: charnier@lirmm.fr
1995-01-30 14:11:58 +00:00
ache
b1254721e0 Back out bkgd() function usage, it acts not from
common sense but from sysv standard
1995-01-16 17:22:35 +00:00
ache
b2b7987fd8 Use new bkgd() function to produce background 1994-12-02 19:49:17 +00:00
ache
ef0518f6db Add ^X,^B,^F,^E,^A
Implement KEY_DC/^D
Fix some displaying errors
Add more beeps on reaching edges
1994-11-20 00:21:02 +00:00
ache
8d964f41a7 Automatically turn off insert mode when end of field reached
in line_edit().
1994-11-19 10:22:12 +00:00
ache
1b44a4bb6d Highlight only flen sized part while editing in line_edit() 1994-11-19 09:58:34 +00:00
ache
ff4e7b036e Highlight only space available for editing 1994-11-19 00:45:02 +00:00
ache
91b9eb92f4 silently restrict all boxes to LINES, COLS 1994-11-18 22:49:09 +00:00
ache
3790221257 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
ache
3a64b4bb5b Add new parameter to line_edit: field length (-1 means unlimited) 1994-11-18 01:02:42 +00:00
ache
b847ed27c4 Save/restore attrs in line_edit now 1994-11-18 00:30:06 +00:00
ache
91d0857ccb Use newscr instead of curscr in shadows code 1994-11-17 23:54:24 +00:00