Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libmenu Change the key definitions so that they no longe...
details: https://anonhg.NetBSD.org/src/rev/0b5e23c75cb6
branches: trunk
changeset: 559718:0b5e23c75cb6
user: jdc <jdc%NetBSD.org@localhost>
date: Mon Mar 22 19:01:09 2004 +0000
description:
Change the key definitions so that they no longer collide with the ones in
libform. Do this because the library major number is changing (the libcurses
major number is changing).
Suggested by Brett Lymn,
diffstat:
lib/libmenu/menu.h | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
diffs (55 lines):
diff -r 85bfe0429d6e -r 0b5e23c75cb6 lib/libmenu/menu.h
--- a/lib/libmenu/menu.h Mon Mar 22 19:00:09 2004 +0000
+++ b/lib/libmenu/menu.h Mon Mar 22 19:01:09 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: menu.h,v 1.12 2002/07/29 13:03:51 blymn Exp $ */
+/* $NetBSD: menu.h,v 1.13 2004/03/22 19:01:09 jdc Exp $ */
/*-
* Copyright (c) 1998-1999 Brett Lymn (blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost)
@@ -33,26 +33,26 @@
#include <eti.h>
/* requests for the menu_driver call */
-#define REQ_BASE_NUM (KEY_MAX + 0x100)
-#define REQ_LEFT_ITEM (KEY_MAX + 0x101)
-#define REQ_RIGHT_ITEM (KEY_MAX + 0x102)
-#define REQ_UP_ITEM (KEY_MAX + 0x103)
-#define REQ_DOWN_ITEM (KEY_MAX + 0x104)
-#define REQ_SCR_ULINE (KEY_MAX + 0x105)
-#define REQ_SCR_DLINE (KEY_MAX + 0x106)
-#define REQ_SCR_DPAGE (KEY_MAX + 0x107)
-#define REQ_SCR_UPAGE (KEY_MAX + 0x108)
-#define REQ_FIRST_ITEM (KEY_MAX + 0x109)
-#define REQ_LAST_ITEM (KEY_MAX + 0x10a)
-#define REQ_NEXT_ITEM (KEY_MAX + 0x10b)
-#define REQ_PREV_ITEM (KEY_MAX + 0x10c)
-#define REQ_TOGGLE_ITEM (KEY_MAX + 0x10d)
-#define REQ_CLEAR_PATTERN (KEY_MAX + 0x10e)
-#define REQ_BACK_PATTERN (KEY_MAX + 0x10f)
-#define REQ_NEXT_MATCH (KEY_MAX + 0x110)
-#define REQ_PREV_MATCH (KEY_MAX + 0x111)
+#define REQ_BASE_NUM (KEY_MAX + 0x200)
+#define REQ_LEFT_ITEM (KEY_MAX + 0x201)
+#define REQ_RIGHT_ITEM (KEY_MAX + 0x202)
+#define REQ_UP_ITEM (KEY_MAX + 0x203)
+#define REQ_DOWN_ITEM (KEY_MAX + 0x204)
+#define REQ_SCR_ULINE (KEY_MAX + 0x205)
+#define REQ_SCR_DLINE (KEY_MAX + 0x206)
+#define REQ_SCR_DPAGE (KEY_MAX + 0x207)
+#define REQ_SCR_UPAGE (KEY_MAX + 0x208)
+#define REQ_FIRST_ITEM (KEY_MAX + 0x209)
+#define REQ_LAST_ITEM (KEY_MAX + 0x20a)
+#define REQ_NEXT_ITEM (KEY_MAX + 0x20b)
+#define REQ_PREV_ITEM (KEY_MAX + 0x20c)
+#define REQ_TOGGLE_ITEM (KEY_MAX + 0x20d)
+#define REQ_CLEAR_PATTERN (KEY_MAX + 0x20e)
+#define REQ_BACK_PATTERN (KEY_MAX + 0x20f)
+#define REQ_NEXT_MATCH (KEY_MAX + 0x210)
+#define REQ_PREV_MATCH (KEY_MAX + 0x211)
-#define MAX_COMMAND (KEY_MAX + 0x111) /* last menu driver request
+#define MAX_COMMAND (KEY_MAX + 0x211) /* last menu driver request
- for application defined
commands */
Home |
Main Index |
Thread Index |
Old Index