X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_sp_funcs.3x.html;h=8c7f3fb7713f296f03fb9e8be4288acb50821cff;hp=ab73bce4b765b1f4ceeab5a75d728505de7e174b;hb=02c4e383be9337e73a0e75844dfd1047745adb28;hpb=3a935d9991cdf43ebfa952073c9b555f73a3e011 diff --git a/doc/html/man/curs_sp_funcs.3x.html b/doc/html/man/curs_sp_funcs.3x.html index ab73bce4..8c7f3fb7 100644 --- a/doc/html/man/curs_sp_funcs.3x.html +++ b/doc/html/man/curs_sp_funcs.3x.html @@ -1,7 +1,6 @@ - +
+ +- -curs_sp_funcs(3x) curs_sp_funcs(3x) +curs_sp_funcs(3x) curs_sp_funcs(3x) --
- new_prescr - curses screen-pointer extension +
+ curs_sp_funcs - curses screen-pointer extension --
+
#include <curses.h> + int alloc_pair_sp(SCREEN*, int, int); int assume_default_colors_sp(SCREEN*, int, int); int baudrate_sp(SCREEN*); int beep_sp(SCREEN*); @@ -72,7 +71,12 @@ int echo_sp(SCREEN*); int endwin_sp(SCREEN*); int erasechar_sp(SCREEN*); + int extended_color_content_sp(SCREEN *, int, int *, int *, int *); + int extended_pair_content_sp(SCREEN*, int, int *, int *); + int extended_slk_color_sp(SCREEN*, int); int filter_sp(SCREEN*); + int find_pair_sp(SCREEN*, int, int); + int free_pair_sp(SCREEN*, int); int flash_sp(SCREEN*); int flushinp_sp(SCREEN*); int get_escdelay_sp(SCREEN*); @@ -85,6 +89,8 @@ int has_key_sp(SCREEN*, int); bool has_mouse_sp(SCREEN*); int init_color_sp(SCREEN*, short, short, short, short); + int init_extended_color_sp(SCREEN*, int, int, int, int); + int init_extended_pair_sp(SCREEN*, int, int, int); int init_pair_sp(SCREEN*, short, short, short); int intrflush_sp(SCREEN*, WINDOW*, bool); bool isendwin_sp(SCREEN*); @@ -94,6 +100,7 @@ NCURSES_CONST char * keyname_sp(SCREEN*, int); int keyok_sp(SCREEN*, int, bool); char killchar_sp(SCREEN*); + char* longname_sp(SCREEN*); int mcprint_sp(SCREEN*, char *, int); int mouseinterval_sp(SCREEN*, int); mmask_t mousemask_sp(SCREEN*, mmask_t, mmask_t *); @@ -101,7 +108,7 @@ int napms_sp(SCREEN*, int); WINDOW* newpad_sp(SCREEN*, int, int); SCREEN* new_prescr(void); - SCREEN* newterm_sp(SCREEN*, NCURSES_CONST char *, FILE *, FILE *); + SCREEN* newterm_sp(SCREEN*, const char *, FILE *, FILE *); WINDOW* newwin_sp(SCREEN*, int, int, int, int); int nl_sp(SCREEN*); int nocbreak_sp(SCREEN*); @@ -131,7 +138,7 @@ int slk_attron_sp(SCREEN*, const chtype); int slk_attr_set_sp(SCREEN*, const attr_t, short, void*); int slk_attrset_sp(SCREEN*, const chtype); - int slk_attr_sp((SCREEN*); + int slk_attr_sp(SCREEN*); int slk_clear_sp(SCREEN*); int slk_color_sp(SCREEN*, short); int slk_init_sp(SCREEN*, int); @@ -152,6 +159,7 @@ int unget_wch_sp(SCREEN*, const wchar_t); int use_default_colors_sp(SCREEN*); void use_env_sp(SCREEN*, bool); + void use_tioctl_sp (SCREEN *, bool) int use_legacy_coding_sp(SCREEN*, int); int vid_attr_sp(SCREEN*, attr_t, short, void *); int vidattr_sp(SCREEN*, chtype); @@ -179,105 +187,105 @@ int putp_sp(SCREEN*, const char *); int tgetflag_sp(SCREEN*, char *, const char *); int tgetent_sp(SCREEN*, char *, const char *); - int tgetnum_sp(SCREEN*, NCURSES_CONST char *); - char* tgetstr_sp(SCREEN*, NCURSES_CONST char *, char **); - int tigetflag_sp(SCREEN*, NCURSES_CONST char *); - int tigetnum_sp(SCREEN*, NCURSES_CONST char *); - char* tigetstr_sp(SCREEN*, NCURSES_CONST char *); + int tgetnum_sp(SCREEN*, const char *); + char* tgetstr_sp(SCREEN*, const char *, char **); + int tigetflag_sp(SCREEN*, const char *); + int tigetnum_sp(SCREEN*, const char *); + char* tigetstr_sp(SCREEN*, const char *); int tputs_sp(SCREEN*, const char *, int, NCURSES_SP_OUTC); --
- This implementation can be configured to provide a set of - functions which improve the ability to manage multiple - screens. This feature can be added to any of the configu- - rations supported by ncurses; it adds new entrypoints - without changing the meaning of any of the existing ones. - - IMPROVED FUNCTIONS - Most of the functions are new versions of existing func- - tions. A parameter is added at the front of the parameter - list. It is a SCREEN pointer. - - The existing functions all use the current screen, which - is a static variable. The extended functions use the - specified screen, thereby reducing the number of variables - which must be modified to update multiple screens. - - NEW FUNCTIONS +
+ This implementation can be configured to provide a set of functions + which improve the ability to manage multiple screens. This feature can + be added to any of the configurations supported by ncurses; it adds new + entrypoints without changing the meaning of any of the existing ones. + + +
+ Most of the functions are new versions of existing functions. A param- + eter is added at the front of the parameter list. It is a SCREEN + pointer. + + The existing functions all use the current screen, which is a static + variable. The extended functions use the specified screen, thereby re- + ducing the number of variables which must be modified to update multi- + ple screens. + + +
Here are the new functions: ceiling_panel - this returns a pointer to the topmost panel in the - given screen. + this returns a pointer to the topmost panel in the given screen. ground_panel - this returns a pointer to the lowest panel in the - given screen. + this returns a pointer to the lowest panel in the given screen. new_prescr - when creating a new screen, the library uses static - variables which have been preset, e.g., by - use_env(3x), filter(3x), etc. With the screen-point- - er extension, there are situations where it must cre- - ate a current screen before the unextended library - does. The new_prescr function is used internally to - handle these cases. It is also provided as an entry- - point to allow applications to customize the library - initialization. + when creating a new screen, the library uses static variables + which have been preset, e.g., by use_env(3x), filter(3x), etc. + With the screen-pointer extension, there are situations where it + must create a current screen before the unextended library does. + The new_prescr function is used internally to handle these cases. + It is also provided as an entrypoint to allow applications to cus- + tomize the library initialization. --
+
This extension introduces some new names: NCURSES_SP_FUNCS - This is set to the library patch-level number. In - the unextended library, this is zero (0), to make it - useful for checking if the extension is provided. + This is set to the library patch-level number. In the unextended + library, this is zero (0), to make it useful for checking if the + extension is provided. NCURSES_SP_NAME - The new functions are named using the macro NCURS- - ES_SP_NAME, which hides the actual implementation. - Currently this adds a "_sp" suffix to the name of the - unextended function. This manual page indexes the - extensions showing the full name. However the proper - usage of these functions uses the macro, to provide - for the possibility of changing the naming convention - for specific library configurations. + The new functions are named using the macro NCURSES_SP_NAME, which + hides the actual implementation. Currently this adds a "_sp" suf- + fix to the name of the unextended function. This manual page in- + dexes the extensions showing the full name. However the proper + usage of these functions uses the macro, to provide for the possi- + bility of changing the naming convention for specific library con- + figurations. NCURSES_SP_OUTC - This is a new function-pointer type to use in the - screen-pointer functions where an NCURSES_OUTC is - used in the unextended library. + This is a new function-pointer type to use in the screen-pointer + functions where an NCURSES_OUTC is used in the unextended library. NCURSES_OUTC - This is a function-pointer type used for the cases - where a function passes characters to the output - stream, e.g., vidputs(3x). + This is a function-pointer type used for the cases where a func- + tion passes characters to the output stream, e.g., vidputs(3x). --
- These routines are specific to ncurses. They were not - supported on Version 7, BSD or System V implementations. - It is recommended that any code depending on ncurses ex- - tensions be conditioned using NCURSES_SP_FUNCS. +
+ These routines are specific to ncurses. They were not supported on + Version 7, BSD or System V implementations. It is recommended that any + code depending on ncurses extensions be conditioned using NCURS- + ES_SP_FUNCS. --
+
curses(3x), curs_opaque(3x), curs_threads(3x). - curs_sp_funcs(3x) + curs_sp_funcs(3x)-