summaryrefslogtreecommitdiff
path: root/ext/ncurses/ncurses_fe.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-09-27 17:03:53 +0000
committerWez Furlong <wez@php.net>2002-09-27 17:03:53 +0000
commitdd6d22b6a103313aed54920f6927eb4439c3a493 (patch)
treede8237977032acba78fa268fc0c9bbeaedbd3f3b /ext/ncurses/ncurses_fe.c
parent69e677cda7dfa3c1b7b55aa8db5cfd247abc0a8f (diff)
downloadphp-git-dd6d22b6a103313aed54920f6927eb4439c3a493.tar.gz
Implement some more window routines, add pad functions.
Add panel functions when libpanel is also detected. Register STDSCR constant during ncurses_init().
Diffstat (limited to 'ext/ncurses/ncurses_fe.c')
-rw-r--r--ext/ncurses/ncurses_fe.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/ext/ncurses/ncurses_fe.c b/ext/ncurses/ncurses_fe.c
index 4c8fadf00b..c24dda4ec3 100644
--- a/ext/ncurses/ncurses_fe.c
+++ b/ext/ncurses/ncurses_fe.c
@@ -162,6 +162,31 @@ function_entry ncurses_functions[] = {
PHP_FE(ncurses_wgetch, NULL)
PHP_FE(ncurses_keypad, NULL)
PHP_FE(ncurses_wmove, NULL)
+
+ PHP_FE(ncurses_newpad, NULL)
+ PHP_FE(ncurses_prefresh, NULL)
+ PHP_FE(ncurses_pnoutrefresh, NULL)
+ PHP_FE(ncurses_wstandout, NULL)
+ PHP_FE(ncurses_wstandend, NULL)
+ PHP_FE(ncurses_wattrset, NULL)
+ PHP_FE(ncurses_wattron, NULL)
+ PHP_FE(ncurses_wattroff, NULL)
+
+#if HAVE_NCURSES_PANEL
+ PHP_FE(ncurses_update_panels, NULL)
+ PHP_FE(ncurses_panel_window, NULL)
+ PHP_FE(ncurses_panel_below, NULL)
+ PHP_FE(ncurses_panel_above, NULL)
+ PHP_FE(ncurses_replace_panel, NULL)
+ PHP_FE(ncurses_move_panel, NULL)
+ PHP_FE(ncurses_bottom_panel, NULL)
+ PHP_FE(ncurses_top_panel, NULL)
+ PHP_FE(ncurses_show_panel, NULL)
+ PHP_FE(ncurses_hide_panel, NULL)
+ PHP_FE(ncurses_del_panel, NULL)
+ PHP_FE(ncurses_new_panel, NULL)
+#endif
+
{NULL, NULL, NULL} /* Must be the last line in ncurses_functions[] */
};