// * this is for making emacs happy: -*-Mode: C++;-*-
/****************************************************************************
- * Copyright (c) 1999 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2001,2002 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
****************************************************************************/
/****************************************************************************
- * Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1999 *
+ * Author: Juergen Pfeifer, 1999 *
+ * Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en *
****************************************************************************/
+#include "internal.h"
#include "etip.h"
#include "cursesw.h"
-#include "internal.h"
-MODULE_ID("$Id: cursespad.cc,v 1.2 1999/09/11 23:25:54 tom Exp $")
+MODULE_ID("$Id: cursespad.cc,v 1.6 2002/09/22 19:32:55 tom Exp $")
NCursesPad::NCursesPad(int lines, int cols)
: NCursesWindow(),
}
-int NCursesPad::driver (int key) {
+int NCursesPad::driver (int key)
+{
// Default implementation
switch(key) {
case KEY_UP:
}
-void NCursesPad::operator()(void) {
+void NCursesPad::operator()(void)
+{
NCursesWindow* W = Win();
if ((NCursesWindow*)0 != W) {
}
-int NCursesPad::refresh() {
+int NCursesPad::refresh()
+{
int res = noutrefresh();
if (res==OK && ((NCursesWindow*)0 != viewWin)) {
res = (viewWin->refresh());
return(res);
}
-int NCursesPad::noutrefresh() {
+int NCursesPad::noutrefresh()
+{
int res = OK;
NCursesWindow* W = Win();
if ((NCursesWindow*)0 != W) {
viewSub = ⊂
}
-void NCursesFramedPad::OnOperation(int pad_req) {
+void NCursesFramedPad::OnOperation(int pad_req)
+{
NCursesWindow* W = Win();
NCursesWindow* Win = getWindow();