Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Sort attr* functions/macros.
details: https://anonhg.NetBSD.org/src/rev/5d505906eab0
branches: trunk
changeset: 534855:5d505906eab0
user: jdc <jdc%NetBSD.org@localhost>
date: Sun Aug 04 17:08:16 2002 +0000
description:
Sort attr* functions/macros.
diffstat:
lib/libcurses/curses.h | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (59 lines):
diff -r 46eb82d90b15 -r 5d505906eab0 lib/libcurses/curses.h
--- a/lib/libcurses/curses.h Sun Aug 04 16:43:44 2002 +0000
+++ b/lib/libcurses/curses.h Sun Aug 04 17:08:16 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: curses.h,v 1.66 2002/08/04 16:43:07 jdc Exp $ */
+/* $NetBSD: curses.h,v 1.67 2002/08/04 17:08:16 jdc Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -325,6 +325,9 @@
#define addch(ch) waddch(stdscr, ch)
#define addnstr(s, n) waddnstr(stdscr, s, n)
#define addstr(s) waddnstr(stdscr, s, -1)
+#define attroff(attr) wattroff(stdscr, attr)
+#define attron(attr) wattron(stdscr, attr)
+#define attrset(attr) wattrset(stdscr, attr)
#define bkgd(ch) wbkgd(stdscr, ch)
#define bkgdset(ch) wbkgdset(stdscr, ch)
#define border(l, r, t, b, tl, tr, bl, br) \
@@ -355,9 +358,6 @@
#define timeout(delay) wtimeout(stdscr, delay)
#define underscore() wunderscore(stdscr)
#define underend() wunderend(stdscr)
-#define attron(attr) wattron(stdscr, attr)
-#define attroff(attr) wattroff(stdscr, attr)
-#define attrset(attr) wattrset(stdscr, attr)
#define waddbytes(w, s, n) __waddbytes(w, s, n, 0)
#define waddstr(w, s) waddnstr(w, s, -1)
@@ -416,6 +416,9 @@
int addch(chtype);
int addnstr(const char *, int);
int addstr(const char *);
+int attroff(int);
+int attron(int);
+int attrset(int);
int bkgd(chtype);
void bkgdset(chtype);
int border(chtype, chtype, chtype, chtype,
@@ -446,9 +449,6 @@
void timeout(int);
int underscore(void);
int underend(void);
-int attron(int);
-int attroff(int);
-int attrset(int);
int waddbytes(WINDOW *, const char *, int);
int waddstr(WINDOW *, const char *);
@@ -604,8 +604,8 @@
__attribute__((__format__(__scanf__, 2, 0)));
int waddch(WINDOW *, chtype);
int waddnstr(WINDOW *, const char *, int);
+int wattroff(WINDOW *, int);
int wattron(WINDOW *, int);
-int wattroff(WINDOW *, int);
int wattrset(WINDOW *, int);
int wbkgd(WINDOW *, chtype);
void wbkgdset(WINDOW *, chtype);
Home |
Main Index |
Thread Index |
Old Index