25 #define YUILogComponent "ncurses"
26 #include <yui/YUILog.h>
30 NCPopup::NCPopup(
const wpos at,
const bool boxed )
31 :
NCDialog( YPopupDialog, at, boxed )
41 void NCPopup::popupDialog()
47 while ( !( postevent = userInput() ) )
54 void NCPopup::popdownDialog()
63 return NCursesEvent::cancel;
65 return NCDialog::wHandleInput( ch );
77 while ( postAgain() );
82 *returnevent = postevent;
84 yuiDebug() <<
"Return event.detail: " << postevent.detail << std::endl;
86 return postevent.detail;