]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - c++/cursesw.h
ncurses 5.6 - patch 20071117
[ncurses.git] / c++ / cursesw.h
index 217df6da2577953ebbed7ec69e966de885347758..170027b85d111505ab37d42e446c60069d4944f7 100644 (file)
 #ifndef NCURSES_CURSESW_H_incl
 #define NCURSES_CURSESW_H_incl 1
 
-// $Id: cursesw.h,v 1.42 2007/03/03 21:49:18 tom Exp $
-
-#include <stdarg.h>
-#include <stdio.h>
+// $Id: cursesw.h,v 1.45 2007/11/17 21:42:06 tom Exp $
 
 #include <etip.h>
 
@@ -741,7 +738,7 @@ protected:
   NCursesWindow();
 
 public:
-  NCursesWindow(WINDOW* &window);  // useful only for stdscr
+  NCursesWindow(WINDOW* window);   // useful only for stdscr
 
   NCursesWindow(int nlines,        // number of lines
                int ncols,         // number of columns
@@ -1217,6 +1214,14 @@ public:
   // dmaxrow,dmaxcol with the rectangle in this window beginning at
   // sminrow,smincol.
 
+  // -------------------------------------------------------------------------
+  // Extended functions
+  // -------------------------------------------------------------------------
+#ifdef NCURSES_EXT_FUNCS
+  int            wresize(NCursesWindow& win, int newLines, int newColumns) {
+    return ::wresize(win.w, newLines, newColumns); }
+#endif
+
   // -------------------------------------------------------------------------
   // Mouse related
   // -------------------------------------------------------------------------