History log of /src/usr.bin/menuc/mdb.h |
Revision | | Date | Author | Comments |
1.12 |
| 23-Jun-2019 |
christos | define as hex and make MC_VALID smaller so it fits in a short.
|
1.11 |
| 25-Feb-2019 |
martin | Add an option to supress the vertical space between menu title and menu items.
|
1.10 |
| 21-Nov-2018 |
martin | Add (optional) support for expanded static menu texts - that is: whatever the application programmer defines as expansion, e.g. to implement parameter substitution. While here add rudimentary documentation of the dynamic messages feature (so at least the parser and the syntax documented here are in sync). The man page could use some typesetting help...
|
1.9 |
| 06-Mar-2012 |
mbalmer | branches: 1.9.30; 1.9.32; Remove the advertising clause and appease the eye a bit (still not good, but better). Almost no functional change.
|
1.8 |
| 20-Feb-2006 |
dsl | branches: 1.8.44; Allow menu entry option names to be code fragments that (should) call wprintw(menu->mw, ftm, args) to generate the menu label. Allows static menu labels to contain the current value (like a lot of the dynamic menus do). Correct width calculations, and bound menu table lookup.
|
1.7 |
| 02-Aug-2004 |
dsl | Support menu windows that preserve the underlying screen contents. (Needs a libcurses fix as well). No need to ponce about with __m_endwin (to remember we've done endwin()), the old recovery was wrong in any case - but I've left something that will do an explicit redraw. Allow the 'help' text to be from a variable (and hence translated). Fix the display of help so that the screen underneath is actually cleared. Preserve the screen contents while displaying help - redraw is too hard. Use endwin(); doupdate(); to do the full refresh when ^L is typed. Move menus up the screen if they would hit the bottom with too few lines to show an item and the scroll text (happens with big titles). Make 'y=0' center the window vertically - use of 0 means you can't have a menu starting on the topline, but this is unlikely to be a problem. Make all the menu options settable from the control file, not just from dynamic menus. Redo menu option list part of man page.
|
1.6 |
| 30-Nov-2003 |
dsl | branches: 1.6.4; Add '[no] clear' to lex/yacc spec. Fix some menu sizing bugs for menus where the user code changes the size. Don't reduce the size of a menu with 'scroll' every timeit is displayed.
|
1.5 |
| 15-Aug-2000 |
phil | Tweek the "no shortcut" code. MC_NOSHORTKEY to NOSHORTCUT added option "shortcut" to menuc input language. added example of this kind of menu in testm.
|
1.4 |
| 20-Jun-1999 |
cgd | provide a way to set the string used for the 'Exit' menu item.
|
1.3 |
| 25-Jun-1998 |
phil | branches: 1.3.2; Add scrollable menus. Tweek testm's Makefile to remake if menu_sys.def is modified.
|
1.2 |
| 24-Jun-1998 |
phil | Add a online help facility. Each menu can specify a help screen associated with that menu. The help screen is scrollable for long help screens. The char '?' accesses the help screen as a menu command. Help screen text is specified in the menu definition file with the menu.
|
1.1 |
| 26-Sep-1997 |
phil | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 26-Sep-1997 |
phil | Add a curses based menu compiler system. (Used by the new system install program sysinst.)
|
1.3.2.1 |
| 24-Jun-1999 |
cgd | pull up rev(s) 1.4 from trunk. (cgd)
|
1.6.4.1 |
| 23-Jul-2005 |
snj | Pull up revision 1.7 (requested by riz in ticket #5515): Support menu windows that preserve the underlying screen contents. (Needs a libcurses fix as well). No need to ponce about with __m_endwin (to remember we've done endwin()), the old recovery was wrong in any case - but I've left something that will do an explicit redraw. Allow the 'help' text to be from a variable (and hence translated). Fix the display of help so that the screen underneath is actually cleared. Preserve the screen contents while displaying help - redraw is too hard. Use endwin(); doupdate(); to do the full refresh when ^L is typed. Move menus up the screen if they would hit the bottom with too few lines to show an item and the scroll text (happens with big titles). Make 'y=0' center the window vertically - use of 0 means you can't have a menu starting on the topline, but this is unlikely to be a problem. Make all the menu options settable from the control file, not just from dynamic menus. Redo menu option list part of man page.
|
1.8.44.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.9.32.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.9.32.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.9.30.1 |
| 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|