Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libmenu The function is called scale_menu, not scale_win...



details:   https://anonhg.NetBSD.org/src/rev/6e71b9680d4e
branches:  trunk
changeset: 533527:6e71b9680d4e
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Jul 03 11:24:46 2002 +0000

description:
The function is called scale_menu, not scale_window.
Closes lib/17381.

diffstat:

 lib/libmenu/menu_win.3 |  8 ++++----
 lib/libmenu/menus.3    |  4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 32ac8628e03c -r 6e71b9680d4e lib/libmenu/menu_win.3
--- a/lib/libmenu/menu_win.3    Wed Jul 03 11:05:20 2002 +0000
+++ b/lib/libmenu/menu_win.3    Wed Jul 03 11:24:46 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: menu_win.3,v 1.6 2002/02/20 11:47:56 wiz Exp $
+.\"    $NetBSD: menu_win.3,v 1.7 2002/07/03 11:24:46 wiz Exp $
 .\"
 .\" Copyright (c) 1999
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -35,7 +35,7 @@
 .Sh NAME
 .Nm menu_sub ,
 .Nm menu_win ,
-.Nm scale_window ,
+.Nm scale_menu ,
 .Nm set_menu_sub ,
 .Nm set_menu_win
 .Nd sub-menu handling
@@ -48,7 +48,7 @@
 .Ft WINDOW *
 .Fn menu_win "MENU *menu"
 .Ft int
-.Fn scale_window "MENU *menu" "int *rows" "int *cols"
+.Fn scale_menu "MENU *menu" "int *rows" "int *cols"
 .Ft int
 .Fn set_menu_sub "MENU *menu" "WINDOW *sub"
 .Ft int
@@ -65,7 +65,7 @@
 will be created when the menu is posted, this pointer is set by the
 .Fn set_menu_win
 function.  The
-.Fn scale_window
+.Fn scale_menu
 function calculates the minimum size a window needs to be to hold the
 items for a given menu, the parameters rows and cols are set to the
 required number of rows and columns respectively.
diff -r 32ac8628e03c -r 6e71b9680d4e lib/libmenu/menus.3
--- a/lib/libmenu/menus.3       Wed Jul 03 11:05:20 2002 +0000
+++ b/lib/libmenu/menus.3       Wed Jul 03 11:24:46 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: menus.3,v 1.9 2002/06/20 12:18:48 blymn Exp $
+.\"    $NetBSD: menus.3,v 1.10 2002/07/03 11:24:47 wiz Exp $
 .\"
 .\" Copyright (c) 1999
 .\"    Brett Lymn - blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost
@@ -150,7 +150,7 @@
 .Xr menu_cursor 3
 .It post_menu
 .Xr menu_post 3
-.It scale_window
+.It scale_menu
 .Xr menu_win 3
 .It set_current_item
 .Xr menu_item_current 3



Home | Main Index | Thread Index | Old Index