[Aptitude-svn-commit] r3455 - in branches/aptitude-0.3/aptitude: . src/vscreen

Daniel Burrows dburrows@costa.debian.org
Sun, 26 Jun 2005 16:41:38 +0000


Author: dburrows
Date: Sun Jun 26 16:41:36 2005
New Revision: 3455

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/curses++.h
Log:
  Expose the wide character input functions of ncursesw.


Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sun Jun 26 16:41:36 2005
@@ -1,5 +1,9 @@
 2005-06-26  Daniel Burrows  <dburrows@debian.org>
 
+	* src/vscreen/curses++.h:
+
+	  Expose wget_wch and mvwget_wch as methods on cwindow.
+
 	* src/vscreen/vs_button.cc, src/vscreen/vs_button.h:
 
 	  Add a variant constructor for wstrings.

Modified: branches/aptitude-0.3/aptitude/src/vscreen/curses++.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/curses++.h	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/curses++.h	Sun Jun 26 16:41:36 2005
@@ -500,6 +500,9 @@
   int getch() {return wgetch(win);}
   int mvgetch(int y, int x) {return mvwgetch(win, y, x);}
 
+  int get_wch(wint_t *wch) {return wget_wch(win, wch);}
+  int mvget_wch(wint_t *wch) {return mvwget_wch(win, wch);}
+
   int move(int y, int x) {return wmove(win, y, x);}
   void getyx(int &y, int &x) {_getyx(win, y, x);}
   void getparyx(int &y, int &x) {_getparyx(win, y, x);}