X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fhtml%2Fman%2Fnew_pair.3x.html;h=515f982d7141e7788554690db16334597c83e99a;hb=42259b594b5dabd37fe2bc294051d2db82e873a2;hp=ffe64cac465f4debd73580792de165fb3695596a;hpb=ed646e3f683083e787c6ba773364401dc9fa9d40;p=ncurses.git diff --git a/doc/html/man/new_pair.3x.html b/doc/html/man/new_pair.3x.html index ffe64cac..515f982d 100644 --- a/doc/html/man/new_pair.3x.html +++ b/doc/html/man/new_pair.3x.html @@ -1,6 +1,7 @@
- +#include <curses.h> - int alloc_pair(int fg, int bg); - int find_pair(int fg, int bg); - int free_pair(int pair); + int alloc_pair(int fg, int bg); + int find_pair(int fg, int bg); + int free_pair(int pair);
@@ -81,12 +82,12 @@ tions, it is convenient to use the maximum number of combinations as the limit on color pairs: - COLORS * COLORS + COLORS * COLORS o Terminals which support default colors distinct from "ANSI colors" add to the possible combinations, producing this total: - ( COLORS + 1 ) * ( COLORS + 1 ) + ( COLORS + 1 ) * ( COLORS + 1 ) o An application might use up to a few dozen color pairs to implement a predefined color scheme. @@ -155,7 +156,7 @@
- init_pair(3x). + curs_color(3x).