summaryrefslogtreecommitdiff
path: root/panel/panel.h
diff options
context:
space:
mode:
Diffstat (limited to 'panel/panel.h')
-rw-r--r--panel/panel.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/panel/panel.h b/panel/panel.h
index 6ed2061..2eebe17 100644
--- a/panel/panel.h
+++ b/panel/panel.h
@@ -1,5 +1,6 @@
/****************************************************************************
- * Copyright (c) 1998-2006,2009 Free Software Foundation, Inc. *
+ * Copyright 2020 Thomas E. Dickey *
+ * Copyright 1998-2009,2017 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 *
@@ -32,7 +33,7 @@
* and: Juergen Pfeifer 1996-1999,2008 *
****************************************************************************/
-/* $Id: panel.h,v 1.11 2009/04/11 19:50:40 tom Exp $ */
+/* $Id: panel.h,v 1.13 2020/02/02 23:34:34 tom Exp $ */
/* panel.h -- interface file for panels library */
@@ -42,12 +43,15 @@
#include <curses.h>
typedef struct panel
+#if !NCURSES_OPAQUE_PANEL
{
WINDOW *win;
struct panel *below;
struct panel *above;
NCURSES_CONST void *user;
-} PANEL;
+}
+#endif /* !NCURSES_OPAQUE_PANEL */
+PANEL;
#if defined(__cplusplus)
extern "C" {